Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682562 - >=www-client/firefox-66.0.2 with USE="lto" fails to compile for arm with: ccuBxeIi.ltrans0.ltrans.o(.text+0xc): error: undefined reference to '_PrepareAndDispatch'
Summary: >=www-client/firefox-66.0.2 with USE="lto" fails to compile for arm with: ccu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-05 05:37 UTC by tt_1
Modified: 2019-04-14 06:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
compressed build.log (firefox-66.0-lto-armhf.log.zip,391.87 KB, application/zip)
2019-04-05 05:37 UTC, tt_1
Details
emerge --info from cross-emerge (emerge-info-armv7a,4.95 KB, text/plain)
2019-04-05 05:39 UTC, tt_1
Details
upstream patch (mozbg-1538236.patch,2.67 KB, patch)
2019-04-05 05:44 UTC, tt_1
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2019-04-05 05:37:51 UTC
Created attachment 571896 [details]
compressed build.log

from the build log:

27:12.99 lto1: note: disable pass ipa-cdtor for functions in the range of [0, 4294967295]
27:12.99 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-66.0-r1/temp/ccuBxeIi.ltrans0.ltrans.o(.text+0xc): error: undefined reference to '_PrepareAndDispatch'
27:12.99 /usr/armv7a-unknown-linux-gnueabihf/tmp/portage/www-client/firefox-66.0-r1/temp/ccuBxeIi.ltrans26.ltrans.o:<artificial>:function mozilla::gfx::OpenVRSession::SetupContollerActions(): warning: the use of `tmpnam' is dangerous, better use `mkstemp'

full log is attached.
Comment 1 tt_1 2019-04-05 05:39:35 UTC
Created attachment 571898 [details]
emerge --info from cross-emerge

it's a cross-compile, but that shouldn't make a difference.
Comment 2 tt_1 2019-04-05 05:40:22 UTC
upstream bug added
Comment 3 tt_1 2019-04-05 05:44:24 UTC
Created attachment 571900 [details, diff]
upstream patch

Right now, the patch is in autoland, and it will be merged into 68.0. 

Can you add it to the relevant patchset in the meantime, please?
Comment 4 tt_1 2019-04-05 11:17:23 UTC
patch is now merged into mozilla-central: https://hg.mozilla.org/mozilla-central/rev/576f9e652a20
Comment 5 tt_1 2019-04-14 06:14:09 UTC
patch got uplifted to 67.0beta10 or so, closing.