From owner-freebsd-current Tue Mar 5 23:12:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id XAA26014 for current-outgoing; Tue, 5 Mar 1996 23:12:06 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id XAA25942 for ; Tue, 5 Mar 1996 23:12:00 -0800 (PST) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.4/8.6.9) id XAA15540; Tue, 5 Mar 1996 23:11:57 -0800 (PST) Date: Tue, 5 Mar 1996 23:11:57 -0800 (PST) Message-Id: <199603060711.XAA15540@silvia.HIP.Berkeley.EDU> To: current@freebsd.org Subject: funny "make" bug From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-current@freebsd.org Precedence: bulk This is on thud, with a kernel built about a month ago. === >> cat Makefile all: libfoo.a libfoo.a: foo.o ar -r $@ $? ranlib $@ foo.o: touch foo.o >> make touch foo.o ar -r libfoo.a foo.o ar: creating archive libfoo.a ranlib libfoo.a Malloc warning: free(): malloc() never got called. >> make ar -r libfoo.a ar: no archive members specified usage: ar -d [-Tv] archive file ... ar -m [-Tv] archive file ... ar -m [-abiTv] position archive file ... ar -p [-Tv] archive [file ...] ar -q [-cTv] archive file ... ar -r [-cuTv] archive file ... ar -r [-abciuTv] position archive file ... ar -t [-Tv] archive [file ...] ar -x [-ouTv] archive [file ...] *** Error code 1 Stop. >> ls -lT foo.o libfoo.a 0 -rw-r--r-- 1 asami asami 0 Mar 5 23:08:17 1996 foo.o 2 -rw-r--r-- 1 asami asami 136 Mar 5 23:08:18 1996 libfoo.a === Well, the "Malloc warning:" probably should be fixed in ranlib, but the main bug doesn't occur on my really-current machine. If it persists after a kernel rebuild, I'll send in a PR.... Satoshi