Re: build failure for firefox 50.0.1 on FB10.3

2016-12-10 Thread Jan Beich
Omar S  writes:

> This is where the failure occurs:
> INPUT("../../gfx/skia/Unified_cpp_gfx_skia8.o")
> INPUT("../../gfx/skia/Unified_cpp_gfx_skia9.o")
> INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")
>
> /usr/local/bin/ld: ../../xpcom/components/nsComponentManager.o: relocation
> R_X86_64_PC32 against protected symbol `start_kPStaticModules_NSModule' can
> not be used when making a shared object

Looks like https://gnats.netbsd.org/50767 which has a workaround. Maybe
check if it fixes the build for you without causing a crash on startup.
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: build failure for firefox 50.0.1 on FB10.3

2016-12-09 Thread Omar S
Hello,

Same experience for the two newer port revs released since my initial
email. Most recent test again
# $FreeBSD: head/www/firefox/Makefile 428261 2016-12-09 23:23:56Z jbeich $

And same results with all config options (except Alsa sound and GTK2) unset.

Same error in the same spot:
INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")

/usr/pkg/bin/ld: ../../xpcom/components/nsComponentManager.o: relocation
R_X86_64_PC32 against protected symbol `start_kPStaticModules_NSModule' can
not be used when making a shared object
/usr/pkg/bin/ld: final link failed: Bad value

Advice appreciated...

-omar


On Thu, Dec 1, 2016 at 1:41 PM, Omar S  wrote:

> Hi,
>
> The firefox port since ff50.0 fails to link on 10.3-releng.
>
> Tested on two machines, recursive ports rebuild (no other failures), same
> result each time. ff49 and the previous firefox releases have built fine on
> the same systems. All versions of ff50 have failed the same way.
>
> System: FreeBSD indrani 10.3-RELEASE-p11 FreeBSD 10.3-RELEASE-p11 #3
> r308065
>
> Port rev: # $FreeBSD: head/www/firefox/Makefile 427388 2016-11-29
> 17:54:52Z jbeich $
> (ports tree is current)
>
> This is where the failure occurs:
> INPUT("../../gfx/skia/Unified_cpp_gfx_skia8.o")
> INPUT("../../gfx/skia/Unified_cpp_gfx_skia9.o")
> INPUT("StaticXULComponentsEnd/StaticXULComponentsEnd.o")
>
> /usr/local/bin/ld: ../../xpcom/components/nsComponentManager.o:
> relocation R_X86_64_PC32 against protected symbol 
> `start_kPStaticModules_NSModule'
> can not be used when making a shared object
> /usr/local/bin/ld: final link failed: Bad value
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> gmake[7]: *** [/usr/ports/www/firefox/work/firefox-50.0.1/config/rules.
> mk:819: libxul.so] Error 1
> gmake[7]: Leaving directory '/usr/ports/www/firefox/work/
> firefox-50.0.1/obj-x86_64-unknown-freebsd10.3/toolkit/library'
> gmake[6]: *** [/usr/ports/www/firefox/work/firefox-50.0.1/config/recurse.
> mk:71: toolkit/library/target] Error 2
> gmake[6]: Leaving directory '/usr/ports/www/firefox/work/
> firefox-50.0.1/obj-x86_64-unknown-freebsd10.3'
> gmake[5]: *** [/usr/ports/www/firefox/work/firefox-50.0.1/config/recurse.
> mk:33: compile] Error 2
> gmake[5]: Leaving directory '/usr/ports/www/firefox/work/
> firefox-50.0.1/obj-x86_64-unknown-freebsd10.3'
> gmake[4]: *** [/usr/ports/www/firefox/work/firefox-50.0.1/config/rules.
> mk:540: default] Error 2
> gmake[4]: Leaving directory '/usr/ports/www/firefox/work/
> firefox-50.0.1/obj-x86_64-unknown-freebsd10.3'
> gmake[3]: *** [/usr/ports/www/firefox/work/firefox-50.0.1/client.mk:413:
> realbuild] Error 2
> gmake[3]: Leaving directory '/usr/ports/www/firefox/work/firefox-50.0.1'
> gmake[2]: *** [/usr/ports/www/firefox/work/firefox-50.0.1/client.mk:168:
> build] Error 2
> gmake[2]: Leaving directory '/usr/ports/www/firefox/work/firefox-50.0.1'
> ===> Compilation failed unexpectedly.
>
> Any advice?
>
> Thanks,
> -omar
>
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"


Re: build failure for firefox 50.0.1 on FB10.3

2016-12-01 Thread Christoph Moench-Tegeder
## Omar S (omars1...@gmail.com):

> /usr/local/bin/ld: ../../xpcom/components/nsComponentManager.o: relocation
> R_X86_64_PC32 against protected symbol `start_kPStaticModules_NSModule' can
> not be used when making a shared object

There it is. binutils ld (/usr/local/bin/ld) doesn't play nice here.
Try putting the /usr/local elements at the end of $PATH, not in front
(at least for the build).

Regards,
Christoph

-- 
Spare Space
___
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"