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)

defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
Tracking Status
firefox46 --- fixed

People

(Reporter: ck.vadla, Assigned: sotaro)

References

Details

Attachments

(2 files)

Attached file buildLog.txt
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
Blocks: fxos-rpi
OS: Gonk (Firefox OS) → Linux
Hardware: ARM → x86_64
OS: Linux → Unspecified
Hardware: x86_64 → Unspecified
Blocks: 1103281
No longer blocks: fxos-rpi
'--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.
(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.
The patch address the build failure on my environment.
Attachment #8700069 - Flags: review?(mh+mozilla)
Attachment #8700069 - Flags: review?(mh+mozilla) → review+
Assignee: nobody → sotaro.ikeda.g
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: