This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/78140] [7 Regression] libxul -flto uses 1GB more memory than gcc-6
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Nov 2016 08:37:19 +0000
- Subject: [Bug lto/78140] [7 Regression] libxul -flto uses 1GB more memory than gcc-6
- Auto-submitted: auto-generated
- References: <bug-78140-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78140
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Markus Trippelsdorf from comment #7)
> BTW Firefox trunk fails to build for me:
>
> ld: error: /tmp/ccsbLieS.ltrans29.ltrans.o: requires dynamic R_X86_64_PC32
> reloc against '_ZN2js3jitL2R0E' which may overflow at runtime; recompile
> with -fPIC
> ld: error: read-only segment has dynamic relocations
> /tmp/ccsbLieS.ltrans29.ltrans.o:<artificial>:function
> js::jit::BaselineCompiler::emitCheckThis(js::jit::ValueOperand) [clone
> .constprop.20226]: error: undefined reference to 'js::jit::R0'
>
> Haven't looked into it yet. Could well be a Firefox bug.
This looks known to me, I used to see this unresolved symbol, but currently
it's gone on x86_64-linux-gnu.