Bug#703229: [libasan0] libasan0: /usr/bin/ld.bfd.real: cannot find libasan_preinit.o: No such file or directory
Package: libasan0
Version: 4.8-20130315-1
Severity: normal
--- Please enter the report below this line. ---
GCC-4.8's(from experimental) -fsanitize=address flag is not working:
$ gcc-4.8 -fsanitize=address test.c
/usr/bin/ld.bfd.real: cannot find libasan_preinit.o: No such file or directory
collect2: error: ld returned 1 exit status
$ apt-cache policy libasan0
libasan0:
Installed: 4.8-20130315-1
Candidate: 4.8-20130315-1
Version table:
*** 4.8-20130315-1 0
1 http://ftp.ro.debian.org/debian/ experimental/main amd64 Packages
100 /var/lib/dpkg/status
$ dpkg -L libasan0
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libasan.so.0.0.0
/usr/share
/usr/share/doc
/usr/lib/x86_64-linux-gnu/libasan.so.0
/usr/share/doc/libasan0
--- System information. ---
Architecture: amd64
Kernel: Linux 3.8.3
Debian Release: 7.0
500 unstable ftp.ro.debian.org
500 stable ftp.ro.debian.org
1 experimental ftp.ro.debian.org
--- Package information. ---
Depends (Version) | Installed
===================================-+-===================
gcc-4.8-base (= 4.8-20130315-1) |
libc6 (>= 2.2.5) |
libgcc1 (>= 1:4.1.1) |
libstdc++6 (>= 4.1.1) |
Package's Recommends field is empty.
Package's Suggests field is empty.
Reply to: