Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 440664 Details for
Bug 579090
sys-devel/llvm-3.7.1-r1 CMake Error at cmake/modules/CheckAtomic.cmake:33 (message): Host compiler must support std::atomic!
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/plain), 10.13 KB, created by
Martin Mokrejš
on 2016-07-14 09:59:50 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2016-07-14 09:59:50 UTC
Size:
10.13 KB
patch
obsolete
>Determining if the include file malloc/malloc.h exists failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_e7986" >[1/2] Building C object CMakeFiles/cmTC_e7986.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_e7986.dir/CheckIncludeFile.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_e7986.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:27: error: malloc/malloc.h: No such file or directory >ninja: build stopped: subcommand failed. > > >Determining if the include file ndir.h exists failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_402db" >[1/2] Building C object CMakeFiles/cmTC_402db.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_402db.dir/CheckIncludeFile.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_402db.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:18: error: ndir.h: No such file or directory >ninja: build stopped: subcommand failed. > > >Determining if the include file sys/ndir.h exists failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_345f0" >[1/2] Building C object CMakeFiles/cmTC_345f0.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_345f0.dir/CheckIncludeFile.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_345f0.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:22: error: sys/ndir.h: No such file or directory >ninja: build stopped: subcommand failed. > > >Determining if the include file mach/mach.h exists failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_77d31" >[1/2] Building C object CMakeFiles/cmTC_77d31.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_77d31.dir/CheckIncludeFile.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_77d31.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:23: error: mach/mach.h: No such file or directory >ninja: build stopped: subcommand failed. > > >Determining if the include file mach-o/dyld.h exists failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_f3f0b" >[1/2] Building C object CMakeFiles/cmTC_f3f0b.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_f3f0b.dir/CheckIncludeFile.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_f3f0b.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:25: error: mach-o/dyld.h: No such file or directory >ninja: build stopped: subcommand failed. > > >Determining if the arc4random exist failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_a0b83" >[1/2] Building C object CMakeFiles/cmTC_a0b83.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_a0b83.dir/CheckSymbolExists.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_a0b83.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c: In function 'main': >CheckSymbolExists.c:8: error: 'arc4random' undeclared (first use in this function) >CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once >CheckSymbolExists.c:8: error: for each function it appears in.) >ninja: build stopped: subcommand failed. > >File /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <stdlib.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef arc4random > return ((int*)(&arc4random))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Determining if the mallctl exist failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_9e1f0" >[1/2] Building C object CMakeFiles/cmTC_9e1f0.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_9e1f0.dir/CheckSymbolExists.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_9e1f0.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c:2:23: error: malloc_np.h: No such file or directory >CheckSymbolExists.c: In function 'main': >CheckSymbolExists.c:8: error: 'mallctl' undeclared (first use in this function) >CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once >CheckSymbolExists.c:8: error: for each function it appears in.) >ninja: build stopped: subcommand failed. > >File /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <malloc_np.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef mallctl > return ((int*)(&mallctl))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Determining if the malloc_zone_statistics exist failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_24a80" >[1/2] Building C object CMakeFiles/cmTC_24a80.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_24a80.dir/CheckSymbolExists.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_24a80.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c:2:27: error: malloc/malloc.h: No such file or directory >CheckSymbolExists.c: In function 'main': >CheckSymbolExists.c:8: error: 'malloc_zone_statistics' undeclared (first use in this function) >CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once >CheckSymbolExists.c:8: error: for each function it appears in.) >ninja: build stopped: subcommand failed. > >File /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <malloc/malloc.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef malloc_zone_statistics > return ((int*)(&malloc_zone_statistics))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Determining if the strerror_s exist failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_cc09e" >[1/2] Building C object CMakeFiles/cmTC_cc09e.dir/CheckSymbolExists.c.o >FAILED: CMakeFiles/cmTC_cc09e.dir/CheckSymbolExists.c.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -O2 -pipe -march=native -o CMakeFiles/cmTC_cc09e.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c >CheckSymbolExists.c: In function 'main': >CheckSymbolExists.c:8: error: 'strerror_s' undeclared (first use in this function) >CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once >CheckSymbolExists.c:8: error: for each function it appears in.) >ninja: build stopped: subcommand failed. > >File /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c: >/* */ >#include <string.h> > >int main(int argc, char** argv) >{ > (void)argv; >#ifndef strerror_s > return ((int*)(&strerror_s))[argc]; >#else > (void)argc; > return 0; >#endif >} > >Performing C++ SOURCE FILE Test HAVE_CXX_ATOMICS_WITHOUT_LIB failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_fcdc4" >[1/2] Building CXX object CMakeFiles/cmTC_fcdc4.dir/src.cxx.o >FAILED: CMakeFiles/cmTC_fcdc4.dir/src.cxx.o >/scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -O2 -pipe -O2 -pipe -march=native -DHAVE_CXX_ATOMICS_WITHOUT_LIB -std=c++11 -o CMakeFiles/cmTC_fcdc4.dir/src.cxx.o -c src.cxx >cc1plus: error: unrecognized command line option "-std=c++11" >ninja: build stopped: subcommand failed. > >Source file was: > >#include <atomic> >std::atomic<int> x; >int main() { > return x; >} > >Determining if the function __atomic_fetch_add_4 exists in the atomic failed with the following output: >Change Dir: /scratch/mmokrejs/gentoo/var/tmp/portage/sys-devel/llvm-3.7.1-r3/work/llvm-3.7.1.src-abi_x86_64.amd64/CMakeFiles/CMakeTmp > >Run Build Command:"/scratch/mmokrejs/gentoo/usr/bin/ninja" "cmTC_d19ab" >[1/2] Building C object CMakeFiles/cmTC_d19ab.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_d19ab >FAILED: cmTC_d19ab >: && /scratch/mmokrejs/gentoo/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_4 -Wl,-O1 CMakeFiles/cmTC_d19ab.dir/CheckFunctionExists.c.o -o cmTC_d19ab -rdynamic -latomic -lm -Wl,-rpath,/scratch/mmokrejs/gentoo/usr/x86_64-pc-linux-gnu/lib/gcc:/scratch/mmokrejs/gentoo/usr/x86_64-pc-linux-gnu/lib:/scratch/mmokrejs/gentoo/usr/lib:/scratch/mmokrejs/gentoo/lib && : >ld: cannot find -latomic >collect2: ld returned 1 exit status >ninja: build stopped: subcommand failed. > >
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 579090
:
429680
|
429682
|
440662
| 440664 |
440666