Skip to contentSkip to conversation

mptscsih.c: discarded in section `.exit.text' from drivers/built-in.o

DISCUSSION Alex Williamson 1 participant 1 message Feb 5, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

The MPT Fusion driver seems to have developed a linker problem on
ia64. The latest linux-2.5 bk tree gives me the following:

LD .tmp_vmlinux1
local symbol 0: discarded in section `.exit.text' from drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1

Running the reference discard checking tool:

$ ~/reference_discarded.pl 
Finding objects, 858 objects, ignoring 0 module(s)
Finding conglomerates, ignoring 81 conglomerate(s)
Scanning objects
Error: ./drivers/message/fusion/mptscsih.o .init.text refers to 00000000000001e2 PCREL21B          .exit.text
Done

And, sure enough, if I remove the __exits from mptscsih_exit() I get a linkable kernel. Looks like the __exits ought to be removed. Thanks,

Alex

Signature · 1 line
Alex Williamson                             HP Linux & Open Source Lab