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.



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.

Reply via email to