From tlyu@MIT.EDU Thu Oct 3 23:45:11 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) 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
System: SunOS tesla-coil 5.4 Generic_101945-37 sun4m sparc
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.
depending on left-to-right ordering of dependencies.
Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Oct 3 23:47:48 1996
Responsible-Changed-Why:
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
easier.
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Wed Oct 9 16:08:15 1996
State-Changed-Why:
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
State-Changed-Why:
Rest of fixing will eventually result from build system redesign; it
works now as far as I can tell.
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) 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
>Organization:
mit>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
>Organization:
Show quoted text
>Release: 1.0-development
>Environment:
>Environment:
System: SunOS tesla-coil 5.4 Generic_101945-37 sun4m sparc
Show quoted text
>Description:
For some odd reason, we don't use enough explicit dependencieswhere 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
>How-To-Repeat:
Build under NetBSD with native compiler and make.Show quoted text
>Fix:
Needs some more investigation as to where exactly we'redepending on left-to-right ordering of dependencies.
Show quoted text
>Audit-Trail:
Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Oct 3 23:47:48 1996
Responsible-Changed-Why:
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
easier.
State-Changed-From-To: open-analyzed
State-Changed-By: tlyu
State-Changed-When: Wed Oct 9 16:08:15 1996
State-Changed-Why:
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
State-Changed-Why:
Rest of fixing will eventually result from build system redesign; it
works now as far as I can tell.
Show quoted text
>Unformatted: