tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/firefox build error on macppc



On 03/20/15 20:46, Tobias Nygren wrote:
Thank you. Hopefully macppc will turn out to work now too.


Not really. It proceeds much farther, but now I'm getting a link error:


...
Executing: c++ -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -fPIC -DPIC -shared -Wl,-soname,libxul.so -o libxul.so /local/netbsd-src/pkgsrc/www/firefox/work.powerpc/build/toolkit/library/tmpfccwnD.list -lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib/pulseaudio -Wl,-R/usr/pkg/lib/pulseaudio -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id ../../../mozilla-release/toolkit/library/StaticXULComponents.ld -Wl,-rpath-link,/local/netbsd-src/pkgsrc/www/firefox/work.powerpc/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib ../../js/src/libmozjs.so ../../memory/mozalloc/libmozalloc.so -L/usr/pkg/lib/nss -L/usr/pkg/lib/nspr -lcrmf -Wl,-R/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4 -pthread -Wl,-R/usr/pkg/lib/nss -lnss3 -lsmime3 -lssl3 -lsoftokn3 -lnssutil3 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsqlite3 -lz -licui18n -licuuc -licudata -L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib -lfreetype -lbz2 -lfontconfig -lcairo -lXext -lXrender -lX11 -ljpeg -lhunspell-1.3 -L/usr/lib -levent -lvpx -lm -lpixman-1 -lgraphite2 -lharfbuzz -lossaudio -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/pkg/lib -lgtk-x11-2.0 -Wl,-R/usr/pkg/lib -lgtk-x11-2.0 -Wl,-R/usr/pkg/lib -latk-1.0 -Wl,-R/usr/pkg/lib -lgdk-x11-2.0 -Wl,-R/usr/pkg/lib -lpangocairo-1.0 -Wl,-R/usr/pkg/lib -lpangoft2-1.0 -Wl,-R/usr/pkg/lib -lpango-1.0 -lm -Wl,-rpath,/usr/X11R7/lib -lfreetype -lz -lbz2 -Wl,-R/usr/pkg/lib -lgio-2.0 -Wl,-R/usr/pkg/lib -lgio-2.0 -Wl,-rpath,/usr/X11R7/lib -lfontconfig -Wl,-rpath,/usr/X11R7/lib -lXrender -Wl,-rpath,/usr/X11R7/lib -lXinerama -Wl,-rpath,/usr/X11R7/lib -lXi -Wl,-rpath,/usr/X11R7/lib -lXrandr -Wl,-rpath,/usr/X11R7/lib -lXcursor -Wl,-rpath,/usr/X11R7/lib -lXcomposite -Wl,-rpath,/usr/X11R7/lib -lXdamage -Wl,-rpath,/usr/X11R7/lib -lXfixes -Wl,-R/usr/pkg/lib -lgdk_pixbuf-2.0 -Wl,-R/usr/pkg/lib -lgobject-2.0 -Wl,-R/usr/pkg/lib -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib -lcairo -Wl,-rpath,/usr/X11R7/lib -lX11 -Wl,-rpath,/usr/X11R7/lib -lXext -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lXt -lgthread-2.0
/local/netbsd-src/pkgsrc/www/firefox/work.powerpc/build/toolkit/library/tmpfccwnD.list:
    INPUT("StaticXULComponentsStart.o")
    INPUT("../../media/kiss_fft/kiss_fft.o")
    INPUT("../../media/kiss_fft/kiss_fftr.o")
    INPUT("../../media/libstagefright/fake_log_device.o")
INPUT("../../media/libstagefright/Unified_c_media_libstagefright0.o")
    INPUT("../../media/libstagefright/hexdump.o")
    INPUT("../../media/libstagefright/MetaData.o")
    INPUT("../../media/libstagefright/RefBase.o")
    INPUT("../../media/libstagefright/String16.o")
    INPUT("../../media/libstagefright/String8.o")
    INPUT("../../media/libstagefright/VectorImpl.o")
INPUT("../../media/libstagefright/Unified_cpp_media_libstagefright0.o")
INPUT("../../media/libstagefright/Unified_cpp_media_libstagefright1.o")
    INPUT("../../security/certverifier/Unified_cpp_certverifier0.o")


... many more "INPUT" lines ... until


    INPUT("../../gfx/ots/src/kern.o")
    INPUT("../../gfx/ots/src/ltsh.o")
    INPUT("../../gfx/ots/src/math.o")
    INPUT("../../gfx/ots/src/vdmx.o")
    INPUT("../../gfx/ots/src/vorg.o")
    INPUT("../../gfx/ots/src/Unified_cpp_gfx_ots_src0.o")
    INPUT("../../gfx/ots/src/Unified_cpp_gfx_ots_src1.o")
    INPUT("../../modules/brotli/Unified_c_modules_brotli0.o")
    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x14): undefined reference to `nsXPTCStubBase::Stub3()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x18): undefined reference to `nsXPTCStubBase::Stub4()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x1c): undefined reference to `nsXPTCStubBase::Stub5()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x20): undefined reference to `nsXPTCStubBase::Stub6()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x24): undefined reference to `nsXPTCStubBase::Stub7()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x28): undefined reference to `nsXPTCStubBase::Stub8()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x2c): undefined reference to `nsXPTCStubBase::Stub9()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x30): undefined reference to `nsXPTCStubBase::Stub10()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x34): undefined reference to `nsXPTCStubBase::Stub11()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x38): undefined reference to `nsXPTCStubBase::Stub12()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3c): undefined reference to `nsXPTCStubBase::Stub13()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x40): undefined reference to `nsXPTCStubBase::Stub14()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x44): undefined reference to `nsXPTCStubBase::Stub15()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x48): undefined reference to `nsXPTCStubBase::Stub16()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x4c): undefined reference to `nsXPTCStubBase::Stub17()'


... many more "undefined reference" lines ... until


../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3e0): undefined reference to `nsXPTCStubBase::Stub246()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3e4): undefined reference to `nsXPTCStubBase::Stub247()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3e8): undefined reference to `nsXPTCStubBase::Stub248()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3ec): undefined reference to `nsXPTCStubBase::Stub249()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3f0): undefined reference to `nsXPTCStubBase::Sentinel0()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3f4): undefined reference to `nsXPTCStubBase::Sentinel1()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3f8): undefined reference to `nsXPTCStubBase::Sentinel2()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x3fc): undefined reference to `nsXPTCStubBase::Sentinel3()' ../../xpcom/reflect/xptcall/xptcall.o:(.data.rel.ro._ZTV14nsXPTCStubBase[_ZTV14nsXPTCStubBase]+0x400): undefined reference to `nsXPTCStubBase::Sentinel4()'
ld: libxul.so: hidden symbol `_ZN14nsXPTCStubBase7Stub234Ev' isn't defined
ld: final link failed: Bad value
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory `/local/netbsd-src/pkgsrc/www/firefox/work.powerpc/build/toolkit/library'
gmake[2]: *** [toolkit/library/target] Error 2
gmake[2]: Leaving directory `/local/netbsd-src/pkgsrc/www/firefox/work.powerpc/build'
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory `/local/netbsd-src/pkgsrc/www/firefox/work.powerpc/build'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /local/netbsd-src/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox



Build log is at ftp://ftp.groessler.org/pub/chris/tmp/netbsd-macppc-firefox-build-log-new.bz2 .


regards,
chris



Home | Main Index | Thread Index | Old Index