vexpress-a9: Loading gator module fails with "Unknown symbol _GLOBAL_OFFSET_TABLE_"

Bug #901189 reported by Tixy (Jon Medhurst)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Undecided
Unassigned

Bug Description

During device boot I get the following error message:

gator: Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)

and the gotor module isn't loaded. Trying "insmod /system/modules/gator.ko" after boot gives the same error.

Could this be down to toolchain issues? E.g. does gator need to be forced to use a particular toolchain in a similar way as we do for kernel?

Toolchain used was the 11.12 candidate:
http://android-build.linaro.org/builds/~linaro-android/toolchain-4.6-2011.12/1/android-toolchain-eabi-linaro-4.6-2011.11-1-2011-12-06_14-49-32-linux-x86.tar.bz2

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

Can be fixed by building gator with -fno-pic, see attached patch

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :
Changed in linaro-landing-team-arm:
assignee: nobody → Tixy (Jon Medhurst) (tixy)
importance: Undecided → High
milestone: none → 2011.12
status: New → In Progress
Revision history for this message
Anmar Oueja (anmar) wrote :

Tixy: I wonder if this affects other Landing Teams. Do you think it is related to moving to ICS?

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote : Re: [Bug 901189] Re: vexpress-a9: Loading gator module fails with "Unknown symbol _GLOBAL_OFFSET_TABLE_"

On Wed, 2011-12-07 at 22:43 +0000, Anmar Oueja wrote:
> Tixy: I wonder if this affects other Landing Teams. Do you think it is
> related to moving to ICS?

It does and yes. But this bug is now fixed, so don't worry about it ;-)

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :
Changed in linaro-landing-team-arm:
status: In Progress → Fix Committed
Changed in linaro-android:
status: New → Fix Committed
Changed in linaro-landing-team-arm:
status: Fix Committed → Fix Released
Fathi Boudra (fboudra)
Changed in linaro-android:
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

Patches

Remote bug watches

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