[llvm-bugs] [Bug 34463] New: Can't compile with address sanitizer using clang3.9 trusty package
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 4 10:34:09 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34463
Bug ID: 34463
Summary: Can't compile with address sanitizer using clang3.9
trusty package
Product: new-bugs
Version: 3.9
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: lectem at gmail.com
CC: llvm-bugs at lists.llvm.org
I can't seem to link any application using clang3.9 from the ubuntu trusty
package when using -fsanitize=address.
The error is the following :
/usr/bin/clang++-3.9 -fsanitize=address,undefined,integer
-fno-omit-frame-pointer -fno-sanitize=unsigned-integer-overflow
-D__extern_always_inline=inline -stdlib=libc++ -nostdinc++ -cxx-isystem
/usr/include/c++/v1/ -Wno-unused-command-line-argument
CMakeFiles/cmTC_c37c8.dir/testCXXCompiler.cxx.o -o cmTC_c37c8
/usr/bin/ld:
/usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/lib/linux/libclang_rt.asan-x86_64.a(asan_allocator.cc.o):
unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
Here is my travis log :
https://travis-ci.org/Lectem/range-v3/jobs/271277307#L1417
The very same travis build, but this time on Ubuntu precise works :
https://travis-ci.org/Lectem/range-v3/jobs/271278949
--
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/20170904/0b3085ea/attachment-0001.html>
More information about the llvm-bugs
mailing list