Closed Bug 741720 Opened 12 years ago Closed 12 years ago

B2G should build with the arm-linux-androideabi toolchain

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: glandium, Unassigned)

References

Details

B2G currently builds with the old, pretty broken, arm-eabi toolchain from the android NDK. It should use the arm-linux-androideabi toolchain instead.

Another reason you should switch, besides the arm-eabi toolchain being awful, is that it doesn't contain the atomic intrinsics that the new jemalloc uses.

Yet another reason is that it would help make the glue/gonk/prebuilt repository lighter. Much lighter.
Mike, any chance we could rope you into making the switch for us? You know toolchains like nobody else.
From what I see in the B2G main Makefile, you're already using the arm-linux-androideabi toolchain for config-nexuss-ics. Maybe it would just work to change TOOLCHAIN_PATH default.
In that case this should take care of itself soon. We are killing GB over the next weeks.
So, one main thing that prevents this from being fixable is that the only toolchains available under toolchains/ (so, from a git repo pov, git://github.com/mozilla-b2g/b2g-toolchains.git), are linux-x86.
We switched to arm-linux-androideabi with the switch to ICS.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
... but the build slaves are still building for GB.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Depends on: 776045
GB builds of b2g are not a Tier I config, r+ on killing them on tb.
The slaves are building for ICS, with the arm-linux-androideabi toolchain now.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.