This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/61475] Building Firefox with ASan is broken in the packaging step
- From: "gk at torproject dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jun 2014 13:09:36 +0000
- Subject: [Bug sanitizer/61475] Building Firefox with ASan is broken in the packaging step
- Auto-submitted: auto-generated
- References: <bug-61475-4 at http dot gcc dot gnu dot org/bugzilla/>
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.