From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16954 invoked by alias); 11 Jun 2014 13:09:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16900 invoked by uid 48); 11 Jun 2014 13:09:38 -0000 From: "gk at torproject dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/61475] Building Firefox with ASan is broken in the packaging step Date: Wed, 11 Jun 2014 13:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 4.10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gk at torproject dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00770.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61475 --- Comment #3 from Georg Koppen --- (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.