-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Labels
Milestone
Description
Using a debian:buster-slim
Docker container, available here, doing a depends build for x86_64-apple-darwin14
, cctools
bombs out with the following in config.log
:
configure:3616: checking for x86_64-pc-linux-gnu-gcc
configure:3643: result: /bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/toolchain/bin/clang
configure:3912: checking for C compiler version
configure:3921: /bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/toolchain/bin/clang --version >&5
clang version 3.7.1 (tags/RELEASE_371/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
configure:3932: $? = 0
configure:3921: /bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/toolchain/bin/clang -v >&5
clang version 3.7.1 (tags/RELEASE_371/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
configure:3932: $? = 0
configure:3921: /bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/toolchain/bin/clang -V >&5
clang-3.7: error: argument to '-V' is missing (expected 1 value)
clang-3.7: error: no input files
configure:3932: $? = 1
configure:3921: /bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/toolchain/bin/clang -qversion >&5
clang-3.7: error: unknown argument: '-qversion'
clang-3.7: error: no input files
configure:3932: $? = 1
configure:3952: checking whether the C compiler works
configure:3974: /bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/toolchain/bin/clang -O3 -I/bitcoin/depends/x86_64-apple-darwin14/native/include -L/bitcoin/depends/x86_64-apple-darwin14/native/lib -Wl,-rpath=\$$ORIGIN/../lib conftest.c >&5
/usr/bin/ld: cannot find crtbegin.o: No such file or directory
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: cannot find -lgcc_s
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3978: $? = 1
configure:4016: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cctools"
| #define PACKAGE_TARNAME "cctools"
| #define PACKAGE_VERSION "877.8"
| #define PACKAGE_STRING "cctools 877.8"
| #define PACKAGE_BUGREPORT "t.poechtrager@gmail.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4021: error: in `/bitcoin/depends/work/build/x86_64-apple-darwin14/native_cctools/807d6fd1be5d2224872e381870c0a75387fe05e6-3e0a7ea9e07/cctools':
configure:4023: error: C compiler cannot create executables
See `config.log' for more details
Cross-compiling with a debian:stretch-slim
container works file, so my assumption is a change in Busters newer GCC (8.3.0
) has broken our older Clang (3.7.1
).
A a similar issue appeared in Clang previously, which produced similar output, and was resolved in LLVM here.