*BSD News Article 7287


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!umn.edu!csus.edu!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: the make command breaks building libc [386BSD]
Message-ID: <1992Nov2.081851.14775@netcom.com>
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 2 Nov 1992 08:18:51 GMT
Lines: 15

When building the profiled libc library, libc_p.a, 386BSD make dies with
signal 11 (segmentation violation).  So I tried the build by hand under
bash:

# cd /usr/obj/lib/libc/
# ar cTq libc_p.a $(lorder $(ls *.po) | tsort)
# ranlib libc_p.a

and it works fine.  The problem seems to be that the make command can't
handle such a big argument list as generated by "ls *.po," (actually
bigger because of redundancies in the OBJ list).  Assuming I am not
doing something wrong, is there a way to make make work?  If the
answer is "use a different make," then is there a drop-in replacement
for BSD make that is freely available?  Thanks.  
-Andrew Moore <alm@netcom.com>