pkgsrc-Users archive

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

Re: firefox52 fails to compile on linux sparc



On Thu, Jul 9, 2020 at 12:09 AM Connor McLaughlan <cont6pro3%gmail.com@localhost> wrote:
>
> On Wed, Jul 8, 2020 at 10:14 PM Connor McLaughlan <cont6pro3%gmail.com@localhost> wrote:
>
> > Any idea how i can fix this?
>
> The issue is described and discussed between relevant netbsd and
> debian people right here :) :
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1273764
>
> As i am using pkgsrc on debian sparc 64bit, i will try if the
> suggested changes work.


I am now almost there and reached linking.

However it won't link:


   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("../../modules/woff2/Unified_cpp_modules_woff20.o")
    INPUT("../../media/psshparser/Unified_cpp_media_psshparser0.o")
    INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

../../build/unix/gold/ld: error:
/usr/pkgsrc/www/firefox52/work/build/toolkit/library/../../xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_linux_GCC3.o:
multiple definition of 'NS_InvokeByIndex'
../../build/unix/gold/ld:
/usr/pkgsrc/www/firefox52/work/build/toolkit/library/../../xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_sparc_linux_GCC3.o:
previous definition here
../../build/unix/gold/ld: error:
/usr/pkgsrc/www/firefox52/work/build/toolkit/library/../../xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparc_solaris.o:
multiple definition of 'SharedStub'
../../build/unix/gold/ld:
/usr/pkgsrc/www/firefox52/work/build/toolkit/library/../../xpcom/reflect/xptcall/md/unix/xptcstubs_asm_sparc_solaris.o:
previous definition here
collect2: error: ld returned 1 exit status
make[3]: *** [/usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/rules.mk:802:
libxul.so] Error 1
make[3]: Leaving directory
'/usr/pkgsrc/www/firefox52/work/build/toolkit/library'
make[2]: *** [/usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/recurse.mk:71:
toolkit/library/target] Error 2
make[2]: Leaving directory '/usr/pkgsrc/www/firefox52/work/build'
make[1]: *** [/usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/recurse.mk:33:
compile] Error 2
make[1]: Leaving directory '/usr/pkgsrc/www/firefox52/work/build'
make: *** [/usr/pkgsrc/www/firefox52/work/firefox-52.9.0esr/config/rules.mk:523:
all] Error 2
*** Error code 2

Stop.

How can i avoid/fix those errors?


Regards,
Connor


Home | Main Index | Thread Index | Old Index