same behaviour on amd64 and x86.
The (only) errors in the log are obviously due to the forced "-flto":
Code: Select all
temp/cc9PyL0z.ltrans23.ltrans.o: In function `MemoryReporter_XPTInterfaceInfoManager::GetAmount(long*)':
<artificial>:(.text._ZN38MemoryReporter_XPTInterfaceInfoManager9GetAmountEPl+0x1a): undefined reference to `XPT_SizeOfArena'
temp/cc9PyL0z.ltrans23.ltrans.o: In function `mozilla::XPTInterfaceInfoManager::GetSingleton()':
<artificial>:(.text._ZN7mozilla23XPTInterfaceInfoManager12GetSingletonEv+0xb0): undefined reference to `XPT_NewArena'
temp/cc9PyL0z.ltrans24.ltrans.o: In function `nsComponentManagerImpl::ManifestXPT(nsComponentManagerImpl::ManifestProcessingContext&, int, char* const*)':
<artificial>:(.text._ZN22nsComponentManagerImpl11ManifestXPTERNS_25ManifestProcessingContextEiPKPc+0xb6): undefined reference to `XPT_NewXDRState'
<artificial>:(.text._ZN22nsComponentManagerImpl11ManifestXPTERNS_25ManifestProcessingContextEiPKPc+0xd2): undefined reference to `XPT_MakeCursor'
<artificial>:(.text._ZN22nsComponentManagerImpl11ManifestXPTERNS_25ManifestProcessingContextEiPKPc+0xe2): undefined reference to `XPT_DestroyXDRState'
<artificial>:(.text._ZN22nsComponentManagerImpl11ManifestXPTERNS_25ManifestProcessingContextEiPKPc+0x189): undefined reference to `XPT_DoHeader'
<artificial>:(.text._ZN22nsComponentManagerImpl11ManifestXPTERNS_25ManifestProcessingContextEiPKPc+0x1b4): undefined reference to `XPT_ArenaMalloc'
<artificial>:(.text._ZN22nsComponentManagerImpl11ManifestXPTERNS_25ManifestProcessingContextEiPKPc+0x340): undefined reference to `XPT_ArenaMalloc'
So I decided to patch out the -flto forcing. As a result, I get the first error from
viewtopic.php?t=12045
When patching out the offending command as suggested in the thread (and keeping patching out -flto) I get a succesfull compilation, and the resulting binary is running without any issues.