firefox-esr 52 patches for wheezy

Mike Hommey mh at glandium.org
Wed May 10 09:03:51 UTC 2017


On Wed, May 10, 2017 at 10:54:04AM +0200, Emilio Pozuelo Monfort wrote:
> > -fPIC is passed by the Firefox build system itself. If it's missing, then
> > something fishy is going on, and you're only papering over that. Also,
> > the last version I built packages for wheezy for, 47, didn't have
> > missing -fPIC problems, and nothing of note has changed between 47 and
> > 49 wrt that.
> 
> Where does Firefox inject -fPIC? I see mentions of -fPIC in old-configure, but
> that sounds unused. Is the -fPIC injection unconditional or conditional? One
> change is the switch from gcc-4.7 to gcc-mozilla (4.8) which is built especially
> so that the libraries are not shared. Dunno if that would have any effect on
> Firefox's detection. I could try to build the old firefox 45 with it and see
> what happens.

It's unconditional. It's set in old-configure through the DSO_PIC_CFLAGS variable,
which is added to COMPILE_C*FLAGS in config/config.mk, and that in turn
is used in compile commands config/rules.mk.

Mike



More information about the pkg-mozilla-maintainers mailing list