From: Daniel Jacobowitz <dan@debian.org>
To: Geoffrey Espin <espin@idiom.com>
Cc: "Steven J. Hill" <sjhill@cotw.com>, linux-mips@oss.sgi.com
Subject: Re: [PATCH] Compiler warnings and remove unused code....
Date: Wed, 30 Jan 2002 13:41:29 -0500 [thread overview]
Message-ID: <20020130134129.A31924@nevyn.them.org> (raw)
In-Reply-To: <20020130102340.A37609@idiom.com>
On Wed, Jan 30, 2002 at 10:23:40AM -0800, Geoffrey Espin wrote:
> Steve,
>
> > Attached is a patch to clean up a bunch of compiler warnings. Specifically
> > ones associated with gcc-3.x compilers and one use of __FUNCTION__ soon to
> > be deprecated. Also added some #ifdef's for HIGHMEM and removed unused
> > 5432 MM code. Please apply.
> > -Steve
>
> I used your toolset to compile busybox and everything else pretty well.
> But when I got to the end of "make linux", I got:
>
> mipsel-linux-ld -G 0 -static -T arch/mips/ld.script.0x80002000 arch/mips/kernel/head.o arch/mips/kernel/init_task.o init/main.o init/version.o \
> --start-group \
> arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o arch/mips/ramdisk/ramdisk.o \
> drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/atm/atm.o drivers/pci/driver.o drivers/mtd/mtdlink.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
> net/network.o \
> arch/mips/lib/lib.a /home/espin/linux/lib/lib.a arch/mips/korva/korva.a \
> --end-group \
> -o vmlinux
> drivers/char/char.o(.data+0x3958): undefined reference to `local symbols in discarded section .text.exit'
> drivers/net/net.o(.data+0x17c): undefined reference to `local symbols in discarded section .text.exit'
> drivers/usb/usbdrv.o(.data+0x4b0): undefined reference to `local symbols in discarded section .text.exit'
> make: *** [vmlinux] Error 1
>
>
> This is linux.2.4.16 + sourceforge/mipslinux (a few weeks old).
>
> Geoff
These were fixed in the kernel.org tree around 2.4.17 (maybe 2.4.18pre
for a few of them, too).
If you just want to work around it you can comment out the /DISCARD/ {}
block in arch/mips/ld.script.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2002-01-30 19:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-30 17:29 [PATCH] Compiler warnings and remove unused code Steven J. Hill
2002-01-30 18:23 ` Geoffrey Espin
2002-01-30 18:35 ` Maciej W. Rozycki
2002-01-30 18:39 ` Geoffrey Espin
2002-01-30 18:46 ` Bradley D. LaRonde
2002-01-30 18:46 ` Bradley D. LaRonde
2002-01-30 18:39 ` James Simmons
2002-01-30 18:44 ` Geoffrey Espin
2002-01-30 18:55 ` James Simmons
2002-01-30 18:41 ` Daniel Jacobowitz [this message]
2002-01-30 18:53 ` Geoffrey Espin
2002-01-30 18:55 ` Maciej W. Rozycki
2002-01-30 19:13 ` Steven J. Hill
2002-01-31 12:45 ` Maciej W. Rozycki
2002-01-30 19:15 ` Steven J. Hill
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=20020130134129.A31924@nevyn.them.org \
--to=dan@debian.org \
--cc=espin@idiom.com \
--cc=linux-mips@oss.sgi.com \
--cc=sjhill@cotw.com \
/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