pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Patch for seamonkey-2.53.2nb5
A second patch is needed on sparc64, or symbols will not be found in xpcom.
NetBSD is left out from known OS_ARCH.
/usr/pkgsrc/www/seamonkey/work/seamonkey-2.53.2/mozilla/xpcom/reflect/xptcall/md/unix/moz.build
bash-5.0# diff -u moz.build.broken moz.build
--- moz.build.broken 2020-09-01 01:56:37.086765066 +0200
+++ moz.build 2020-09-01 01:56:31.511962366 +0200
@@ -265,7 +265,7 @@
'xptcstubs_sparc_openbsd.cpp',
]
-if CONFIG['OS_ARCH'] in ('OpenBSD', 'FreeBSD', 'Linux') and
CONFIG['OS_TEST'] == 'sparc64':
+if CONFIG['OS_ARCH'] in ('NetBSD', 'OpenBSD', 'FreeBSD', 'Linux') and
CONFIG['OS_TEST'] == 'sparc64':
SOURCES += [
'xptcinvoke_asm_sparc64_openbsd.s',
'xptcinvoke_sparc64_openbsd.cpp',
Errors without patch were like this:
INPUT("../../memory/fallible/fallible.o")
INPUT("../../media/psshparser/Unified_cpp_media_psshparser0.o")
INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x28):
undefined reference to `nsXPTCStubBase::Stub3()'
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x30):
undefined reference to `nsXPTCStubBase::Stub4()'
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x38):
undefined reference to `nsXPTCStubBase::Stub5()'
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x40):
undefined reference to `nsXPTCStubBase::Stub6()'
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x48):
undefined reference to `nsXPTCStubBase::Stub7()'
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x50):
undefined reference to `nsXPTCStubBase::Stub8()'
ld: ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro.local._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x58):
undefined reference to `nsXPTCStubBase::Stub9()'
Home |
Main Index |
Thread Index |
Old Index