[libc-commits] [libc] [libc][startup] set --target= for linker when cross compiling (PR #96342)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Fri Jun 21 13:36:08 PDT 2024
nickdesaulniers wrote:
> : && /usr/bin/clang++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -r -nostdlib --target= projects/libc/startup/linux/aarch64/CMakeFiles/libc.startup.linux.aarch64.start.dir/start.cpp.o projects/libc/startup/linux/aarch64/CMakeFiles/libc.startup.linux.aarch64.tls.dir/tls.cpp.o projects/libc/startup/linux/CMakeFiles/libc.startup.linux.do_start.dir/do_start.cpp.o -o projects/libc/startup/linux/crt1.o && :
Is the command invocation on the failing buildbot, implying that `explicit_target_triple` isn't getting set for non Runtimes builds. I wonder if we can just drop support for non-runtimes builds; runtimes builds are the future of configuring llvm.
https://github.com/llvm/llvm-project/pull/96342
More information about the libc-commits
mailing list