[clang] [llvm] [CaptureTracking][FunctionAttrs] Add support for CaptureInfo (PR #125880)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 13:47:15 PST 2025
Prabhuk wrote:
>
> Builder link: https://ci.chromium.org/ui/p/fuchsia/builders/prod/clang-windows-x64/b8722951897240189057/overview Logs: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8722951897240189057/+/u/clang/build/stdout
>
> ```
> FAILED: C:/b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/lib/clang/21/lib/aarch64-unknown-linux-gnu/libclang_rt.hwasan.so
> cmd.exe /C "cd . && C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\clang++.exe --target=aarch64-unknown-linux-gnu --sysroot=C:/b/s/w/ir/x/w/cipd/linux -fPIC --target=aarch64-unknown-linux-gnu -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -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 -ffunction-sections -fdata-sections -ffile-prefix-map=C:/b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/runtimes/runtimes-aarch64-unknown-linux-gnu-bins=../../../../../../llvm-llvm-project -ffile-prefix-map=C:/b/s/w/ir/x/w/llvm-llvm-project/= -no-canonical-prefixes -Wall -Wno-unused-parameter -O2 -g -DNDEBUG -fuse-ld=lld -Wl,-z,nodelete -Wl,--color-diagnostics -nodefaultlibs -Wl,-z,text -nostdlib++ -Wl,--version-script,C:/b/s/w/ir/x/w/llvm_build/tools/clang/stage2-bins/runtimes/runtimes-aarch64-unknown-linux-gnu-bins/compiler-rt/lib/hwasan/clang_rt.hwasan-dynamic-aarch64.vers -shared -Wl,-soname,libclang_rt.hwasan.so -o C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\lib\clang\21\lib\aarch64-unknown-linux-gnu\libclang_rt.hwasan.so @CMakeFiles\clang_rt.hwasan-dynamic-aarch64.rsp && cd ."
> Exception Code: 0xC0000005
> #0 0x00007ff6588a15cf xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x2a15cf)
> #1 0x00007ff6588a40eb xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x2a40eb)
> #2 0x00007ff6588a4543 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x2a4543)
> #3 0x00007ff6588a5195 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x2a5195)
> #4 0x00007ff6588a4f8e xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x2a4f8e)
> #5 0x00007ff6599c96d0 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x13c96d0)
> #6 0x00007ff65882251a xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x22251a)
> #7 0x00007ff658811ee5 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x211ee5)
> #8 0x00007ff65880f336 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x20f336)
> #9 0x00007ff6587d6287 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x1d6287)
> #10 0x00007ff6587adf5a xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x1adf5a)
> #11 0x00007ff65b89e548 xmlXIncludeProcessNode (C:\b\s\w\ir\x\w\llvm_build\tools\clang\stage2-bins\.\bin\ld.lld.exe+0x329e548)
> #12 0x00007ffefbe87ac4 (C:\Windows\System32\KERNEL32.DLL+0x17ac4)
> #13 0x00007ffefbfba8c1 (C:\Windows\SYSTEM32\ntdll.dll+0x5a8c1)
> clang++: error: linker command failed due to signal (use -v to see invocation)
> [2930/2978](3) Building CXX object compiler-rt/lib/tsan/rtl/CMakeFiles/clang_rt.tsan-dynamic-aarch64.dir/tsan_interceptors_posix.cpp.o
> [2932/2978](1) Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.aarch64.dir/asan_interceptors.cpp.o
> [2933/2978](0) Building CXX object compiler-rt/lib/asan/CMakeFiles/RTAsan.aarch64.dir/asan_interceptors.cpp.o
> ninja: build stopped: subcommand failed.
> ```
This failure is happening while we attempt to cross compile a runtime using the just built toolchain (stage2). This suggests that the toolchain built with this patch is probably miscompiled leading to the crash.
https://github.com/llvm/llvm-project/pull/125880
More information about the llvm-commits
mailing list