Closed
Bug 1214249
Opened 9 years ago
Closed 9 years ago
Raspberry-pi build error: failed to build libxul.so
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(firefox46 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: ck.vadla, Assigned: sotaro)
References
Details
Attachments
(2 files)
2.19 MB,
text/plain
|
Details | |
650 bytes,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
Build ID: 20150929144111
Steps to reproduce:
prepared my ubuntu12.04 machine as instructed here https://developer.mozilla.org/en-US/Firefox_OS/Firefox_OS_build_prerequisites#Ubuntu_12.04_Linux_Mint_13_Debian_6
git clone git://github.com/mozilla-b2g/B2G.git
cd B2G
BRANCH=master ./config.sh rpi
sudo VERBOSE=1 ./build.sh -j1 2>&1 | tee buildLog.txt
more info:
OS: Ubuntu 12.04.5 LTS
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~12.04)
g++ version 4.8
GNU ld (GNU Binutils for Ubuntu) 2.23.1 (upgraded from v2.22.x hoping to fix this issue)
Actual results:
build failed while linking libxul.so due to the error
RaspberryPi/B2G/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: hidden symbol 'sqrt' is not defined locally
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•9 years ago
|
OS: Linux → Unspecified
Hardware: x86_64 → Unspecified
Reporter | ||
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
'--with-arch=armv6' in the following seems to trigger the error.
https://github.com/mozilla-b2g/device-rpi/blob/master/BoardConfig.mk#L48
When I removed the above, I did not see the error.
Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #1)
> '--with-arch=armv6' in the following seems to trigger the error.
> https://github.com/mozilla-b2g/device-rpi/blob/master/BoardConfig.mk#L48
>
> When I removed the above, I did not see the error.
But we need to build for armv6.
Assignee | ||
Comment 3•9 years ago
|
||
The patch address the build failure on my environment.
Assignee | ||
Updated•9 years ago
|
Attachment #8700069 -
Flags: review?(mh+mozilla)
Updated•9 years ago
|
Attachment #8700069 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → sotaro.ikeda.g
Comment 5•9 years ago
|
||
bugherder |
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•