[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745105: marked as done (gcc-4.9: invalid args to -fsanitize should be an error not a warning)



Your message dated Sun, 18 May 2014 16:41:52 +0200
with message-id <5378C6B0.7030905@debian.org>
and subject line Re: Bug#745105: gcc-4.9: invalid args to -fsanitize should be an error not a warning
has caused the Debian Bug report #745105,
regarding gcc-4.9: invalid args to -fsanitize should be an error not a warning
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
745105: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745105
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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  binutils        2.24.51.20140411-2
ii  cpp-4.9         4.9-20140411-2
ii  gcc-4.9-base    4.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  libgmp10        2:6.0.0+dfsg-2
ii  libisl10        0.12.2-1
ii  libmpc3         1.0.1-1
ii  libmpfr4        3.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-dbg            4.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

--- End Message ---
--- Begin Message ---
Version: 4.9.0-3

Fixed.

--- End Message ---

Reply to: