[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO
hubicka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 10 08:47:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375
--- Comment #29 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-10 01:59:31 UTC ---
... and hacking around, the profile doesn't read back even with
-fprofile-correction
/abuild/jh/trunk-install/bin/gcc -O3 -flto -flto-partition=none
-fuse-linker-plugin -fprofile-correction -fprofile-use -o jemalloc.o -c
-DOSTYPE=\"Linux2.6.32.12-0\" -DOSARCH=Linux
-I/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc -I.
-I../../dist/include -I../../dist/include/nsprpub
-I/abuild/jh/build-mozilla-new8-prof/dist/include/nspr
-I/abuild/jh/build-mozilla-new8-prof/dist/include/nss -fPIC -Wall -W
-Wno-unused -Wpointer-arith -Wcast-align -W -pedantic -Wno-long-long
-fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -g -include
../../mozilla-config.h -DMOZILLA_CLIENT -MD -MF .deps/jemalloc.pp
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c: In
function 'arena_malloc':
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c:6530:1:
note: correcting inconsistent profile data
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c: In
function 'malloc_mutex_unlock':
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c:6530:1:
error: corrupted profile info: edge from 0 to 2 exceeds maximal count
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c: In
function 'malloc_mutex_lock':
/abuild/jh/mozilla-central2/mozilla-central/memory/jemalloc/jemalloc.c:6530:1:
error: corrupted profile info: edge from 2 to 3 exceeds maximal count
will see if this reproduce w/o LTO.
More information about the Gcc-bugs
mailing list