Subject: bin/6671: Make fails to make targets, but make -dA builds them
To: None <gnats-bugs@gnats.netbsd.org>
From: Garbled User <garbled@polaris.garbled.net>
List: netbsd-bugs
Date: 12/28/1998 12:55:27
>Number: 6671
>Category: bin
>Synopsis: Make fails to make targets, but make -dA builds them
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 28 12:05:01 1998
>Last-Modified:
>Originator: Garbled User
>Organization:
>Release: 12-16-98<NetBSD-current source date>
>Environment:
NetBSD giauzar 1.3I NetBSD 1.3I (GIAUZAR) #3: Wed Nov 25 09:52:24 MST
1998 root@rigel:/usr/src/current/src/sys/arch/alpha/compile/GIAUZAR alpha
>Description:
Trying to debug why pkgsrc/audio/xwave fails to build on alpha today.. I
ran across a very odd curiosity. The pkg creates a library called libfwf.a,
by issuing successive ar r commands to create the final lib.
Running the build over and over, produces:
-rw-r--r-- 1 root wheel 257732 Dec 28 12:36 work/xwave/lib/libfwf.a
so after some fiddling, I finally ran make with -dA, which produced:
-rw-r--r-- 1 root wheel 264402 Dec 28 12:42 work/xwave/lib/libfwf.a
ar tv on the make build:
rw-r--r-- 0/0 20992 Dec 28 12:36 1998 Board.o
rw-r--r-- 0/0 39672 Dec 28 12:36 1998 Common.o
rw-r--r-- 0/0 35592 Dec 28 12:36 1998 Frame.o
rw-r--r-- 0/0 21936 Dec 28 12:36 1998 Group.o
rw-r--r-- 0/0 12632 Dec 28 12:36 1998 RowCol.o
rw-r--r-- 0/0 13176 Dec 28 12:36 1998 Toggle.o
rw-r--r-- 0/0 3032 Dec 28 12:36 1998 long.o
rw-r--r-- 0/0 27200 Dec 28 12:36 1998 icon.o
rw-r--r-- 0/0 3328 Dec 28 12:36 1998 choosecol.o
rw-r--r-- 0/0 13440 Dec 28 12:36 1998 StrToPmap.o
rw-r--r-- 0/0 12752 Dec 28 12:36 1998 Pen.o
rw-r--r-- 0/0 6000 Dec 28 12:36 1998 strarray.o
rw-r--r-- 0/0 3096 Dec 28 12:36 1998 VarArgs.o
rw-r--r-- 0/0 6680 Dec 28 12:36 1998 Button.o
rw-r--r-- 0/0 23752 Dec 28 12:36 1998 Label.o
rw-r--r-- 0/0 2576 Dec 28 12:36 1998 DrawImageString.o
rw-r--r-- 0/0 2552 Dec 28 12:36 1998 DrawString.o
rw-r--r-- 0/0 2664 Dec 28 12:36 1998 Tablist2Tabs.o
rw-r--r-- 0/0 2376 Dec 28 12:36 1998 TextWidth.o
rw-r--r-- 0/0 1681 Dec 28 12:36 1998 strnchr.o
ar tv on the make -dA build:
rw-r--r-- 0/0 20992 Dec 28 12:42 1998 Board.o
rw-r--r-- 0/0 39672 Dec 28 12:42 1998 Common.o
rw-r--r-- 0/0 35592 Dec 28 12:42 1998 Frame.o
rw-r--r-- 0/0 21936 Dec 28 12:42 1998 Group.o
rw-r--r-- 0/0 6552 Dec 28 12:42 1998 RadioGrp.o
rw-r--r-- 0/0 12632 Dec 28 12:42 1998 RowCol.o
rw-r--r-- 0/0 13176 Dec 28 12:42 1998 Toggle.o
rw-r--r-- 0/0 3032 Dec 28 12:42 1998 long.o
rw-r--r-- 0/0 27200 Dec 28 12:42 1998 icon.o
rw-r--r-- 0/0 3328 Dec 28 12:42 1998 choosecol.o
rw-r--r-- 0/0 13440 Dec 28 12:42 1998 StrToPmap.o
rw-r--r-- 0/0 12752 Dec 28 12:42 1998 Pen.o
rw-r--r-- 0/0 6000 Dec 28 12:42 1998 strarray.o
rw-r--r-- 0/0 3096 Dec 28 12:42 1998 VarArgs.o
rw-r--r-- 0/0 6680 Dec 28 12:42 1998 Button.o
rw-r--r-- 0/0 23752 Dec 28 12:42 1998 Label.o
rw-r--r-- 0/0 2576 Dec 28 12:42 1998 DrawImageString.o
rw-r--r-- 0/0 2552 Dec 28 12:42 1998 DrawString.o
rw-r--r-- 0/0 2664 Dec 28 12:42 1998 Tablist2Tabs.o
rw-r--r-- 0/0 2376 Dec 28 12:42 1998 TextWidth.o
rw-r--r-- 0/0 1681 Dec 28 12:42 1998 strnchr.o
Note how the debugging build contains RadioGrp.o and the other does not.
so I try with gmake:
-rw-r--r-- 1 root wheel 261222 Dec 28 12:48 work/xwave/lib/libfwf.a
Unfortunately gmake doesn't solve the whole problem, as it blows up in
the build later on.. (unrelated gmake-type problems)
additionally, make -da also solves the problem.. allowing the library to
be built correctly:
-rw-r--r-- 1 root wheel 264402 Dec 28 12:51 work/xwave/lib/libfwf.a
just for the curious:
-r-xr-xr-x 1 root wheel 161168 Dec 16 16:32 /usr/bin/make
Thats the date of my -current build.
>How-To-Repeat:
cd /usr/src/pkgsrc/audio/xwave
make
(lose)
make clean && make -da
(win)
>Fix:
make -da fixes the problem.. god knows why.. must be something in there that
either is broken in current, or breaks on alpha in current.
>Audit-Trail:
>Unformatted: