Thiemo Seufer wrote: > Thiemo Seufer wrote: > > Carsten Langgaard wrote: > > [snip] > > > I'm afraid I have to speak up again :-( > > > Although the new binutils (binutils-mips64el-linux-2.13.1-1.i386.rpm) work on > > > the latest sources from linux-mips.org, I have a problem with my local sources. > > > > > > I get the following error from the assembler: > > > > > > > > > mips64el-linux-gcc -D__KERNEL__ > > > -I/home/soc/proj/work/carstenl/linux-2.4.18/sw/linux-2.4.18/include -Wall > > > -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer > > > -fno-strict-aliasing -fno-common -I > > > /home/soc/proj/work/carstenl/linux-2.4.18/sw/linux-2.4.18/include/asm/gcc > > > -D__KERNEL__ > > > -I/home/soc/proj/work/carstenl/linux-2.4.18/sw/linux-2.4.18/include -Wall > > > -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer > > > -fno-strict-aliasing -fno-common -mabi=64 -G 0 -mno-abicalls -fno-pic > ^^^^^^^^ > > > -Wa,--trap -pipe -mcpu=r8000 -mips4 -Wa,-32 -DKBUILD_BASENAME=sched > ^^^^^^^ > Then again, I missed you are building for a 64 bit kernel. The > commandline given advises the compiler to create N64 code, but > the assembler is forced to regard it as O32. > > I guess the reason for this is the hack to pack 64 bit code in > O32 binaries. > Exactly. Note, Ralf has already identified the problem, please see his answer. After hacking the Makefile (gas option), everything work fine. > > Thiemo -- _ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com |\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527 | \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555 TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556 Denmark http://www.mips.com