steleman / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

function-sections-are-bad.cc fails on 32-bit platforms #277

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. go fetch some 32-bit machine :)
1. build LLVM with cmake -DLLVM_TARGETS_TO_BUILD='X86'
2. run asan tests: make -j10 check-asan

You'll get an error:

FAIL: AddressSanitizer32 :: TestCases/Linux/function-sections-are-bad.cc (146 
of 262)
******************** TEST 'AddressSanitizer32 :: 
TestCases/Linux/function-sections-are-bad.cc' FAILED ********************
...
/usr/bin/ld: cannot find 
/home/y.gribov/build/llvm-alt/bin/../lib/clang/3.5.0/lib/linux/libclang_rt.asan-
x86_64.a: No such file or directory
clang-3.5: error: linker command failed with exit code 1 (use -v to see 
invocation)

The test is indeed 64-bit specific so we should probably move it into 
TestCases/Linus/64-bit.

Original issue reported on code.google.com by tetra2...@gmail.com on 19 Mar 2014 at 3:25

GoogleCodeExporter commented 9 years ago

Original comment by samso...@google.com on 20 Mar 2014 at 7:37

GoogleCodeExporter commented 9 years ago
Should be fixed by r204319. Thanks for report!

Original comment by samso...@google.com on 20 Mar 2014 at 7:44