Origen kernel doesn't compile with gcc 4.7

Bug #972937 reported by Bernhard Rosenkraenzer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Critical
Annamalai Lakshmanan
linaro-landing-team-samsung
Fix Released
High
Sangwook Lee

Bug Description

The origen kernel fails to build with gcc 4.7 because it tries to force-inline functions that don't have the function body available in some situations the functions are used.

gcc 4.6 silently ignored this error and just didn't inline what can't be inlined. 4.7 errors out.

[...]
/home/bero/linaro-builds/origen/kernel/drivers/video/samsung/s3cfb.h:194:36: error: inlining failed in call to always_inline 'get_fimd_global': function body not available
[...]

Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :
Changed in linaro-android:
milestone: none → 12.04
Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

Targeting to 12.04 because the fix is available and fairly obvious

Revision history for this message
Bernhard Rosenkraenzer (berolinux) wrote :

Increasing priority because the 12.04 toolchain will be 4.7 by default

Changed in linaro-android:
importance: Undecided → Critical
Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: nobody → Annamalai Lakshmanan (annamalai-lakshmanan)
Revision history for this message
Sangwook Lee (sangwook) wrote :

Thanks Bernhard

Please let me send patch (attached) to Samsung LT git:
 git://git.linaro.org/landing-teams/working/samsung/kernel.git android

This problem only happens with android 3.0 kernel And the new coming 3.3 kernel doesn't have this errors.

Changed in linaro-landing-team-samsung:
assignee: nobody → Sangwook Lee (sangwook)
Changed in linaro-android:
status: New → Fix Released
Changed in linaro-landing-team-samsung:
status: New → Fix Committed
milestone: none → 2012.04
importance: Undecided → High
Changed in linaro-landing-team-samsung:
status: Fix Committed → Fix Released
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.