* another binutils-2.8.1 bug?
@ 1998-01-04 0:02 Toshiyasu Morita
1998-01-09 20:22 ` H.J. Lu
0 siblings, 1 reply; 2+ messages in thread
From: Toshiyasu Morita @ 1998-01-04 0:02 UTC (permalink / raw)
To: gas2
Host: i386-linux
Target: m68k-linux
Tool: binutils-2.8.1 ld using m68k-elf
I seem to have found a bug in binutils-2.8.1. The linker fails to find
a reference to "putpacket()" even though it is contained in one of the
object files.
Here's the output:
m68k-linux-ld -m m68kelf -T /usr/src/linux-sun3-2.1.72/arch/m68k/vmlinux-sun3.lds
-N arch/m68k/kernel/head.o init/main.o init/version.o \
arch/m68k/kernel/kernel.o arch/m68k/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/m68k/sun3/sun3.o arch/m68k/sun3/prom/promlib.a arch/m68k/fpsp040/fpsp.o
\
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/video/video.a \
/usr/src/linux-sun3-2.1.72/lib/lib.a arch/m68k/lib/lib.a \
-o vmlinux -M > ld.lst
arch/m68k/sun3/prom/promlib.a(printf.o): In function `prom_printf':
/usr/src/linux-sun3-2.1.72/arch/m68k/sun3/prom/printf.c:46: undefined reference to `putpacket'
make: *** [vmlinux] Error 1
[root@piglet linux]# m68k-linux-objdump --syms arch/m68k/kernel/kernel.o | grep putpacket
000085d4 l F .text 000000ac putpacket
[root@piglet linux]#
I have uploaded the files necessary to replicate this problem to:
ftp://shell14.ba.best.com/pub.t/tm2/bug2.tar.gz
Toshi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: another binutils-2.8.1 bug?
1998-01-04 0:02 another binutils-2.8.1 bug? Toshiyasu Morita
@ 1998-01-09 20:22 ` H.J. Lu
0 siblings, 0 replies; 2+ messages in thread
From: H.J. Lu @ 1998-01-09 20:22 UTC (permalink / raw)
To: Toshiyasu Morita; +Cc: gas2
>
>
>
> Host: i386-linux
> Target: m68k-linux
> Tool: binutils-2.8.1 ld using m68k-elf
>
> I seem to have found a bug in binutils-2.8.1. The linker fails to find
> a reference to "putpacket()" even though it is contained in one of the
> object files.
>
> Here's the output:
>
> m68k-linux-ld -m m68kelf -T /usr/src/linux-sun3-2.1.72/arch/m68k/vmlinux-sun3.lds
> -N arch/m68k/kernel/head.o init/main.o init/version.o \
> arch/m68k/kernel/kernel.o arch/m68k/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o arch/m68k/sun3/sun3.o arch/m68k/sun3/prom/promlib.a arch/m68k/fpsp040/fpsp.o
> \
> fs/filesystems.a \
> net/network.a \
> drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/video/video.a \
> /usr/src/linux-sun3-2.1.72/lib/lib.a arch/m68k/lib/lib.a \
> -o vmlinux -M > ld.lst
> arch/m68k/sun3/prom/promlib.a(printf.o): In function `prom_printf':
> /usr/src/linux-sun3-2.1.72/arch/m68k/sun3/prom/printf.c:46: undefined reference to `putpacket'
> make: *** [vmlinux] Error 1
> [root@piglet linux]# m68k-linux-objdump --syms arch/m68k/kernel/kernel.o | grep putpacket
> 000085d4 l F .text 000000ac putpacket
Doesn't 'l' mean "local"?
> [root@piglet linux]#
>
> I have uploaded the files necessary to replicate this problem to:
>
> ftp://shell14.ba.best.com/pub.t/tm2/bug2.tar.gz
>
> Toshi
>
>
>
--
H.J. Lu (hjl@gnu.org)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-01-09 20:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-04 0:02 another binutils-2.8.1 bug? Toshiyasu Morita
1998-01-09 20:22 ` H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).