Package: gcc-4.9
Version: 4.9-20140411-2
Severity: normal
This is a regression from gcc-4.8.
With gcc-4.8 this works because -fsanitize=address works in 4.8:
gcc-4.8 -fsanitize=address test.c -o /dev/null
and this fails and exits with non-zero because -fsanitize=integer
is not supported in 4.8:
gcc-4.8 -fsanitize=integer test.c -o /dev/null
gcc-4.8: error: unrecognized command line option ‘-fsanitize=integer’
echo $?
1
Now for 4.9:
gcc-4.9 -fsanitize=integer test.c -o /dev/null
gcc-4.9: warning: unrecognized argument to -fsanitize= option: ‘integer’
cc1: warning: unrecognized argument to -fsanitize= option: ‘integer’
echo $?
0
This should exit with non-zero so that support for this flag can correctly
be detected in things line autoconf generated configure scripts.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (800, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) (ignored: LC_ALL
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.9 depends on:
ii binutils2.24.51.20140411-2
ii cpp-4.9 4.9-20140411-2
ii gcc-4.9-base4.9-20140411-2
ii libc6 2.18-4
ii libcloog-isl4 0.18.2-1
ii libgcc-4.9-dev 4.9-20140411-2
ii libgmp102:6.0.0+dfsg-2
ii libisl100.12.2-1
ii libmpc3 1.0.1-1
ii libmpfr43.1.2-1
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages gcc-4.9 recommends:
ii libc6-dev 2.18-4
Versions of packages gcc-4.9 suggests:
ii binutils [binutils-gold] 2.24.51.20140411-2
pn gcc-4.9-doc none
ii gcc-4.9-locales 4.9-20140411-2
ii gcc-4.9-multilib 4.9-20140411-2
ii libasan1-dbg 4.9-20140411-2
ii libatomic1-dbg4.9-20140411-2
ii libcilkrts5-dbg 4.9-20140411-2
ii libgcc1-dbg 1:4.9-20140411-2
ii libgomp1-dbg 4.9-20140411-2
ii libitm1-dbg 4.9-20140411-2
ii liblsan0-dbg 4.9-20140411-2
ii libquadmath0-dbg 4.9-20140411-2
ii libtsan0-dbg 4.9-20140411-2
ii libubsan0-dbg 4.9-20140411-2
ii libvtv0-dbg 4.9-20140411-2
-- 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