2002-11-03 11:38:21

by Denis Vlasenko

[permalink] [raw]
Subject: Oh no, local symbols in discarded section .exit.text _again_ :)

I've got well-known

drivers/built-in.o(.data+0xa6b4): undefined reference to
`local symbols in discarded section .exit.text'

There was some tool (by Keith Owens AFAIK) to find in which *.c
did that happen, can somebody point me to it?
--
vda


2002-11-03 12:00:07

by Alan

[permalink] [raw]
Subject: Re: Oh no, local symbols in discarded section .exit.text _again_ :)

On Sun, 2002-11-03 at 16:31, Denis Vlasenko wrote:
> I've got well-known
>
> drivers/built-in.o(.data+0xa6b4): undefined reference to
> `local symbols in discarded section .exit.text'

Almost certainly the tulip driver

2002-11-04 02:10:30

by Randy.Dunlap

[permalink] [raw]
Subject: Re: Oh no, local symbols in discarded section .exit.text _again_ :)

On Sun, 3 Nov 2002, Denis Vlasenko wrote:

| I've got well-known
|
| drivers/built-in.o(.data+0xa6b4): undefined reference to
| `local symbols in discarded section .exit.text'
|
| There was some tool (by Keith Owens AFAIK) to find in which *.c
| did that happen, can somebody point me to it?
| --

I'm sure that you can find it, but I'll bet money that it's
in my "scripts" collection since I save almost every usable
kernel-related script that I see.

I'd like to see kernelnewbies.org or some place collect
and list such scripts so that everyone can find them easily.

--
~Randy

2002-11-04 02:29:25

by Skip Ford

[permalink] [raw]
Subject: Re: Oh no, local symbols in discarded section .exit.text _again_ :)

Randy.Dunlap wrote:
> On Sun, 3 Nov 2002, Denis Vlasenko wrote:
>
> | There was some tool (by Keith Owens AFAIK) to find in which *.c
> | did that happen, can somebody point me to it?
>
> I'd like to see kernelnewbies.org or some place collect
> and list such scripts so that everyone can find them easily.

http://www.kernelnewbies.org/scripts

--
Skip

2002-11-04 10:58:40

by Denis Vlasenko

[permalink] [raw]
Subject: Re: Oh no, local symbols in discarded section .exit.text _again_ :)

On 3 November 2002 10:27, Alan Cox wrote:
> On Sun, 2002-11-03 at 16:31, Denis Vlasenko wrote:
> > I've got well-known
> >
> > drivers/built-in.o(.data+0xa6b4): undefined reference to
> > `local symbols in discarded section .exit.text'
>
> Almost certainly the tulip driver

Yes.

Finding objects, 862 objects, ignoring 42 module(s)
Finding conglomerates, ignoring 74 conglomerate(s)
Scanning objects
Error: ./drivers/net/tulip/de2104x.o .data refers to 00000074 R_386_32 .exit.text
Done
--
vda