Openafs kernel modules fails during modpost on 2.6.24 on sparc

Bug #181664 reported by Johan Christiansen
4
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This is the second build error on sparc64 with 2.6.24. Somehow the sys_call_table invalidates some GPL stuff that gets rejected during modpost after the modules complete building.
Hacking the modpost.c application in the linux headers to ignore this circumvents the problem.
And along with the ioctl32.h fix that i posted 10 mins ago, the modules actually build and works on sparc64.
I hope these "simple" bugfixes can be included in an upstream bugfix release and include before hardy heron goes "hard".

--------

non-void function
  LD [M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.22-14-sparc64-smp-MP/openafs.o
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: modpost: GPL-incompatible module openafs.ko uses GPL-only symbol 'sys_call_table'
make[7]: *** [__modpost] Error 1
make[6]: *** [modules] Error 2

Revision history for this message
Xavid Pretzer (xavid) wrote :

If anyone runs into this bug like I did, the workaround is explained at https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/129480/comments/1

Revision history for this message
Russ Allbery (rra-debian) wrote :

This is indeed broken and needs upstream attention.

Changed in openafs:
status: New → Confirmed
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.