-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
install failed #1111
Comments
The error message above is "#error -- unsupported GNU version! gcc versions later than 6 are not supported!" so I guess installing an older version of gcc should help. With Arch this would probably be resolved by building/installing a version from the AUR (using yaourt should make this quite easy). |
This has already been answered and you can find the answer via github issues.
|
And don't forget to |
so torch is really old fashioned staff |
hi everyone,i am kind of new in torch.i am using Manjaro(arch),when i follow the instruction to install torch,it fails.what can i do
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /opt/cuda/include/host_config.h:50:0,
from /opt/cuda/include/cuda_runtime.h:78,
from :0:
/opt/cuda/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
CMake Error at THC_generated_THCBlas.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o
CMake Error at THC_generated_THCSleep.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:72: lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:79: lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o] Error 1
CMake Error at THC_generated_THCStorageCopy.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:93: lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o] Error 1
CMake Error at THC_generated_THCReduceApplyUtils.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:65: lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o] Error 1
CMake Error at THC_generated_THCTensor.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensor.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:100: lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o] Error 1
CMake Error at THC_generated_THCTensorCopy.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:107: lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1
CMake Error at THC_generated_THCHalf.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCHalf.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:562: lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o] Error 1
CMake Error at THC_generated_THCStorage.cu.o.cmake:207 (message):
Error generating
/home/suice07/torch/extra/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/build.make:86: lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:172: lib/THC/CMakeFiles/THC.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Error: Build error: Failed building.
The text was updated successfully, but these errors were encountered: