Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2016 20:21:42 -0500
From:      Omar S <omars1234@gmail.com>
To:        gecko@freebsd.org
Subject:   Re: build failure for firefox 50.0.1 on FB10.3
Message-ID:  <CA%2B%2BoXvTs4ftr33mGamgANFhmvqG=DSEFfsppNuh4WStWcagt7g@mail.gmail.com>
In-Reply-To: <CA%2B%2BoXvQLZW3GdnguveUpuvzkn_DcvbUkAWsjbL_isgzBWZ_TnA@mail.gmail.com>
References:  <CA%2B%2BoXvQLZW3GdnguveUpuvzkn_DcvbUkAWsjbL_isgzBWZ_TnA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <omars1234@gmail.com> 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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B%2BoXvTs4ftr33mGamgANFhmvqG=DSEFfsppNuh4WStWcagt7g>