-
Notifications
You must be signed in to change notification settings - Fork 812
Ubuntu 16.04: unsupported GNU version! gcc versions later than 4.9 are not supported!
#246
Comments
Following http://stackoverflow.com/questions/6622454/cuda-incompatible-with-my-gcc-version#comment56532695_8693381 I did
... to solve this. |
Slightly nicer and more Ubuntuish would be to use:
|
@tambetm You also need sudo update-alternatives --install then : http://askubuntu.com/a/26518/346907 , also having multiple versions of gcc with update-alternatives isn't considered a good option ( why: http://askubuntu.com/a/26500/346907 ). |
This is a system level modification, and may come back to bite you later. For example, what happens if you build a project that has c++ linkings to a system installed library? My change:
|
In case @hughperkins solution does not work for some of you sitting on Archlinux or Manjaro. You should create links to Manjaro users should also add the following condition to # If we're on Manjaro linux, use gcc v49
if [[ `uname -a` == *"MANJARO"* ]]; then
path_to_gcc49=$(which gcc-4.9)
if [ -x "$path_to_gcc49" ]; then
export CC="$path_to_gcc49"
else
echo "Warning: GCC v4.9 not found. CUDA v8 is incompatible with GCC v6, if installation fails, consider running \$ pacman -S gcc49"
fi
fi |
@hughperkins I do this:
☁ build [master] ⚡ gcc --version
☁ build [master] ⚡ g++ --version
☁ build [master] ⚡ make
ooooh no... |
I meet this problem ,and I sloved it just by uninstall old gcc,and reinstall a gcc with verison of 4.9: |
Error: No results matching query were found. how can i fix this issue ?? i am using ubantu 18+ |
This solved my problem:
|
I do not have an admin permission, any solutions? |
Ubuntu 16.04:
unsupported GNU version! gcc versions later than 4.9 are not supported!
I have gcc4.9 installed. In Torch, I can select gcc4.9 by doing:
Unclear how to do this for Neon?
The text was updated successfully, but these errors were encountered: