Platform does not compile with linaro gcc 4.4

Bug #794968 reported by Alexander Sack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
High
Zach Pfeffer

Bug Description

unitialized variables exposed in dalik cause build error when building with linaro gcc 4.4 in:

https://android-build.linaro.org/builds/~asac/test-panda-toolchain-4-4/#build=2
Log: https://android-build.linaro.org/jenkins/job/asac_test-panda-toolchain-4-4/2/consoleText

cc1: warnings being treated as errors
dalvik/vm/alloc/Heap.c: In function 'dvmCollectGarbageInternal':
dalvik/vm/alloc/Heap.c:578: error: 'dirtySuspend' may be used uninitialized in this function
dalvik/vm/alloc/Heap.c:578: error: 'dirtyStart' may be used uninitialized in this function
dalvik/vm/alloc/Heap.c:577: error: 'rootEnd' may be used uninitialized in this function
dalvik/vm/alloc/Heap.c:578: error: 'dirtyEnd' may be used uninitialized in this function
make: *** [out/target/product/pandaboard/obj/SHARED_LIBRARIES/libdvm_intermediates/alloc/Heap.o] Error 1

guess fixing for gcc 4.4 and validating that it works should be first step for 4.5 and 4.6 later on.

Revision history for this message
Alexander Sack (asac) wrote :

since 4.5 is really picky and since we use google 4.4 toolchain by default atm, fixing this with linaro 4.4 should be first step i guess and should definitely be tried for 11.06

Zach Pfeffer (pfefferz)
Changed in linaro-android:
importance: Undecided → High
milestone: none → 11.06
Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: nobody → Zach Pfeffer (pfefferz)
status: New → In Progress
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

We're not going to ship an official build with 4.4 but a build exists and has been tested. See: https://wiki.linaro.org/Platform/Android/Builds/Wip/Build1AsacLebPandaGccLinaro4.5Noprelink for build info and results.

Changed in linaro-android:
status: In Progress → Fix Released
Zach Pfeffer (pfefferz)
summary: - platform does not compile with linaro gcc 4.4
+ Platform does not compile with linaro gcc 4.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.