https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61475
--- Comment #3 from Georg Koppen <gk at torproject dot org> --- (In reply to Kostya Serebryany from comment #1) > Please > 1. try building with -static-libasan I'll do that once I am done with investigating bug 61408. > 2. provide full reproduction steps 1) Take an Ubuntu Precise. 2) Compile GCC (I used the trunk from June 4 as the current has an ICE when compiling Firefox which I need to report as well). I compiled it with --prefix=/path/to/my/dir --disable-multilib --enable-languages=c,c++. 3) Grab the latest Firefox ESR 24 source code (https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest-esr/source/firefox-24.6.0esr.source.tar.bz2). 4) Extract it and change into mozilla-esr24. 5) Save the attached mozconfig as .mozconfig in mozille-esr24. 6) Adjust your path to point to your freshly compiled GCC and point LD_LIBRARY_PATH to your GCC-dir/lib64 (assuming you are compiling on a 64bit system). 7) Run |make -j4 -f client.mk build|. 8) After successful compilation package Firefox with |make -C obj* package INNER_MAKE_PACKAGE=true|. 9) It crashes as mentioned in the description.