Article View: gnu.gcc.bug
Article #619gnu ld bug
From: Kent Hauser
Date: Sun, 24 Sep 1989 15:13
Date: Sun, 24 Sep 1989 15:13
33 lines
1180 bytes
1180 bytes
Configuration: Sun-3, SunOS 3.5
BUG: Gnu ld does not report an undefined symbol error if symbol appeared
(but was not loaded) in an previous archive.
REPEAT BY:
(edited script follows)
In gcc-1.35 source directory:
% config.gcc sun3
% rm gnulib
% make CCLIBFLAGS=-mc68010 gnulib
# normal messaged deleted
% echo "int i,j; main () { i*=j; }" > bug.c
% gcc -c -mc68000 bug.c
% rm -f a.out
% ld bug.o gnulib
_mulsi3.o: Undefined symbol lmult referenced from text
% ld bug.o -lc gnulib
# gnulib spits out blank line but no diagnostic
% size
size: a.out not found
% /bin/ld bug.o -lc gnulib
Undefined:
lmult
%
------
Kent Hauser UUCP: {uunet!cucstud, sun!sundc}!tfd!kent
Twenty-First Designs INET: sundc!tfd!kent@sun.com
Technical Details
Message-ID:
<8909241513.AA14947@tfd.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!ginosko!uunet!tut.cis.ohio-state.edu!SUNDC.EAST.SUN.COM!tfd!kentShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!apple!gem.mps.ohio-state.edu!ginosko!uunet!tut.cis.ohio-state.edu!SUNDC.EAST.SUN.COM!tfd!kent From: tfd!kent@SUNDC.EAST.SUN.COM (Kent Hauser) Newsgroups: gnu.gcc.bug Subject: gnu ld bug Message-ID: <8909241513.AA14947@tfd.uucp> Date: 24 Sep 89 15:13:09 GMT Sender: uucp@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 33