kent@SUNDC.EAST.SUN.COM (Kent Hauser) (09/24/89)
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