Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported GNU version! gcc 4.9 and up are not supported! #155

Open
MikeyCarter opened this issue Jan 11, 2016 · 2 comments
Open

unsupported GNU version! gcc 4.9 and up are not supported! #155

MikeyCarter opened this issue Jan 11, 2016 · 2 comments

Comments

@MikeyCarter
Copy link

Trying to recompile everything for Fedora 23.

/usr/local/cuda-5.5//bin/..//include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.9 and up are not supported!

# gcc --version
gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2)
Copyright (C) 2015 Free Software Foundation, Inc.

See from my mirrors there is a cuda 7.5:

cuda-cli-tools.x86_64      7.5.18-2.fc23  negativo17-nvidia
cuda-devel.x86_64          7.5.18-2.fc23  negativo17-nvidia
cuda-docs.noarch           7.5.18-2.fc23  negativo17-nvidia
cuda-extra-libs.x86_64     7.5.18-2.fc23  negativo17-nvidia
cuda-libs.x86_64           7.5.18-2.fc23  negativo17-nvidia
cuda-nsight.x86_64         7.5.18-2.fc23  negativo17-nvidia
cuda-nvvp.x86_64           7.5.18-2.fc23  negativo17-nvidia
cuda-samples.noarch        7.5.18-2.fc23  negativo17-nvidia
cuda-static.x86_64         7.5.18-2.fc23  negativo17-nvidia
cuda.src                   7.5.18-2.fc23  negativo17-nvidia
cuda.x86_64                7.5.18-2.fc23  negativo17-nvidia

Any chance we can get cuda 7.5 support?

@iioel
Copy link

iioel commented May 11, 2016

@MikeyCarter Just do :
sudo apt-get install gcc-4.8 g++-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50

@minzak
Copy link

minzak commented Mar 18, 2018

apt-get install gcc-4.8 g++-4.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package g++-4.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.8' has no installation candidate
E: Package 'g++-4.8' has no installation candidate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants