Bug#786853: clang-3.7: Link error with -fsanitize=address

2015-05-26 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

 Possible packaging error?

Very similar error if I try to use -fsanitize=address with
armhf with clang-3.5 and clang-3.6.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#786853: clang-3.7: Link error with -fsanitize=address

2015-05-25 Thread Erik de Castro Lopo
Package: clang-3.7
Version: 1:3.7~svn230892-1
Severity: normal

Dear Maintainer,

Compiling a simple Hello world style program with -fsanitize=address resukts
in:

$ clang-3.7 -Wall -fsanitize=address program.c -o program
/usr/bin/ld: cannot find /usr/lib/llvm-3.7/bin/../lib/clang/3.7.0/lib/linux/
libclang_rt.asan-arm.a: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

It seems that that clang expects /usr/lib/llvm-3.7/lib/clang/3.7.0/linux/ to
exist, but it doesn't. 

Possible packaging error?

Cheers,
Erik

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: armhf (armv7l)

Kernel: Linux 3.10.72+ (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages clang-3.7 depends on:
ii  binutils 2.25-7
ii  libc62.19-18
ii  libc6-dev2.19-18
ii  libclang-common-3.7-dev  1:3.7~svn230892-1
ii  libclang1-3.71:3.7~svn230892-1
ii  libedit2 3.1-20150325-1
ii  libffi6  3.2.1-2
ii  libgcc-4.9-dev   4.9.2-18
ii  libgcc1  1:5.1.1-7
ii  libllvm3.7   1:3.7~svn230892-1
ii  libobjc-4.9-dev  4.9.2-18
ii  libstdc++-4.9-dev4.9.2-18
ii  libstdc++6   5.1.1-7
ii  libtinfo55.9+20140913-1+b1
ii  zlib1g   1:1.2.8.dfsg-2+b1

Versions of packages clang-3.7 recommends:
ii  llvm-3.7-dev  1:3.7~svn230892-1
ii  python2.7.9-1

Versions of packages clang-3.7 suggests:
pn  clang-3.7-doc  none
pn  gnustepnone
pn  gnustep-devel  none

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org