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



--- Comment #163 from Jan Hubicka <hubicka at ucw dot cz> 2012-12-14 18:24:31 
UTC ---

> 

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

> 

> --- Comment #162 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
> 2012-12-13 22:25:27 UTC ---

> The libxul binary size issue is solved now.



Good

> 

> During testing I came across another issue that looks similar 

> to the one Comment 146:

> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:

> error: /tmp/ccwu5G98.ltrans4.ltrans.o: requires dynamic R_X86_64_PC32 reloc

> against '_ZN13nsXUL

> Document14MaybeBroadcastEv.429466' which may overflow at runtime; recompile

> with -fPIC

> /tmp/ccwu5G98.ltrans4.ltrans.o:ccwu5G98.ltrans4.o:function

> nsRunnableMethodTraits<void (nsXULDocument::*)(), true>::base_type*

> NS_NewRunnableMethod<nsXULDocument*, void (nsXU

> LDocument::*)()>(nsXULDocument*, void (nsXULDocument::*)()) [clone

> .local.39398] [clone .constprop.84952]: error: undefined reference to

> 'nsXULDocument::MaybeBroadcast() [clone .429466]'

> /tmp/ccwu5G98.ltrans4.ltrans.o:ccwu5G98.ltrans4.o:function

> nsRunnableMethodTraits<void (nsXULDocument::*)(), true>::base_type*

> NS_NewRunnableMethod<nsXULDocument*, void (nsXU

> LDocument::*)()>(nsXULDocument*, void (nsXULDocument::*)()) [clone

> .local.39398] [clone .constprop.84952]: error: undefined reference to

> 'nsXULDocument::MaybeBroadcast() [clone .429466]'

> collect2: error: ld returned 1 exit status

> 

> After I deleted both nsXULDocument.o and nsXULDocument.gcda and rebuild with:

>  make -f client.mk realbuild MOZ_PROFILE_USE=1 

> the problem did go away.



This sounds like an independent problem with partitining.  I am travelling till

17th, so I will

try to check this locally myself.



Perhaps you can give details on your setup? (i.e. my Mozilla tree got quite

dirty with various local

hacks I made over time, perhaps I should refresh to cleaner state)



Honza

Reply via email to