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

Bug#836855: marked as done (gcc-snapshot: -fsanitize=address -static-libasan doesn't work)



Your message dated Tue, 30 Apr 2019 16:58:11 +0200
with message-id <20190430145811.GA3228@zira.vinc17.org>
and subject line Re: gcc-snapshot: -fsanitize=address -static-libasan doesn't work
has caused the Debian Bug report #836855,
regarding gcc-snapshot: -fsanitize=address -static-libasan doesn't work
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.)


-- 
836855: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836855
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-snapshot
Version: 20160508-1
Severity: normal

cventin:~> cat t.c
int main (void) { return 0; }
cventin:~> gcc-snapshot -fsanitize=address -static-libasan t.c
cventin:~> ./a.out
==27754==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/asan/asan_rtl.cc:405 "((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0)
    <empty stack>

There's no such problem with gcc-4.9, gcc-5 and gcc-6.

Note: gcc-snapshot is the following script:

#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib:$LD_LIBRARY_PATH
PATH=/usr/lib/gcc-snapshot/bin:$PATH
exec gcc "$@"

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-snapshot depends on:
ii  binutils             2.27-8
ii  libasound2           1.1.2-1
ii  libatk1.0-0          2.21.90-2
ii  libc6                2.24-2
ii  libc6-dev            2.24-2
ii  libc6-dev-i386       2.24-2
ii  libc6-dev-x32        2.24-2
ii  libc6-i386           2.24-2
ii  libc6-x32            2.24-2
ii  libcairo2            1.14.6-1+b1
ii  libecj-java          3.11.0-6
ii  libfontconfig1       2.11.0-6.7
ii  libfreetype6         2.6.3-3+b1
ii  libgdk-pixbuf2.0-0   2.34.0-1
ii  libglib2.0-0         2.49.6-1
ii  libgmp10             2:6.1.1+dfsg-1
ii  libgtk2.0-0          2.24.30-4
ii  libice6              2:1.0.9-1+b1
ii  libisl15             0.17.1-1
ii  libmpc3              1.0.3-1
ii  libmpfr4             3.1.4-2
ii  libpango-1.0-0       1.40.2-1
ii  libpangocairo-1.0-0  1.40.2-1
ii  libpangoft2-1.0-0    1.40.2-1
ii  libsm6               2:1.2.2-1+b1
ii  libxrandr2           2:1.5.0-1
ii  libxrender1          1:0.9.9-2
ii  libxtst6             2:1.2.2-1+b1
ii  python               2.7.11-2
ii  zlib1g               1:1.2.8.dfsg-2+b1

gcc-snapshot recommends no packages.

Versions of packages gcc-snapshot suggests:
ii  binutils [binutils-gold]  2.27-8

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:20190302-1

On 2016-09-06 17:09:41 +0200, Vincent Lefevre wrote:
> cventin:~> cat t.c
> int main (void) { return 0; }
> cventin:~> gcc-snapshot -fsanitize=address -static-libasan t.c
> cventin:~> ./a.out
> ==27754==AddressSanitizer CHECK failed: ../../../../src/libsanitizer/asan/asan_rtl.cc:405 "((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0)
>     <empty stack>

I can no longer reproduce this error.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

--- End Message ---

Reply to: