[LLVMbugs] [Bug 11301] Firefox build fails with -O4 during linking of libxul on Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 13 05:15:48 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11301

Markus Trippelsdorf <markus at trippelsdorf.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf.de> 2012-01-13 07:15:48 CST ---
(In reply to comment #1)
> Could you attach an example that reproduces this error?

The link error is gone now!
Just built Firefox successfully with -O4.

 % clang -v
clang version 3.1 (trunk 148024)
Target: x86_64-unknown-linux-gnu
Thread model: posix

about:buildconfig
Source
Built from http://hg.mozilla.org/mozilla-central/rev/9b5f1ccdb021

Build platform
target
x86_64-unknown-linux-gnu

Build tools
Compiler     Version     Compiler flags
clang         -pedantic -Wall -W -Wno-unused -Wpointer-arith
-Wdeclaration-after-statement -W -Wno-long-long -march=native
-fno-strict-aliasing -pthread -ffunction-sections -pipe -DNDEBUG -DTRIMMED -O4
-fomit-frame-pointer

clang++         -fno-rtti -pedantic -Wall -Wpointer-arith -Woverloaded-virtual
-Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-c++0x-extensions
-Wno-extended-offsetof -Wno-invalid-offsetof -Wno-variadic-macros
-Werror=return-type -Wno-long-long -march=native -Wno-delete-non-virtual-dtor
-fno-exceptions -fno-strict-aliasing -std=gnu++0x -pthread -ffunction-sections
-pipe -DNDEBUG -DTRIMMED -O4 -fomit-frame-pointer

Configure arguments
--enable-application=browser --prefix=/usr --libdir=/usr/lib --with-system-jpeg
--with-pthreads --with-system-zlib --with-system-bz2 --with-system-hunspell
--with-system-sqlite --with-system-libevent --with-system-lcms
--disable-installer --disable-updater --enable-official-branding
--enable-startup-notification --disable-necko-wifi --disable-accessibility
--disable-elf-hack --enable-jemalloc --enable-optimize=-O4 --disable-debug
--disable-tests --disable-debug-symbols --enable-strip --enable-install-strip
--enable-default-toolkit=cairo-gtk2 -enable-system-cairo
--disable-crashreporter --disable-parental-controls --disable-safe-browsing
--enable-profile-guided-optimization

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list