From: "Gabor Z. Papp" <gzp@myhost.mynet>
To: linux-kernel@vger.kernel.org
Subject: Re: 2.4.20-rc1 [SCSI] local symbols in discarded section .text.exit
Date: Mon, 04 Nov 2002 08:06:39 -0000 [thread overview]
Message-ID: <1155.3dc62a8f.b93b4@gzp1.gzp.hu> (raw)
In-Reply-To: <acb.3dc624fd.65ec7@gzp1.gzp.hu>
* Gabor Z. Papp <gzp@myhost.mynet>:
| Linux 2.4.20-rc1
| glibc 2.2.5
| gcc 2.95.4
| GNU ld version 2.13.90.0.10 20021010
|
| make[1]: Leaving directory `/usr/src/linux-2.4.20-rc1-ibm/arch/i386/lib'
| ld -m elf_i386 -T /usr/src/linux-2.4.20-rc1-ibm/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
| --start-group \
| arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
| drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o drivers/pci/driver.o drivers/video/video.o \
| net/network.o \
| /usr/src/linux-2.4.20-rc1-ibm/arch/i386/lib/lib.a /usr/src/linux-2.4.20-rc1-ibm/lib/lib.a /usr/src/linux-2.4.20-rc1-ibm/arch/i386/lib/lib.a \
| --end-group \
| -o vmlinux
| drivers/scsi/scsidrv.o(.data+0x3ad4): undefined reference to `local symbols in discarded section .text.exit'
| drivers/scsi/scsidrv.o(.data+0x3b14): undefined reference to `local symbols in discarded section .text.exit'
| drivers/scsi/scsidrv.o(.data+0x3b54): undefined reference to `local symbols in discarded section .text.exit'
| make: *** [vmlinux] Error 1
|
| #
| # Automatically generated make config: don't edit
| #
| CONFIG_X86=y
[...]
| CONFIG_SCSI_IPS=y
[...]
Keith Owens wrote a nice perl script to debug, found on http://kernelnewbies.org/scripts/
$ reference_discarded.pl
Finding objects, 396 objects, ignoring 0 module(s)
Finding conglomerates, ignoring 31 conglomerate(s)
Scanning objects
Error: ./drivers/scsi/ips.o .data refers to 000000d4 R_386_32 .text.exit
Error: ./drivers/scsi/ips.o .data refers to 00000114 R_386_32 .text.exit
Error: ./drivers/scsi/ips.o .data refers to 00000154 R_386_32 .text.exit
Done
Seems like its the IBM ServeRAID support.
next prev parent reply other threads:[~2002-11-04 8:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-04 7:42 Gabor Z. Papp
2002-11-04 8:06 ` Gabor Z. Papp [this message]
2002-11-23 17:05 ` Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1155.3dc62a8f.b93b4@gzp1.gzp.hu \
--to=gzp@myhost.mynet \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®