Carsten Langgaard wrote: [snip] > > > > -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. Er, well, for some values of 'fine'. In principle, 64 bit code shouldn't be disguised in O32 objects. OTOH i must admit it's a bit early to use binutils N32 for this purpose. Thiemo