Skip Menu |

Download (untitled) / with headers
text/plain 2.5KiB
From tlyu@MIT.EDU Thu Oct 3 23:45:11 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id XAA18143 for <bugs@RT-11.MIT.EDU>; Thu, 3 Oct 1996 23:45:10 -0400
Received: from TESLA-COIL.MIT.EDU by MIT.EDU with SMTP
id AA05052; Thu, 3 Oct 96 23:45:10 EDT
Received: by tesla-coil.MIT.EDU (5.x/4.7) id AA18851; Thu, 3 Oct 1996 23:45:09 -0400
Message-Id: <9610040345.AA18851@tesla-coil.MIT.EDU>
Date: Thu, 3 Oct 1996 23:45:09 -0400
From: tlyu@MIT.EDU
Reply-To: tlyu@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: build system depends on l-r ordering of dependencies
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 53
>Category: krb5-misc
>Synopsis: build system depends on l-r ordering of dependencies
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Oct e 23:46:03 EDT 1996
>Last-Modified: Fri Nov e 17:51:08 EST 1996
>Originator: Tom Yu
Show quoted text
>Release: 1.0-development

System: SunOS tesla-coil 5.4 Generic_101945-37 sun4m sparc

Show quoted text
For some odd reason, we don't use enough explicit dependencies
where we really should, and have things like

all-unix:: includes $(OBJS)

when some of $(OBJS) depend on the includes. Basically, we're
depending on make to evaluate dependencies from left to right, which
is Just Wrong. I believe that POSIX.2 recommends that nobody depend
on left-to-right dependencies, but doesn't require it.

Show quoted text
Build under NetBSD with native compiler and make.
Show quoted text
Needs some more investigation as to where exactly we're
depending on left-to-right ordering of dependencies.
Show quoted text

Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Oct 3 23:47:48 1996
I guess I'll take care of this one; it may only bite us in two
places. Now that I have a NetBSD machine on my desk it'll be somewhat

State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Wed Oct 9 16:08:15 1996
Partial solution implemented and checked in. It now needs
double-colon rules to be evaluated in the order they appear in the
Makefile, which is likely to be more often true than left-to-right
ordering of dependencies.

State-Changed-From-To: analyzed-closed
State-Changed-By: tlyu
State-Changed-When: Fri Nov 1 17:50:26 1996
Rest of fixing will eventually result from build system redesign; it
works now as far as I can tell.

Show quoted text