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