Closed
Bug 1121600
Opened 9 years ago
Closed 6 years ago
[keon][inari][otoro][build] b2g build fails with toolchain error gcc < 4.6
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-b2g:2.2?)
RESOLVED
WONTFIX
blocking-b2g | 2.2? |
People
(Reporter: stoyan, Unassigned)
References
Details
Attachments
(7 files, 2 obsolete files)
279.75 KB,
text/x-log
|
Details | |
553 bytes,
text/plain
|
Details | |
52 bytes,
text/x-github-pull-request
|
mwu
:
review+
|
Details | Review |
52 bytes,
text/x-github-pull-request
|
mwu
:
review+
|
Details | Review |
52 bytes,
text/x-github-pull-request
|
_AtilA_
:
review+
|
Details | Review |
52 bytes,
text/x-github-pull-request
|
_AtilA_
:
review+
|
Details | Review |
52 bytes,
text/x-github-pull-request
|
_AtilA_
:
review+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 Build ID: 20141127111021 Steps to reproduce: I ran the build script against v2.2 branch as usally: ./config.sh inari ./build.sh Actual results: Prebuild toolchain error occured: configure: error: Only GCC 4.6 or newer supported Expected results: The build process should compile clean. The platform is Ubuntu 14.04 with properly cofigured host compilers. The device is inari.
Reporter | ||
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Component: Infrastructure → General
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
Updated•9 years ago
|
Summary: [inari][build] b2g build fails with toolchain error gcc < 4.6 → [inari][otoro][build] b2g build fails with toolchain error gcc < 4.6
Updated•9 years ago
|
Assignee: nobody → lissyx+mozillians
Comment 3•9 years ago
|
||
Attachment #8551843 -
Flags: review?(mwu)
Attachment #8551843 -
Flags: feedback?(poirot.alex)
Updated•9 years ago
|
Attachment #8551843 -
Attachment is obsolete: true
Attachment #8551843 -
Flags: review?(mwu)
Attachment #8551843 -
Flags: feedback?(poirot.alex)
Comment 4•9 years ago
|
||
Attachment #8551844 -
Flags: review?(mwu)
Attachment #8551844 -
Flags: feedback?(poirot.alex)
Comment 5•9 years ago
|
||
Comment on attachment 8551844 [details] [review] Manifest update I don't know about otoro (I don't have this device) But I applied the same modification to unagi.xml and was able to use my phones again!!
Attachment #8551844 -
Flags: feedback?(poirot.alex)
Comment 6•9 years ago
|
||
Hmm does the b2g_ics_strawberry branch on bionic work? I would prefer that if we can, though this is probably fine too if we can't.
Reporter | ||
Comment 7•9 years ago
|
||
(In reply to Michael Wu [:mwu] from comment #6) > Hmm does the b2g_ics_strawberry branch on bionic work? I would prefer that > if we can, though this is probably fine too if we can't. b2g_ics_strawberry works. I built master against it. Although not flashed the images but the gecko and gaia separately they work.
Comment 8•9 years ago
|
||
Comment on attachment 8551844 [details] [review] Manifest update r=me with a switch to b2g_ics_strawberry
Attachment #8551844 -
Flags: review?(mwu) → review+
Comment 9•9 years ago
|
||
(In reply to Alexandre Poirot [:ochameau] from comment #5) > I don't know about otoro (I don't have this device) > But I applied the same modification to unagi.xml and was able to use my > phones again!! I'm confused - how would I apply this locally? I don't have either otoro.xml or unagi.xml in my B2G tree.
Reporter | ||
Comment 10•9 years ago
|
||
(In reply to Emanuel Hoogeveen [:ehoogeveen] from comment #9) > I'm confused - how would I apply this locally? I don't have either otoro.xml > or unagi.xml in my B2G tree. It's in .repo/manifests
Comment 11•9 years ago
|
||
Thanks! I didn't realize searching excludes hidden directories by default. Rookie mistake I guess :)
Reporter | ||
Comment 12•9 years ago
|
||
Is it just me or Gecko and Gaia are building and flashing ok with only Gonk(?) failing? I am talking about branch v2.2.
Comment 13•9 years ago
|
||
Alex told me to takeover this bug. This PR changes bionic to ics_strawberry and downloads the gcc-4.8 toolchain.
Assignee: lissyx+mozillians → atilag
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #8557358 -
Flags: review?(mwu)
Updated•9 years ago
|
Attachment #8557358 -
Flags: review?(mwu) → review+
Comment 14•9 years ago
|
||
https://github.com/mozilla-b2g/b2g-manifest/commit/8d20780ba6c30f12e4f36552ffe167e187e6d907
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 15•9 years ago
|
||
I still get this error building the v2.2 branch on a freshly cloned tree: git clone git://github.com/mozilla-b2g/B2G.git VARIANT=user BRANCH=v2.2 ./config.sh inari [copy over saved backup-inari folder] [create .userconfig with |export CC=gcc-4.6| and |export CXX=g++-4.6| in it] VARIANT=user BRANCH=v2.2 ./build.sh gives me [...] configure:3164: checking for arm-linux-android-otool configure: error: Only GCC 4.6 or newer supported
Flags: needinfo?(atilag)
Comment 16•9 years ago
|
||
This is because the method to detect the toolchain it's only implemented on master branch of platform_build project. There's no support for other branches than master even for other devices (except for b2g-4.2.2_r1). Don't know if it worths implementing it. Michael, What do you think?
Flags: needinfo?(mwu)
Updated•9 years ago
|
Flags: needinfo?(atilag)
Comment 18•9 years ago
|
||
Any update on this? v2.2 still fails to build on inari (and I assume unagi and otoro as well). master compiles just fine, as do v2.1 and v2.1s, although master is giving me a "Too many links" error when I try to flash the system partition. It's really odd that master theoretically works, but v2.2 is broken forever :\
Updated•9 years ago
|
Flags: needinfo?(mwu)
Comment 19•9 years ago
|
||
Hi, this error is still present, I tried today compile the 2.2 branch and got this error. Any solution? v1.4,v2.0 and v2.1 can compile, I will try with master now.
Reporter | ||
Comment 20•9 years ago
|
||
(In reply to Penserbjorne - MexMod from comment #19) > Hi, this error is still present, I tried today compile the 2.2 branch and > got this error. > Any solution? v1.4,v2.0 and v2.1 can compile, I will try with master now. Don't waste your time. master fails with other errors.
Comment 21•9 years ago
|
||
Yes, master can't compile for Inari. Hamachi is ok in all branches, but Inari isn't in 2.2 and master.
Comment 22•9 years ago
|
||
The same error (configure: error: Only GCC 4.6 or newer supported) occurs compiling for Geeksphone peak. After GP finished support for the peak and keon devices, we users must compile the further versions of FFOS. 2.2 seems to be usable, so the possibility to compile it is essential (for us). Is there any way to cheat the toolchain detection? Thank you Rick
Comment 23•9 years ago
|
||
FYI, same error for Geeksphone Keon.
Comment 24•9 years ago
|
||
These devices are "officially" unsupported, but they can be fixed. I leave the ownership in case someone else wants to fix it, I could once I finish my actual development, but it's going to take me some time...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 25•9 years ago
|
||
Attachment #8630983 -
Flags: review?(atilag)
Comment 26•9 years ago
|
||
Comment on attachment 8630983 [details] Bug 1121600 - Fixed keon.xml manifest for branch v2.2. r=_AtilA_ >https://github.com/mozilla-b2g/b2g-manifest/pull/355
Comment 27•9 years ago
|
||
Bug 1121600 - Fixed keon.xml manifest for branch v2.0. r=_AtilA_
Attachment #8630984 -
Flags: review?(atilag)
Comment 28•9 years ago
|
||
Comment on attachment 8630983 [details] Bug 1121600 - Fixed keon.xml manifest for branch v2.2. r=_AtilA_ >https://github.com/mozilla-b2g/b2g-manifest/pull/355_AtilA_
Attachment #8630983 -
Attachment description: Bug 1121600 - Fixed manifests for branch v2.2. r=_AtilA_ → Bug 1121600 - Fixed keon.xml manifest for branch v2.2. r=_AtilA_
Comment 29•9 years ago
|
||
Comment on attachment 8630983 [details] Bug 1121600 - Fixed keon.xml manifest for branch v2.2. r=_AtilA_ >https://github.com/mozilla-b2g/b2g-manifest/pull/355
Comment 30•9 years ago
|
||
Comment on attachment 8630983 [details] Bug 1121600 - Fixed keon.xml manifest for branch v2.2. r=_AtilA_ >https://github.com/mozilla-b2g/b2g-manifest/pull/355
Comment 31•9 years ago
|
||
Bug 1121600 - Fixed manifests for branch v2.2. r=_AtilA_
Attachment #8630983 -
Attachment is obsolete: true
Attachment #8630983 -
Flags: review?(atilag)
Attachment #8630987 -
Flags: review?(atilag)
Updated•9 years ago
|
Attachment #8630987 -
Attachment description: Bug 1121600 - Fixed keon.xml manifest for branch v2.0. r=_AtilA_ → Bug 1121600 - Fixed keon.xml manifest for branch v2.2. r=_AtilA_
Updated•9 years ago
|
Attachment #8630984 -
Flags: review?(atilag) → review+
Updated•9 years ago
|
Attachment #8630987 -
Flags: review?(atilag) → review+
Comment 32•9 years ago
|
||
https://github.com/mozilla-b2g/b2g-manifest/commit/77fa072dec9c9a26b180279a7b040e3c01921233 (Keon v2.0 changes)
Comment 33•9 years ago
|
||
https://github.com/mozilla-b2g/b2g-manifest/commit/4780e608ea7f0aff48876a6e8459caad0fb3d62a (Keon v2.2 changes)
Updated•9 years ago
|
Summary: [inari][otoro][build] b2g build fails with toolchain error gcc < 4.6 → [keon][inari][otoro][build] b2g build fails with toolchain error gcc < 4.6
Updated•9 years ago
|
Assignee: atilag → nobody
Comment 34•9 years ago
|
||
Bug fixed by contributor :avrelaun #b2g
Attachment #8640075 -
Flags: review+
Comment 35•9 years ago
|
||
https://github.com/mozilla-b2g/b2g-manifest/commit/acafa4ba5e2ece6638dea8ce48d581b28ada74ca
Comment 36•9 years ago
|
||
(In reply to Juan Gomez [:_AtilA_] (CEST) from comment #35) > https://github.com/mozilla-b2g/b2g-manifest/commit/ > acafa4ba5e2ece6638dea8ce48d581b28ada74ca this commit is in master but the problem still persist in keon builds ./build.sh gecko ... configure:3163: checking for arm-linux-android-otool configure: error: Only GCC 4.6 or newer supported ...
blocking-b2g: --- → 2.2?
Comment 37•9 years ago
|
||
avrelaun, do you have time to fix that on v2.2 branch? Just change v2.2 branch on b2g-manifest/keon.xml so that platform_build component points to "3ce5007ab3562021551a35e2c06d323d1e8ee048" (currently master) revision, and make a fresh build to check that all is working fine.
Flags: needinfo?(avrelaun)
Comment 38•9 years ago
|
||
(In reply to Juan Gomez [:_AtilA_] (CEST) from comment #37) > ... > Just change v2.2 branch on b2g-manifest/keon.xml so that platform_build > component points to "3ce5007ab3562021551a35e2c06d323d1e8ee048" (currently > master) revision, and make a fresh build to check that all is working fine. Trying the fix that point @_AtilA_ and stop the gcc version error, but the commit https://github.com/mozilla-b2g/b2g-manifest/commit/acafa4ba5e2ece6638dea8ce48d581b28ada74ca create a fetch sync error, note this repo poits is also on master, trying now with the olds bionic references from past commits
Comment 39•9 years ago
|
||
Can you also do this for Geeksphone peak? Or is a new bug-report required for this?
Comment 40•9 years ago
|
||
Daniel, do the old buonic references work? Matthias, do it here, it would be better to track all those devices, I guess.
Comment 41•9 years ago
|
||
@adrian no, I get another bunch of different errors, the problem now is the latest bionic triggering the fetch error, may be a new bug ticket.
Comment 42•9 years ago
|
||
Daniel, I was able to compile a build for the 2.5. Would it help as a reference for your branch?
Comment 43•9 years ago
|
||
@Adrian ok I will test this night the bot branches again with the Atila's fix if any problem
Comment 44•9 years ago
|
||
hi! Good News: I was able to compile FFOS 2.5 for peak. Bad News: The phone currently goes black and restarts every minute or when I press the on/off-button. BUt I think thats a problem with the screensaver. It's only happening on 2.5 and not on central. Oh, yes, central also works on peak. I didn't try 2.2 because it will be "outdated" in the near future ;) For the problem with the screensaver I will open a new bug (or search for an open one) if it is still existing in one week. (Maybe its just an unfinished "feature") Until then I will stay with 2.1 Thanks everybody and good night.
Comment 45•9 years ago
|
||
Hi Matthias, The master branches never had any issue to compile. About the bug, we are discussing it here: https://bugzilla.mozilla.org/show_bug.cgi?id=1195029
Comment 46•9 years ago
|
||
Hi! I posted my solution for display off in https://bugzilla.mozilla.org/show_bug.cgi?id=1195029 There are only two tiny little nuisances left, which I can't figure out on my own: 1) Even with using BRANCH=2.5 on ./config.sh the info on the phone says it uses version 2.6.0.0 with gecko 45 instead of 2.5.0.0 and 44. Is the 2.5 branch not completely revised yet or is this part of the solution for the toolchain error in this bug? 2) There is a bugzilla-lite app on the phone and also a little bugzilla symbol in the statusbar. Can I somehow get rid of these or is this part of 2.5? I double-checked that I didn't use any of the DEBUG options for ./build.sh or .userconfig wkr Matthias
Updated•8 years ago
|
Flags: needinfo?(avrelaun)
Comment 47•6 years ago
|
||
Firefox OS is not being worked on
Status: REOPENED → RESOLVED
Closed: 9 years ago → 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•