[llvm-bugs] [Bug 45544] New: compiling AcquireCrashStateTest.cpp for i386 reports "multiple definition of `__addvdi3'" when make check-fuzzer
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 15 01:08:27 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45544
Bug ID: 45544
Summary: compiling AcquireCrashStateTest.cpp for i386 reports
"multiple definition of `__addvdi3'" when make
check-fuzzer
Product: compiler-rt
Version: 10.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: fuzzer
Assignee: unassignedbugs at nondot.org
Reporter: wenzhizhuanhust at hotmail.com
CC: llvm-bugs at lists.llvm.org
overview
In test of make check-fuzzer, It report linking error when compile
AcquireCrashStateTest.cpp for i386.
messages like "multiple definition of `__addvdi3'"
Steps to Reproduce
1.git clone https://github.com/llvm/llvm-project.git
2.cd llvm-project
3.mkdir build
4.cd build
5.cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt;libcxx;libcxxabi" -G "Unix
Makefiles" ../llvm
6.make
7.make check-fuzzer VERBOSE=1
Actual Results
test reports test fail and shows linking error message.
: 'RUN: at line 1'; /export/users/llvm-project/build/./bin/clang
--driver-mode=g++ -O2 -gline-tables-only -fsanitize=address,fuzzer
-I/export/users/llvm-project/compiler-rt/lib/fuzzer -m32
/export/users/llvm-project/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp -o
/export/users/llvm-project/build/projects/compiler-rt/test/fuzzer/I386StaticLibcxxLinuxConfig/Output/acquire-crash-state.test.tmp
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/32/libgcc.a(_divsc3.o): in function
`__divsc3':(.text+0x0): multiple definition of `__divsc3'
`__x86.get_pc_thunk.bx' referenced in section `.text' of
/export/users/llvm-project/build/lib/clang/11.0.0/lib/linux/libclang_rt.fuzzer-i386.a(fuzzer.o):
defined in discarded section
`.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of
/export/users/llvm-project/build/lib/clang/11.0.0/lib/linux/libclang_rt.fuzzer-i386.a(fuzzer.o)
Expected Results
acquire-crash-state.test.tmp should be created.
Build Date & Hardware
Build 2020-04-12 on RHEL8 for x86_64
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200415/3b0ed356/attachment.html>
More information about the llvm-bugs
mailing list