[Bug 1711337] Re: Firefox crashes at start on armv7L after 55.0.1 update
Chituc Georgian
dianaxxyyzz at gmail.com
Wed Feb 28 20:40:22 UTC 2018
Here is what I did .
apt-get install build-essential fakeroot devscripts
apt-get build-dep firefox
apt-get install icecc
apt-get install clang-5.0
apt-get install python-dev
apt-get source firefox
cd firefox-58.0.2+build1/
export CC=clang-5.0
export CXX=clang++-5.0
export CCACHE_PREFIX=icecc
dpkg-buildpackage -b
After configure finish and it create stuff in obj-arm-linux-gnueabihf directory , when it started to compile I CTRL+C it .
It generated 3 mozconfig files witch next I eddit to add clang to them too
pico ./debian/config/mozconfig
pico mozconfig
pico browser/config/mozconfig
I added to all this mozconfig files at the top of files :
mk_add_options 'export CCACHE_PREFIX=icecc'
export CC=clang-5.0
export CXX=clang++-5.0
Next all I did was inside obj-arm-linux-gnueabihf directory the dir in witch it compiles all .
So I did not modified the firefox source ,I just adapted the generated backend.mk from obj-arm-linux-gnueabihf and restarted the build process teling him to not clean .
I had to modify :
firefox-58.0.2+build1/obj-arm-linux-gnueabihf/media/libpng/backend.mk and change "-std=c89" to "-std=gnu89"
firefox-58.0.2+build1/obj-arm-linux-gnueabihf/media/ffvpx/libavutil/backend.mk added to the last line -std=gnu99
firefox-58.0.2+build1/obj-arm-linux-gnueabihf/media/ffvpx/libavutil/backend.mk added to the last line -std=c99
Next I restarted the build process teling him to not clean so it did not
deleted my modified mozconfig and did not deleted obj-arm-linux-
gnueabihf directory , it just startd gain compilation using my
modifications .
dpkg-buildpackage -b -nc
If you see any other compile errors expect them to be from incorect
"-std=" , mising or wrong one and just modify backend.mk for the libs
witch fails in the firefox-58.0.2+build1/obj-arm-linux-gnueabihf/ and
restart using "dpkg-buildpackage -b -nc" so it to do not clean your
modifications .
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1711337
Title:
Firefox crashes at start on armv7L after 55.0.1 update
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1711337/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list