Date: Sun, 18 Dec 2016 15:05:55 -0500 From: Omar S <omars1234@gmail.com> To: Jan Beich <jbeich@freebsd.org> Cc: gecko@freebsd.org Subject: Re: build failure for firefox 50.0.1 on FB10.3 Message-ID: <CA%2B%2BoXvQqjeDiJE4xgEqYz8yD7e9Caf%2B0w_%2BfRyjYGQS6UH6qAQ@mail.gmail.com> In-Reply-To: <20161211004530.D7EEB4C15@freefall.freebsd.org> References: <CA%2B%2BoXvQLZW3GdnguveUpuvzkn_DcvbUkAWsjbL_isgzBWZ_TnA@mail.gmail.com> <20161211004530.D7EEB4C15@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 10, 2016 at 7:45 PM, Jan Beich <jbeich@freebsd.org> wrote: > Omar S <omars1234@gmail.com> 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. > Hello Jan, Thanks for the followup. Your response sounded like my build problem was not shared by many others, so I took another look, focused on my build environment, and tracked down the problem. Looks like the problem was caused by having $LOCALBASE first on my path (ie, /usr/local/bin). I suspect that's the fault of binutils, though I didn't retest thoroughly enough to determine which binary is at fault. "ld" seems like a likely candidate. The 10.3 /usr/bin/ld is: GNU ld 2.17.50 [FreeBSD] 2007-07-03 While the current (ports) binutils /usr/local/bin/ld is: GNU ld (GNU Binutils) 2.27 Just thought I'd share that in case others report the same problem. I didn't experience this issue prior to ff50 (but binutils may have changed also). -omar
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B%2BoXvQqjeDiJE4xgEqYz8yD7e9Caf%2B0w_%2BfRyjYGQS6UH6qAQ>