Bug#751161: Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-05-03 Thread Vincent Lefevre
Control: tags 751161 patch On 2019-05-02 14:29:40 +0200, Vincent Lefevre wrote: > Bug 751161 concerns the same issue. It mentions the -fsanitizer= flags, > which had been fixed some time ago in libtool, but -static-libasan is > still stripped. > > The gcc man page says: > > Linker Options >

Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-05-02 Thread Vincent Lefevre
Control: forcemerge 751161 928254 Bug 751161 concerns the same issue. It mentions the -fsanitizer= flags, which had been fixed some time ago in libtool, but -static-libasan is still stripped. The gcc man page says: Linker Options object-file-name -fuse-ld=linker -llibrary -nostartfiles

Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-05-02 Thread Matthias Klose
On 02.05.19 14:06, Vincent Lefevre wrote: > Control: reassign -1 libtool 2.4.6-10 > Control: retitle -1 libtool: "Flags to be passed through unchanged" should > include -static-libasan > Control: severity -1 normal > > On 2019-05-02 10:10:33 +0200, Vincent Lefevre wrote: >> On 2019-05-01 20:54:05

Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-05-02 Thread Vincent Lefevre
Control: reassign -1 libtool 2.4.6-10 Control: retitle -1 libtool: "Flags to be passed through unchanged" should include -static-libasan Control: severity -1 normal On 2019-05-02 10:10:33 +0200, Vincent Lefevre wrote: > On 2019-05-01 20:54:05 +0200, Matthias Klose wrote: > > the linker never sees

Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-05-02 Thread Vincent Lefevre
On 2019-05-01 20:54:05 +0200, Matthias Klose wrote: > the linker never sees your CFLAGS. At least -static-libasan needs to > be added to LDFLAGS. Indeed, I can see -static-libasan in the "libtool --mode=link" line, but libtool drops this option in the gcc call: /bin/sh ../libtool --tag=CC --mo

Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-05-01 Thread Matthias Klose
On 30.04.19 19:05, Vincent Lefevre wrote: > Package: gcc-8 > Version: 8.3.0-7 > Severity: minor > > When I build and check GNU MPFR with: > > ./configure CFLAGS="-fsanitize=address -static-libasan" > make > make check > > I get lots of failure with the error: > > Your application is lin

Bug#928254: gcc-8: -static-libasan does not work with GNU MPFR

2019-04-30 Thread Vincent Lefevre
Package: gcc-8 Version: 8.3.0-7 Severity: minor When I build and check GNU MPFR with: ./configure CFLAGS="-fsanitize=address -static-libasan" make make check I get lots of failure with the error: Your application is linked against incompatible ASan runtimes. Though -static-libasan has