Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 451766 Details for
Bug 598250
dev-util/nvidia-cuda-sdk: fails to build with -Wl,--as-needed in CFLAGS/CXXFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/x-log), 12.65 KB, created by
Jan Ziak (atomsymbol)
on 2016-10-28 15:56:48 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Jan Ziak (atomsymbol)
Created:
2016-10-28 15:56:48 UTC
Size:
12.65 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-util/nvidia-cuda-sdk-8.0.44 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: sci@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 cuda doc elibc_glibc examples kernel_linux opencl userland_GNU >[32;01m * [39;49;00mFEATURES: ccache nostrip preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking cuda_8.0.44_linux.run to /var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work >110585+1 records in >2845839+1 records out >1457069750 bytes (1.5 GB) copied, 10.9638 s, 133 MB/s >>>> Unpacking cuda-samples-linux-8.0.44-21122537.run to /var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work >10150+1 records in >197312+1 records out >101023883 bytes (101 MB) copied, 2.36502 s, 42.7 MB/s >>>> Source unpacked in /var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work >>>> Preparing source in /var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples ... >make -j4 cuda-install=/opt/cuda CUDA_PATH=/opt/cuda/ MPI_GCC=10 verbose=1 >make[1]: Entering directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleLayeredTexture' >make[1]: Entering directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleTexture' >make[1]: Entering directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleSeparateCompilation' >make[1]: Entering directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleZeroCopy' >/opt/cuda/bin/nvcc -I../../common/inc -O2 -v --compiler-bindir="/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3" --compiler-options="-fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl,--as-needed" --linker-options="-O1,--as-needed,--as-needed,--hash-style=gnu" -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleLayeredTexture.o -c simpleLayeredTexture.cu >/opt/cuda/bin/nvcc -I../../common/inc -O2 -v --compiler-bindir="/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3" --compiler-options="-fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl,--as-needed" --linker-options="-O1,--as-needed,--as-needed,--hash-style=gnu" -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleTexture.o -c simpleTexture.cu >/opt/cuda/bin/nvcc -I../../common/inc -O2 -v --compiler-bindir="/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3" --compiler-options="-fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl,--as-needed" --linker-options="-O1,--as-needed,--as-needed,--hash-style=gnu" -m64 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleZeroCopy.o -c simpleZeroCopy.cu >/opt/cuda/bin/nvcc -I../../common/inc -O2 -v --compiler-bindir="/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3" --compiler-options="-fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl,--as-needed" --linker-options="-O1,--as-needed,--as-needed,--hash-style=gnu" -m64 -dc -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_37,code=sm_37 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_60,code=compute_60 -o simpleDeviceLibrary.o -c simpleDeviceLibrary.cu >nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). >nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). >nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). >nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). >#$ _SPACE_= >#$ _CUDART_=cudart >#$ _HERE_=/opt/cuda/bin >#$ _THERE_=/opt/cuda/bin >#$ _TARGET_SIZE_= >#$ _TARGET_DIR_= >#$ _TARGET_SIZE_=64 >#$ TOP=/opt/cuda/bin/.. >#$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice >#$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib: >#$ PATH=/opt/cuda/bin/../open64/bin:/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/lib64/ccache/bin:/usr/lib/portage/pypy/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.2.0:/opt/cuda/bin:/opt/ekopath/bin >#$ INCLUDES="-I/opt/cuda/bin/..//include" >#$ LIBRARIES= "-L/opt/cuda/bin/..//lib64/stubs" "-L/opt/cuda/bin/..//lib64" >#$ CUDAFE_FLAGS= >#$ PTXAS_FLAGS= >#$ "/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3"/gcc -D__CUDA_ARCH__=600 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl --as-needed -O2 -I"../../common/inc" "-I/opt/cuda/bin/..//include" -D"__CUDACC_VER__=80044" -D"__CUDACC_VER_BUILD__=44" -D"__CUDACC_VER_MINOR__=0" -D"__CUDACC_VER_MAJOR__=8" -include "cuda_runtime.h" -m64 "simpleLayeredTexture.cu" > "/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/temp/tmpxft_00004f4e_00000000-19_simpleLayeredTexture.compute_60.cpp1.ii" >#$ _SPACE_= >#$ _CUDART_=cudart >#$ _HERE_=/opt/cuda/bin >#$ _THERE_=/opt/cuda/bin >#$ _TARGET_SIZE_= >#$ _TARGET_DIR_= >#$ _TARGET_SIZE_=64 >#$ TOP=/opt/cuda/bin/.. >#$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice >#$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib: >#$ PATH=/opt/cuda/bin/../open64/bin:/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/lib64/ccache/bin:/usr/lib/portage/pypy/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.2.0:/opt/cuda/bin:/opt/ekopath/bin >#$ INCLUDES="-I/opt/cuda/bin/..//include" >#$ LIBRARIES= "-L/opt/cuda/bin/..//lib64/stubs" "-L/opt/cuda/bin/..//lib64" >#$ CUDAFE_FLAGS= >#$ PTXAS_FLAGS= >#$ "/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3"/gcc -D__CUDA_ARCH__=600 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl --as-needed -O2 -I"../../common/inc" "-I/opt/cuda/bin/..//include" -D"__CUDACC_VER__=80044" -D"__CUDACC_VER_BUILD__=44" -D"__CUDACC_VER_MINOR__=0" -D"__CUDACC_VER_MAJOR__=8" -include "cuda_runtime.h" -m64 "simpleZeroCopy.cu" > "/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/temp/tmpxft_00004f57_00000000-19_simpleZeroCopy.compute_60.cpp1.ii" >gcc: error: unrecognized command line option '-Wl' >gcc: error: unrecognized command line option '--as-needed' ># --error 0x1 -- >#$ _SPACE_= >#$ _CUDART_=cudart >#$ _HERE_=/opt/cuda/bin >#$ _THERE_=/opt/cuda/bin >#$ _TARGET_SIZE_= >#$ _TARGET_DIR_= >#$ _TARGET_SIZE_=64 >#$ TOP=/opt/cuda/bin/.. >#$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice >#$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib: >#$ PATH=/opt/cuda/bin/../open64/bin:/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/lib64/ccache/bin:/usr/lib/portage/pypy/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.2.0:/opt/cuda/bin:/opt/ekopath/bin >#$ INCLUDES="-I/opt/cuda/bin/..//include" >#$ LIBRARIES= "-L/opt/cuda/bin/..//lib64/stubs" "-L/opt/cuda/bin/..//lib64" >#$ CUDAFE_FLAGS= >#$ PTXAS_FLAGS= >make[1]: *** [Makefile:250: simpleLayeredTexture.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleLayeredTexture' >#$ "/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3"/gcc -D__CUDA_ARCH__=600 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl --as-needed -O2 -I"../../common/inc" "-I/opt/cuda/bin/..//include" -D"__CUDACC_VER__=80044" -D"__CUDACC_VER_BUILD__=44" -D"__CUDACC_VER_MINOR__=0" -D"__CUDACC_VER_MAJOR__=8" -include "cuda_runtime.h" -m64 "simpleTexture.cu" > "/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/temp/tmpxft_00004f58_00000000-19_simpleTexture.compute_60.cpp1.ii" >make: *** [Makefile:52: 0_Simple/simpleLayeredTexture/Makefile.ph_build] Error 2 >make: *** Waiting for unfinished jobs.... >#$ _SPACE_= >#$ _CUDART_=cudart >#$ _HERE_=/opt/cuda/bin >#$ _THERE_=/opt/cuda/bin >#$ _TARGET_SIZE_= >#$ _TARGET_DIR_= >#$ _TARGET_SIZE_=64 >#$ TOP=/opt/cuda/bin/.. >#$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice >#$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib: >#$ PATH=/opt/cuda/bin/../open64/bin:/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/lib64/ccache/bin:/usr/lib/portage/pypy/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.2.0:/opt/cuda/bin:/opt/ekopath/bin >#$ INCLUDES="-I/opt/cuda/bin/..//include" >#$ LIBRARIES= "-L/opt/cuda/bin/..//lib64/stubs" "-L/opt/cuda/bin/..//lib64" >#$ CUDAFE_FLAGS= >#$ PTXAS_FLAGS= >#$ "/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3"/gcc -D__CUDA_ARCH__=600 -E -x c++ -DCUDA_DOUBLE_MATH_FUNCTIONS -D__CUDACC__ -D__NVCC__ -D__CUDACC_RDC__ -fuse-linker-plugin -mtune=bdver3 -O2 -fdiagnostics-color=always -fexcess-precision=fast -fno-omit-frame-pointer -fno-stack-protector -Wl --as-needed -O2 -I"../../common/inc" "-I/opt/cuda/bin/..//include" -D"__CUDACC_VER__=80044" -D"__CUDACC_VER_BUILD__=44" -D"__CUDACC_VER_MINOR__=0" -D"__CUDACC_VER_MAJOR__=8" -include "cuda_runtime.h" -m64 "simpleDeviceLibrary.cu" > "/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/temp/tmpxft_00004f5a_00000000-19_simpleDeviceLibrary.compute_60.cpp1.ii" >gcc: error: unrecognized command line option '-Wl' >gcc: error: unrecognized command line option '--as-needed' >gcc: error: unrecognized command line option '-Wl' >gcc: error: unrecognized command line option '--as-needed' ># --error 0x1 -- ># --error 0x1 -- >gcc: error: unrecognized command line option '-Wl' >gcc: error: unrecognized command line option '--as-needed' >make[1]: *** [Makefile:250: simpleZeroCopy.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleZeroCopy' ># --error 0x1 -- >make: *** [Makefile:52: 0_Simple/simpleZeroCopy/Makefile.ph_build] Error 2 >make[1]: *** [Makefile:250: simpleTexture.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleTexture' >make: *** [Makefile:52: 0_Simple/simpleTexture/Makefile.ph_build] Error 2 >make[1]: *** [Makefile:252: simpleDeviceLibrary.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples/0_Simple/simpleSeparateCompilation' >make: *** [Makefile:52: 0_Simple/simpleSeparateCompilation/Makefile.ph_build] Error 2 > [31;01m*[0m ERROR: dev-util/nvidia-cuda-sdk-8.0.44::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-util/nvidia-cuda-sdk-8.0.44::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-util/nvidia-cuda-sdk-8.0.44::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/dev-util:nvidia-cuda-sdk-8.0.44:20161028-155428.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples' > [31;01m*[0m S: '/var/tmp/portage/dev-util/nvidia-cuda-sdk-8.0.44/work/samples'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 598250
: 451766 |
451836