Re: relocation truncated to fit: R_386_PC32

From: Keith Owens (kaos@ocs.com.au)
Date: Tue Sep 19 2000 - 00:30:01 EST


On Mon, 18 Sep 2000 21:28:20 -0700,
"Armand" <armand@mwaz.com> wrote:
>drivers/char/char.o(.text.lock+0x66a): relocation truncated to fit:
>R_386_PC32 text.exit
>make: *** [vmlinux] Error 1
>
>I've upgraded to modutils-2.3.16-1 with Caldera OpenLinux LTP running on

Nothing to do with modutils. Some code marked ___exit is doing a lock
or semaphore operation. The .text.lock code is trying to call back to
section text.exit but text.exit is discarded when building the kernel.

for i in drivers/char/*.o
do
  objdump -S -r -j .text.lock $i | egrep -B 8 'file format|text\.exit'
done

will list the name of each .o file in drivers/char and pull out any
references from the .text.lock section back to text.exit. Report which
.o file has a reference to text.exit.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:19 EST