Module build failure with latest GNU assembler

Jens Schmalzing mol-general@lists.maconlinux.org
21 May 2003 13:47:16 +0200


Hi,

with the latest version of the GNU assembler, building the mol kernel
modules fails with the error message given below.  Any ideas?  Is this
a problem with mol or with as?

Regards, Jens.

$ as -V
GNU assembler version 2.14.90.0.2 (powerpc-linux) using BFD version 2.14.90=
.0.2 20030515 Debian GNU/Linux

$ ./autogen.sh
[...]
$ ./configure
[...]
$ make modules
Making all in Linux
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
 Kernel headers:          /lib/modules/2.4.20-sleipnir/build/include
 Module compiled for:     2.4.20-sleipnir-noav
 Running kernel:          2.4.20-sleipnir-noav
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Generating asm_offsets.h (from ../shared/asm_offsets.c asm_offsets.inc incl=
ude/archinclude.h ../shared/kernel_vars.h ../shared/mac_registers.h)
gcc -E -D__ASSEMBLY__  -I../..  -I./ -DMODVERSIONS -include /lib/modules/2.=
4.20-sleipnir/build/include/linux/modversions.h -D__KERNEL__ -DMODULE -I../=
../src/kmod/include -I../../src/shared -I- -I/lib/modules/2.4.20-sleipnir/b=
uild/include traps.S | m4 -s  | tr ';' '\n' > traps.o.s
as traps.o.s  -o traps.o
emulation.S: Assembler messages:
emulation.S:738: Error: too many positional arguments
emulation.S:742: Error: too many positional arguments
emulation.S:746: Error: too many positional arguments
emulation.S:750: Error: too many positional arguments
emulation.S:754: Error: too many positional arguments
emulation.S:758: Error: too many positional arguments
emulation.S:762: Error: too many positional arguments
emulation.S:766: Error: too many positional arguments
emulation.S:770: Error: too many positional arguments
emulation.S:774: Error: too many positional arguments
emulation.S:778: Error: too many positional arguments
emulation.S:782: Error: too many positional arguments
emulation.S:786: Error: too many positional arguments
emulation.S:790: Error: too many positional arguments
emulation.S:794: Error: too many positional arguments
emulation.S:798: Error: too many positional arguments
make[3]: *** [traps.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [modules_] Error 2
make: *** [modules] Error 2

--=20
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je p=E9zqbpbe je djuz tqtaj!