https://bugs.llvm.org/show_bug.cgi?id=51048
Bug ID: 51048
Summary: x86 build failed on lldb 11
Product: lldb
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev@lists.llvm.org
Reporter: danglingpoin...@outlook.com
CC: jdevliegh...@apple.com, llvm-b...@lists.llvm.org
> [63/898] Building CXX object
> source/Host/CMakeFiles/lldbHost.dir/posix/HostInfoPosix.cpp.o
> ninja: job failed: : && /usr/bin/clang++ -Os -fomit-frame-pointer -fPIC
> -fvisibility-inlines-hidden -Werror=date-time
> -Werror=unguarded-availability-new -w -fdiagnostics-color -ffunction-sections
> -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas
> -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -Os
> -fomit-frame-pointer -Os -DNDEBUG -Wl,--as-needed,-O1,--sort-common
> -Wl,--as-needed,-O1,--sort-common
> -Wl,-rpath-link,/builds/kasperk81/aports/community/lldb/src/lldb-11.1.0.src/build/./lib
> -Wl,-O3 -Wl,--gc-sections
> utils/lit-cpuid/CMakeFiles/lit-cpuid.dir/lit-cpuid.cpp.o -o bin/lit-cpuid
> -Wl,-rpath,"\$ORIGIN/../lib:/usr/lib/llvm11/lib"
> /usr/lib/libclang-cpp.so.11.1 /usr/lib/llvm11/lib/libLLVMSupport.a
> /usr/lib/llvm11/lib/libLLVM-11.so -lz -lrt -ldl -lm
> /usr/lib/llvm11/lib/libLLVMDemangle.a && :
> /usr/bin/ld: /usr/lib/llvm11/lib/libLLVMSupport.a(raw_ostream.cpp.o): in
> function `llvm::raw_fd_ostream::preferred_buffer_size() const':
> raw_ostream.cpp:(.text._ZNK4llvm14raw_fd_ostream21preferred_buffer_sizeEv+0xac):
> undefined reference to `__stack_chk_fail_local'
> /usr/bin/ld: /usr/lib/llvm11/lib/libLLVMSupport.a(raw_ostream.cpp.o): in
> function `llvm::raw_fd_ostream::~raw_fd_ostream()':
> raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostreamD2Ev+0xe1): undefined
> reference to `__stack_chk_fail_local'
> /usr/bin/ld: /usr/lib/llvm11/lib/libLLVMSupport.a(raw_ostream.cpp.o): in
> function `llvm::raw_ostream::operator<<(llvm::formatv_object_base const&)':
> raw_ostream.cpp:(.text._ZN4llvm11raw_ostreamlsERKNS_19formatv_object_baseE+0x50e):
> undefined reference to `__stack_chk_fail_local'
> /usr/bin/ld: /usr/lib/llvm11/lib/libLLVMSupport.a(raw_ostream.cpp.o): in
> function `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef,
> std::error_code&, llvm::sys::fs::CreationDisposition,
> llvm::sys::fs::FileAccess, llvm::sys::fs::OpenFlags)':
> raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostreamC2ENS_9StringRefERSt10error_codeNS_3sys2fs19CreationDispositionENS5_10FileAccessENS5_9OpenFlagsE+0x111):
> undefined reference to `__stack_chk_fail_local'
> /usr/bin/ld: /usr/lib/llvm11/lib/libLLVMSupport.a(raw_ostream.cpp.o): in
> function `llvm::outs()':
> raw_ostream.cpp:(.text._ZN4llvm4outsEv+0xb5): undefined reference to
> `__stack_chk_fail_local'
> /usr/bin/ld:
> /usr/lib/llvm11/lib/libLLVMSupport.a(Host.cpp.o):Host.cpp:(.text._ZL21updateTripleOSVersionNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x825):
> more undefined references to `__stack_chk_fail_local' follow
Full logs are available at:
https://gitlab.alpinelinux.org/kasperk81/aports/-/jobs/433659
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev