Public bug reported:
Binary package hint: dkms
If you attempt to build a 32-bit module in a 32-bit chroot on a 64-bit
buildd host, you will encounter build errors such as these:
ld: Relocatable linking with relocations from format elf64-x86-64
(/var/lib/dkms/compat-wireless-ath9k-
htc/2.6.36-rc2-1ubuntu1/build/drivers/net/wireless/ath/ath9k/eeprom_def.o)
to format elf32-i386 (/var/lib/dkms/compat-wireless-ath9k-
htc/2.6.36-rc2-1ubuntu1/build/drivers/net/wireless/ath/ath9k/ath9k_hw.o)
is not supported
Note that dkms_common.postinst does detect the target arch correctly and
passes it to dkms build:
+ echo Building for architecture i686
Building for architecture i686
+ ARCH=-a i686
[...]
+ echo Building initial module for 2.6.32-22-generic
Building initial module for 2.6.32-22-generic
+ dkms build -m compat-wireless-ath9k-htc -v 2.6.36-rc2-1ubuntu1 -k
2.6.32-22-generic -a i686
We need to instruct the kernel Makefile to use the 32-bit toolchain on
the build host, which can be done with the attached patch.
** Affects: dkms (Ubuntu)
Importance: Undecided
Status: New
--
allow 32-bit module build on 64-bit host
https://bugs.launchpad.net/bugs/655275
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs