Closed
Bug 1211375
Opened 9 years ago
Closed 7 years ago
Flatfish build fails with toolchain error gcc < 4.7
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: tzimmermann, Unassigned)
References
Details
(Whiteboard: [TCP][Flatfish])
Attachments
(1 file)
13.25 KB,
text/x-log
|
Details |
That's the same error as 1121600.
Reporter | ||
Comment 1•9 years ago
|
||
configure.sjis actually looking for gcc 4.7
configure:3104: checking whether we are using GNU C++
configure:3113: /home/mozilla/Projects/mozilla/src/B2G-master-flatfish/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-g++ -E conftest.C
configure:3132: checking whether /home/mozilla/Projects/mozilla/src/B2G-master-flatfish/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-g++ accepts -g
configure:3169: checking for arm-linux-androideabi-ranlib
configure:3204: checking for arm-linux-androideabi-ar
configure:3239: checking for arm-linux-androideabi-as
configure:3274: checking for arm-linux-androideabi-ld
configure:3309: checking for arm-linux-androideabi-strip
configure:3344: checking for arm-linux-androideabi-windres
configure:3344: checking for arm-linux-android-windres
configure:3379: checking for arm-linux-androideabi-otool
configure:3379: checking for arm-linux-android-otool
configure: error: Only GCC 4.7 or newer supported
*** Fix above errors and then restart with\
"make -f client.mk build"
make[3]: *** [configure] Error 1
Summary: Flatfish fails with toolchain error gcc < 4.6 → Flatfish fails with toolchain error gcc < 4.7
Reporter | ||
Comment 2•9 years ago
|
||
Reporter | ||
Updated•9 years ago
|
Summary: Flatfish fails with toolchain error gcc < 4.7 → Flatfish build fails with toolchain error gcc < 4.7
Reporter | ||
Comment 3•9 years ago
|
||
Hi Juan, do you have an idea what might be the problem here? It worked until recently.
Flags: needinfo?(atilag)
Comment 4•9 years ago
|
||
I just try to built a fresh clone and worked for me (well, is not building because some error later, but nothing related to this bug). You are trying to build master branch, right?
Flags: needinfo?(jgomez)
Reporter | ||
Comment 5•9 years ago
|
||
Yes, I do. But let me try again.
Reporter | ||
Comment 6•9 years ago
|
||
It still doesn't build for me. Same error as before. I deleted the old build and local copies and did a clean checkout. Everything's at the latest master.
Reporter | ||
Comment 7•9 years ago
|
||
I build with
BRANCH="master" ./config.sh -j2 flatfish
Comment 8•9 years ago
|
||
Ok, so finally we found what's happening. Make 3.82 has changed $(wildcard ) function behavior [1]. But the documentation says that this function shouldn't be trusted for getting sorted values in a backward-compatible way, so we need to fix build/core/combo/TARGET_linux-arm.mk (lines 50-58) to sort the toolchains found, in a reliable way.
Comment 9•9 years ago
|
||
[1] https://bugzilla.redhat.com/show_bug.cgi?id=635607
Anyway, in the meantime and as a workaround, try to downgrade to Make 3.81.
Updated•9 years ago
|
Hardware: All → ARM
Whiteboard: [TCP][Flatfish]
Comment 10•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•