New issue
Advanced search Search tips

Issue 859728 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 24
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome
Pri: 2
Type: Bug
Build-Toolchain

Blocking:
issue 858896



Sign in to add a comment

LLVM: error building compiler-rt.

Project Member Reported by llozano@chromium.org, Jul 3

Issue description

While building llvm-next 333878, compiler-rt fails to build with following errors:



/usr/x86_64-pc-linux-gnu/binutils-bin/2.27.0/ld.bfd.real: i386:x86-64 architecture of input file `/usr/lib64/clang/7.0.0/lib/linux/libclang_rt.builtins-x86_64.a(udivdi3.c.o)' is incompatible with i386 output
/usr/x86_64-pc-linux-gnu/binutils-bin/2.27.0/ld.bfd.real: i386:x86-64 architecture of input file `/usr/lib64/clang/7.0.0/lib/linux/libclang_rt.builtins-x86_64.a(udivmoddi4.c.o)' is incompatible with i386 output
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcdep.cc.o: In function `__sanitizer::Unwind_GetIP(_Unwind_Context*)':
/home/llozano/llvm-mage/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc:100: undefined reference to `_Unwind_GetIP'
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcdep.cc.o: In function `Unwind_GetIP':
/home/llozano/llvm-mage/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc:100: undefined reference to `_Unwind_GetIP'
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcdep.cc.o: In function `__sanitizer::BufferedStackTrace::SlowUnwindStack(unsigned long, unsigned int)':
/home/llozano/llvm-mage/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc:127: undefined reference to `_Unwind_Backtrace'
projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonSymbolizer.i386.dir/sanitizer_unwind_linux_libcdep.cc.o: In function `SlowUnwindStack':
/home/llozano/llvm-mage/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc:127: undefined reference to `_Unwind_Backtrace'


I file LLVM bug at https://bugs.llvm.org/show_bug.cgi?id=38025


 
Labels: -Pri-1 Pri-2
I think we have a fix for this. We have been doing testing and it seems fine. 
I will let phosek@ close it.
Status: Fixed (was: Assigned)

Sign in to add a comment