Bug#358559: madwidi-source: Fails to build kernel module on mipsel

Thiemo Seufer ths at networkno.de
Sat Mar 25 23:27:00 UTC 2006


On Fri, Mar 24, 2006 at 08:23:38PM +0100, Aurelien Jarno wrote:
[snip]
> Ok, please find attached a new patch that uses mips1-{be,le}-elf for all
> kernels. Tested on R1 and R4400 CPU.

This one looks much better, thanks.

> As for 64-bit kernels, the MIPS-III binary does not work, as it is a
> 32-bit file:
>
>   LD [M]  /usr/src/modules/madwifi/ath_hal/ath_hal.o
> ld: /usr/src/modules/madwifi/ath_hal/hal.o: ABI is incompatible with that of the selected emulation
> ld: failed to merge target specific data of file /usr/src/modules/madwifi/ath_hal/hal.o
> ld: BFD 2.16.91 20060118 Debian GNU/Linux assertion fail ../../bfd/elflink.c:7915
> ld: BFD 2.16.91 20060118 Debian GNU/Linux assertion fail ../../bfd/elflink.c:7915
> ld: BFD 2.16.91 20060118 Debian GNU/Linux assertion fail ../../bfd/elflink.c:7915
> ld: BFD 2.16.91 20060118 Debian GNU/Linux assertion fail ../../bfd/elflink.c:7915
> ld: Attempt to do relocatable link with elf32-tradbigmips input and elf64-tradbigmips output
> ld: final link failed: File in wrong format

Well, not a surprising failure, and not really fixable without
a 64bit driver.


Thiemo




More information about the Pkg-madwifi-maintainers mailing list