http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469

--- Comment #7 from Markus Trippelsdorf <octoploid at yandex dot com> ---
(In reply to Jan Hubicka from comment #6)
> With -fno-fat-lto-objects we are also faster on SPEC build time and I think
> it should be the case in general.  We produce considerably less code and
> most of time is spent in the backend.  For super large projects with
> parallel makefiles the time spent in serial WPA may overweight the benefits,
> but for GCC and firefox I believe the only problem is that it builds
> multiple binaries from same static libraries.  Here we end up optimizing the
> static libraries many times, while in traditional build we optimize just
> once.

Naive question: Why not use dynamic libraries in the case of gcc?

> Let me see if I can reproduce the weak symbol. In these cases my life would
> be a lot easier if you attached the resolution file and told me the
> unmangled name of the symbol. But thanks a lot for the analysis and LTO
> testing! It is badly needed.

sorry:

_ZN4llvm21SymbolTableListTraitsINS_10BasicBlockENS_8FunctionEE21transferNodesFromListERNS_12ilist_traitsIS1_EENS_14ilist_iteratorIS1_EES8_

 % cat BasicBlock.res
2
BasicBlock.o 9
234 e1ebf4c224baf514 PREVAILING_DEF_IRONLY_EXP
_ZN4llvm21SymbolTableListTraitsINS_10BasicBlockENS_8FunctionEE21transferNodesFromListERNS_12ilist_traitsIS1_EENS_14ilist_iteratorIS1_EES8_
239 e1ebf4c224baf514 PREVAILING_DEF_IRONLY_EXP
_ZN4llvm10BasicBlock10moveBeforeEv
290 e1ebf4c224baf514 PREVAILING_DEF_IRONLY_EXP c
247 e1ebf4c224baf514 UNDEF _ZN4llvm14ilist_iteratorINS_10BasicBlockEEneERS2_
252 e1ebf4c224baf514 UNDEF _ZN4llvm14ilist_iteratorINS_10BasicBlockEEppEv
257 e1ebf4c224baf514 UNDEF
_ZN4llvm12ilist_traitsINS_10BasicBlockEE9getSymTabEPNS_8FunctionE
262 e1ebf4c224baf514 UNDEF
_ZN4llvm21SymbolTableListTraitsINS_10BasicBlockENS_8FunctionEE12getListOwnerEv
283 e1ebf4c224baf514 UNDEF _ZN4llvm8Function17getBasicBlockListEv
288 e1ebf4c224baf514 UNDEF _ZN4llvm10BasicBlock9getParentEv
Function.o 1
214 bf4c643d7570440b PREEMPTED_IR
_ZN4llvm21SymbolTableListTraitsINS_10BasicBlockENS_8FunctionEE21transferNodesFromListERNS_12ilist_traitsIS1_EENS_14ilist_iteratorIS1_EES8_

Reply via email to