Closed
Bug 1122932
Opened 10 years ago
Closed 10 years ago
[FlatFish] Upgrade toolchain version to gcc.4.8
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: _AtilA_, Assigned: _AtilA_)
References
Details
(Whiteboard: [TCP][Flatfish])
Attachments
(2 files, 1 obsolete file)
We are facing some build errores on Flatfish that can be solved by upgarding the toolchain to a newer one. Right now Flatfish is based un gcc-4.6 (Jelly Bean 4.2), and the plan is to upgrade the toolchain to gcc-4.8 (as we did with ICS devices recently)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → atilag
Whiteboard: [TCP][Flatfish]
Assignee | ||
Updated•10 years ago
|
Blocks: flatfish
Summary: [FlatFish] Upgrade toolchain to build Gecko to gcc-4.8 → [FlatFish] Upgrade toolchain version to gcc.4.8
Comment 1•10 years ago
|
||
Hi Juan,
Do you mean the build break for https://bugzilla.mozilla.org/show_bug.cgi?id=1121869 ?
I try to check the gcc neon capacity before use that.
Assignee | ||
Comment 2•10 years ago
|
||
Yes, this is fixed with gcc-4.8 (and some others related)
Assignee | ||
Comment 3•10 years ago
|
||
In Jelly Bean based systems, toolchains are downloaded to prebuilts/ directory. As we could have two different toolchains to compile Gonk and Gecko, and both are in the same directory, I modified the build system to get the most recent one found. $(wildcard /path/arm-linux-androideabi*/arm-linux-androideabi- ) get a list of directories sorted by name, so the last version should be the last in the list. $(word $(words list ), list) gets the last one.
Another approach could be putting the toolchain alone in a separated directory.
Attachment #8550873 -
Flags: review?(mwu)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8550874 -
Flags: review?(mwu)
Assignee | ||
Comment 5•10 years ago
|
||
gerard-majax noticed that I was PRing against master. I would like to have these changes in master too, but for this bug I should PR against b2g-4.2.2_r1.
Attachment #8550873 -
Attachment is obsolete: true
Attachment #8550873 -
Flags: review?(mwu)
Attachment #8550890 -
Flags: review?(mwu)
Comment 6•10 years ago
|
||
I still cannot build for Flatfish because of :
In file included from Unified_cpp_dom_system_gonk0.cpp:38:0:
../../../../gecko/dom/system/gonk/GonkGPSGeolocationProvider.cpp: In member function 'void GonkGPSGeolocationProvider::StartGPS()':
../../../../gecko/dom/system/gonk/GonkGPSGeolocationProvider.cpp:676:8: error: unused variable 'singleShot' [-Werror=unused-variable]
bool singleShot = false;
^
In file included from Unified_cpp_dom_system_gonk0.cpp:38:0:
../../../../gecko/dom/system/gonk/GonkGPSGeolocationProvider.cpp: At global scope:
../../../../gecko/dom/system/gonk/GonkGPSGeolocationProvider.cpp:60:20: error: 'kNetworkConnStateChangedTopic' defined but not used [-Werror=unused-variable]
static const char* kNetworkConnStateChangedTopic = "network-connection-state-changed";
Assignee | ||
Comment 7•10 years ago
|
||
Yeah, but they are tracked by bug 1121907
Have patches for them too.
Updated•10 years ago
|
Attachment #8550890 -
Flags: review?(mwu) → review+
Updated•10 years ago
|
Attachment #8550874 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 8•10 years ago
|
||
https://github.com/mozilla-b2g/platform_build/commit/8edf4aafc0c787da24cd31b09b82e861c87a8445
https://github.com/mozilla-b2g/b2g-manifest/commit/2e571288f2944a95169c1ccfecfebb97992eb48f
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•