Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ncar!gatech!mcnc!thorin!menges From: menges@arras.cs.unc.edu (John Menges) Newsgroups: comp.soft-sys.andrew Subject: Compiling Andrew patch level 7 for SunOS 4.1, on a Sun 3 Message-ID: Date: 21 Nov 90 13:22:18 GMT Sender: news@thorin.cs.unc.edu Distribution: comp Organization: University of North Carolina, Dept of Computer Science Lines: 55 I'm trying to compile Andrew patch level 7 for SunOS 4.1 on a Sun 3. Here's the tail of my make log (make Clean; make Makefiles; make dependInstall): ... cc -c -I. -O -I/unc/menges/andrew/emsworth/andrew/include/atk -I/unc/menges/andrew/emsworth/andrew/include -I//usr/include/X11 helpa.c /unc/menges/andrew/emsworth/andrew/bin/makedo -d /unc/menges/andrew/emsworth/andrew/lib -b /unc/menges/andrew/emsworth/andrew/bin -o helpa.do helpa.o /usr/lib/libresolv.a Segmentation fault (core dumped) dofix: File helpa.dog not found doindex: can't open file helpa.do...program terminated! *** Error code 1 make: Fatal error: Command failed for target `helpa.do' Current working directory /theta/theta2/menges/emsworth/src/atk/help/src *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /theta/theta2/menges/emsworth/src/atk/help/src *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /theta/theta2/menges/emsworth/src/atk/help *** Error code 1 make: Fatal error: Command failed for target `dependInstall' Current working directory /theta/theta2/menges/emsworth/src/atk *** Error code 1 make: Fatal error: Command failed for target `dependInstall' If I run makedo with 'csh -fvx' I get the following: ... ld -r -o ${outfile:r}.dog $filelist ${libdir}/libcx.a | egrep "ld:" ld -r -o helpa.dog helpa.o /usr/lib/libresolv.a /unc/menges/andrew/emsworth/andrew/lib/libcx.a egrep ld: Segmentation fault (core dumped) ... Running ld by hand and adding the -t option gives me: [menges@arras] ld -r -o helpa.dog helpa.o /usr/lib/libresolv.a /unc/menges/andre w/emsworth/andrew/lib/libcx.a Segmentation fault (core dumped) [menges@arras] ld -t -r -o helpa.dog helpa.o /usr/lib/libresolv.a /unc/menges/andrew/emsworth/andrew/lib/libcx.a -r: -o: helpa.o: /usr/lib/libresolv.a: /unc/menges/andrew/emsworth/andrew/lib/libcx.a: Segmentation fault (core dumped) [menges@arras] So ld is core dumping. That's undoubtedly a bug in ld. Does anybody have a fixed ld or know what (say, in our libresolv.a) might be causing it to core dump?