clang-3.9 ASAN does not work

Bug #1750099 reported by Edward Z. Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
llvm-toolchain-3.9 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce:

jenkins@37ecc4612171:~/pytorch$ cat test.c
int main() {return 0;}
jenkins@37ecc4612171:~/pytorch$ clang-3.9 -fsanitize=address test.c
/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
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: clang-3.9 1:3.9.1-4ubuntu3~14.04.3
ProcVersionSignature: Ubuntu 4.4.0-1050.59-aws 4.4.98
Uname: Linux 4.4.0-1050-aws x86_64
NonfreeKernelModules: veth ipt_MASQUERADE nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 br_netfilter bridge stp llc zfs zunicode zcommon znvpair spl zavl ppdev parport_pc parport serio_raw pvpanic ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat ib_iser nf_conntrack_ftp rdma_cm iw_cm nf_conntrack ib_cm ib_sa ib_mad iptable_filter ip_tables ib_core x_tables ib_addr iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ena nvme
ApportVersion: 2.14.1-0ubuntu3.27
Architecture: amd64
Date: Sat Feb 17 05:56:49 2018
ProcEnviron:
 LD_LIBRARY_PATH=<set>
 TERM=xterm
 PATH=(custom, no user)
 SHELL=/bin/bash
SourcePackage: llvm-toolchain-3.9
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Edward Z. Yang (ezyang) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.