[llvm-bugs] [Bug 40228] New: Target runtimes-clobber — not passing paths to /usr/local/bin/ld where to find crtbegin.o
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 4 10:49:34 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40228
Bug ID: 40228
Summary: Target runtimes-clobber — not passing paths to
/usr/local/bin/ld where to find crtbegin.o
Product: new-bugs
Version: 7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dilyan.palauzov at aegee.org
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
Building llvm/clang/lld fails with:
[100%] Built target runtimes-clobber
[100%] Performing configure step for 'runtimes'
-- Linker detection: GNU ld
CMake Warning at
/src/llvm/llvm-7.0.1.src/cmake/modules/HandleLLVMOptions.cmake:186 (message):
-fPIC is not supported.
Call Stack (most recent call first):
/src/llvm/llvm-7.0.1.src/cmake/modules/HandleLLVMOptions.cmake:217
(add_flag_or_print_warning)
CMakeLists.txt:118 (include)
CMake Error at
/src/llvm/llvm-7.0.1.src/cmake/modules/HandleLLVMOptions.cmake:430 (message):
LLVM requires C++11 support but the '-std=c++11' flag isn't supported.
Call Stack (most recent call first):
CMakeLists.txt:118 (include)
-- Configuring incomplete, errors occurred!
See also
"/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeOutput.log".
See also "/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeError.log".
make[2]: *** [runtimes/CMakeFiles/runtimes.dir/build.make:106:
runtimes/runtimes-stamps/runtimes-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:97357: runtimes/CMakeFiles/runtimes.dir/all]
Error 2
make: *** [Makefile:152: all] Error 2
When gcc invokes ld, it passes the paths to crtbegin.o to ld. I use ld.bfd
2.31.51.20190103. On my system, crtbegin.o is in the cfe-7.0.1.src/test/Driver
folders and under /usr/local/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbegin.o and
/usr/local/lib/gcc/x86_64-pc-linux-gnu/7.4.1/crtbegin.o.
The content of
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeOutput.log is:
The system is: Linux - 4.14.90 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c"
succeeded.
Compiler: /src/llvm/build701/./bin/clang
Build flags:
Id flags: -c
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c"
produced "CMakeCCompilerId.o"
The C compiler identification is Clang, found in
"/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/3.13.1/CompilerIdC/CMakeCCompilerId.o"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp"
succeeded.
Compiler: /src/llvm/build701/./bin/clang++
Build flags:
Id flags: -c
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp"
produced "CMakeCXXCompilerId.o"
The CXX compiler identification is Clang, found in
"/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/3.13.1/CompilerIdCXX/CMakeCXXCompilerId.o"
Checking whether the ASM compiler is Clang using "--version" matched "(clang
version)":
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /src/llvm/build701/./bin
And the content of
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeError.log is:
Compiling the C compiler identification source file "CMakeCCompilerId.c"
failed.
Compiler: /src/llvm/build701/./bin/clang
Build flags:
Id flags:
The output was:
1
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp"
failed.
Compiler: /src/llvm/build701/./bin/clang++
Build flags:
Id flags:
The output was:
1
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
Checking whether the ASM compiler is GNU using "--version" did not match "(GNU
assembler)|(GCC)|(Free Software Foundation)":
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /src/llvm/build701/./bin
Detecting C compiler ABI info failed to compile with the following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_70f3e/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_70f3e.dir/build.make
CMakeFiles/cmTC_70f3e.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_70f3e.dir/CMakeCCompilerABI.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu -o
CMakeFiles/cmTC_70f3e.dir/CMakeCCompilerABI.c.o -c
/usr/local/share/cmake-3.13/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_70f3e
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_70f3e.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu -v
CMakeFiles/cmTC_70f3e.dir/CMakeCCompilerABI.c.o -o cmTC_70f3e
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /src/llvm/build701/./bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
"/usr/local/bin/ld" --hash-style=both --eh-frame-hdr -m elf_x86_64
-dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_70f3e
/usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o crtbegin.o
-L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
-L/usr/lib/../lib64 -L/src/llvm/build701/bin/../lib -L/lib -L/usr/lib
CMakeFiles/cmTC_70f3e.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s
--no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed crtend.o
/usr/lib/../lib64/crtn.o
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_70f3e.dir/build.make:87: cmTC_70f3e] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_70f3e/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Detecting C [-std=c11] compiler features failed to compile with the following
output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_64a46/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_64a46.dir/build.make
CMakeFiles/cmTC_64a46.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_64a46.dir/feature_tests.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu -std=c11 -o
CMakeFiles/cmTC_64a46.dir/feature_tests.c.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/feature_tests.c
Linking C executable cmTC_64a46
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_64a46.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
CMakeFiles/cmTC_64a46.dir/feature_tests.c.o -o cmTC_64a46
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_64a46.dir/build.make:87: cmTC_64a46] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_64a46/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info failed to compile with the following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_d09e2/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_d09e2.dir/build.make
CMakeFiles/cmTC_d09e2.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d09e2.dir/CMakeCXXCompilerABI.cpp.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu -o
CMakeFiles/cmTC_d09e2.dir/CMakeCXXCompilerABI.cpp.o -c
/usr/local/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_d09e2
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d09e2.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu -v
CMakeFiles/cmTC_d09e2.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_d09e2
clang version 7.0.1 (tags/RELEASE_701/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /src/llvm/build701/./bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
"/usr/local/bin/ld" --hash-style=both --eh-frame-hdr -m elf_x86_64
-dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_d09e2
/usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o crtbegin.o
-L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu
-L/usr/lib/../lib64 -L/src/llvm/build701/bin/../lib -L/lib -L/usr/lib
CMakeFiles/cmTC_d09e2.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc
-lc -lgcc_s -lgcc crtend.o /usr/lib/../lib64/crtn.o
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_d09e2.dir/build.make:87: cmTC_d09e2] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_d09e2/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Detecting CXX [-std=c++2a] compiler features failed to compile with the
following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_c55ba/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_c55ba.dir/build.make
CMakeFiles/cmTC_c55ba.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c55ba.dir/feature_tests.cxx.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-std=c++2a -o CMakeFiles/cmTC_c55ba.dir/feature_tests.cxx.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c55ba
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c55ba.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
CMakeFiles/cmTC_c55ba.dir/feature_tests.cxx.o -o cmTC_c55ba
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_c55ba.dir/build.make:87: cmTC_c55ba] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_c55ba/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Determining if the function fopen exists in the c failed with the following
output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_0f461/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_0f461.dir/build.make
CMakeFiles/cmTC_0f461.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0f461.dir/CheckFunctionExists.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DCHECK_FUNCTION_EXISTS=fopen -o
CMakeFiles/cmTC_0f461.dir/CheckFunctionExists.c.o -c
/usr/local/share/cmake-3.13/Modules/CheckFunctionExists.c
/usr/local/share/cmake-3.13/Modules/CheckFunctionExists.c:7:3: warning:
declaration of built-in function 'fopen' requires inclusion of the header
<stdio.h> [-Wbuiltin-requires-header]
CHECK_FUNCTION_EXISTS(void);
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS fopen
^
1 warning generated.
Linking C executable cmTC_0f461
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f461.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DCHECK_FUNCTION_EXISTS=fopen
CMakeFiles/cmTC_0f461.dir/CheckFunctionExists.c.o -o cmTC_0f461 -lc
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_0f461.dir/build.make:87: cmTC_0f461] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_0f461/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Performing C SOURCE FILE Test LLVM_HAS_NODEFAULTLIBS_FLAG failed with the
following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_19780/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_19780.dir/build.make
CMakeFiles/cmTC_19780.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_19780.dir/src.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DLLVM_HAS_NODEFAULTLIBS_FLAG -nodefaultlibs -o
CMakeFiles/cmTC_19780.dir/src.c.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_19780
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19780.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DLLVM_HAS_NODEFAULTLIBS_FLAG CMakeFiles/cmTC_19780.dir/src.c.o -o
cmTC_19780
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_19780.dir/build.make:87: cmTC_19780] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_19780/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main(void) { return 0; }
Performing C SOURCE FILE Test C_SUPPORTS_FPIC failed with the following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_96407/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_96407.dir/build.make
CMakeFiles/cmTC_96407.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_96407.dir/src.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DC_SUPPORTS_FPIC -Werror -fPIC -o CMakeFiles/cmTC_96407.dir/src.c.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_96407
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96407.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DC_SUPPORTS_FPIC CMakeFiles/cmTC_96407.dir/src.c.o -o cmTC_96407
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_96407.dir/build.make:87: cmTC_96407] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_96407/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_SUPPORTS_FPIC failed with the following
output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_515f2/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_515f2.dir/build.make
CMakeFiles/cmTC_515f2.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_515f2.dir/src.cxx.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_FPIC -Werror -fPIC -o CMakeFiles/cmTC_515f2.dir/src.cxx.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_515f2
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_515f2.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_FPIC CMakeFiles/cmTC_515f2.dir/src.cxx.o -o cmTC_515f2
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_515f2.dir/build.make:87: cmTC_515f2] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_515f2/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG failed
with the following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_40cf1/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_40cf1.dir/build.make
CMakeFiles/cmTC_40cf1.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_40cf1.dir/src.cxx.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DSUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -fvisibility-inlines-hidden -o
CMakeFiles/cmTC_40cf1.dir/src.cxx.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_40cf1
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_40cf1.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DSUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
CMakeFiles/cmTC_40cf1.dir/src.cxx.o -o cmTC_40cf1
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_40cf1.dir/build.make:87: cmTC_40cf1] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_40cf1/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test C_SUPPORTS_WERROR_DATE_TIME failed with the
following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_94c15/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_94c15.dir/build.make
CMakeFiles/cmTC_94c15.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_94c15.dir/src.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DC_SUPPORTS_WERROR_DATE_TIME -Werror -Werror=date-time -o
CMakeFiles/cmTC_94c15.dir/src.c.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_94c15
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_94c15.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DC_SUPPORTS_WERROR_DATE_TIME CMakeFiles/cmTC_94c15.dir/src.c.o -o
cmTC_94c15
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_94c15.dir/build.make:87: cmTC_94c15] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_94c15/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_SUPPORTS_WERROR_DATE_TIME failed with the
following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_2750a/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_2750a.dir/build.make
CMakeFiles/cmTC_2750a.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_2750a.dir/src.cxx.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_WERROR_DATE_TIME -Werror -Werror=date-time -o
CMakeFiles/cmTC_2750a.dir/src.cxx.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_2750a
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2750a.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_WERROR_DATE_TIME CMakeFiles/cmTC_2750a.dir/src.cxx.o -o
cmTC_2750a
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_2750a.dir/build.make:87: cmTC_2750a] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_2750a/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
Performing C SOURCE FILE Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
failed with the following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_43243/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_43243.dir/build.make
CMakeFiles/cmTC_43243.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_43243.dir/src.c.o
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DC_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -Werror
-Werror=unguarded-availability-new -o CMakeFiles/cmTC_43243.dir/src.c.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_43243
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_43243.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang --target=x86_64-unknown-linux-gnu
-DC_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
CMakeFiles/cmTC_43243.dir/src.c.o -o cmTC_43243
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/local/bin/ld: cannot find -lgcc
/usr/local/bin/ld: cannot find -lgcc
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_43243.dir/build.make:87: cmTC_43243] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_43243/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main(void) { return 0; }
Performing C++ SOURCE FILE Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
failed with the following output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_c9352/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_c9352.dir/build.make
CMakeFiles/cmTC_c9352.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c9352.dir/src.cxx.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -Werror
-Werror=unguarded-availability-new -o CMakeFiles/cmTC_c9352.dir/src.cxx.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_c9352
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c9352.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
CMakeFiles/cmTC_c9352.dir/src.cxx.o -o cmTC_c9352
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_c9352.dir/build.make:87: cmTC_c9352] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_c9352/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test CXX_SUPPORTS_CXX11 failed with the following
output:
Change Dir: /src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/bin/make" "cmTC_16dac/fast"
make[3]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
/usr/local/bin/make -f CMakeFiles/cmTC_16dac.dir/build.make
CMakeFiles/cmTC_16dac.dir/build
make[4]: Entering directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_16dac.dir/src.cxx.o
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_CXX11 -std=c++11 -o CMakeFiles/cmTC_16dac.dir/src.cxx.o -c
/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_16dac
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16dac.dir/link.txt
--verbose=1
/src/llvm/build701/./bin/clang++ --target=x86_64-unknown-linux-gnu
-DCXX_SUPPORTS_CXX11 CMakeFiles/cmTC_16dac.dir/src.cxx.o -o cmTC_16dac
/usr/local/bin/ld: cannot find crtbegin.o: No such file or directory
clang-7: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [CMakeFiles/cmTC_16dac.dir/build.make:87: cmTC_16dac] Error 1
make[4]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
make[3]: *** [Makefile:121: cmTC_16dac/fast] Error 2
make[3]: Leaving directory
'/src/llvm/build701/runtimes/runtimes-bins/CMakeFiles/CMakeTmp'
Source file was:
int main() { return 0; }
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190104/9112ba52/attachment-0001.html>
More information about the llvm-bugs
mailing list