On Monday, 4 December 2017 19:19:33 GMT Walter Dnes wrote: > On Mon, Dec 04, 2017 at 10:34:48AM +0000, Peter Humphrey wrote > > > It doesn't build here; I get a few errors, thus: > > 9:41.58 ../../build/unix/gold/ld: error: /var/tmp/portage/www-client/ > > > > palemoon-27.6.2/work/palemoon-27.6.2/o/toolkit/library/../../media/ > > libstagefright/Unified_cpp_media_libstagefright0.o: requires dynamic > > R_X86_64_PC32 reloc against '_Z13GetDemuxerLogv' which may overflow at > > runtime; recompile with -fPIC > > ******************** > ******************** > > GCC is giving you a hint. Actually, I've run into other stuff in > Gentoo that breaks with PIE and PIC. Google is full of complaints for > other distros. I'm seriously considering sticking "-fno-pic -fno-pie" > into CFLAGS/CXXFLAGS before migrating to 17.0.
I've been waiting for shouts of horror at that suggestion, but all's quiet so I'll see if I can remember how to set -fpic in the environment of palemoon. I'd have expected the ebuild do that though. > And it'll also save me from rebuilding everything on every machine. My > ancient netbook with 2 gigs of ram will thank me. -- Regards, Peter.