Re: Build error on 2.5.20 under unstable debian

From: Keith Owens (kaos@ocs.com.au)
Date: Wed Jun 05 2002 - 02:38:26 EST


On Wed, 5 Jun 2002 02:25:59 -0500,
Joseph Pingenot <trelane@digitasaru.net> wrote:
>Hey, thanks for the nifty tool. What docs are available so that I can
> learn the Magic of the Script? :)

Years of hacking on ELF formats :(

>Error: ./drivers/usb/host/uhci-hcd.o .rodata refers to 00000f98 R_386_32 .text.exit
>Error: ./drivers/usb/host/built-in.o .rodata refers to 00000f98 R_386_32 .text.exit

Ignore drivers/usb/host/built-in.o, it is a conglomerate that contains
one object, the script cannot distinguish between that and a normal
object.

>Looks like uhci-hcd.o and built-in.o are the culprits. Now, if only
> I knew what the rest meant. :) They're referring to a symbol
> R_386_32? I'm going to assume this is an x86-based bit of stuff
> included from the x86-specific stuff. Teach me. ;)

R_386_32 is an ELF relocation type for ix86 binaries. It means that
uhci-hcd.c has code that refers to a function defined as __exit. The
only such function is uhci_hcd_cleanup but I cannot see where it is
being referenced. The USB people should be able to track this one
down.

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



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:23 EST