mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Joerg Schilling <schilling@fokus.fraunhofer.de>
Cc: matthias.andree@gmx.de, linux-kernel@vger.kernel.org
Subject: Re: GNU make alleged of "bug" (was: PATCH: cdrecord: avoiding scsi device numbering for ide devices)
Date: Fri, 20 Aug 2004 08:41:37 +0200	[thread overview]
Message-ID: <20040820064137.GA7279@mars.ravnborg.org> (raw)
In-Reply-To: <41252A30.nail8D551I5Z2@burner>

On Fri, Aug 20, 2004 at 12:31:12AM +0200, Joerg Schilling wrote:
 
> -include does not work with Sun's make and it does not cure the bug in GNU make
> but hides it only.
> 
> GNU make just violates the unwritten "golden rule" for all make programs:
> 
> 	If you like to "use" anything, first check whether you have a rule
> 	that could make the file in question.
> 
> For makefiles on the Command Line, GNU make follows this rule. If you are in an 
> empty directory and call "gmake", GNU make will first try if "Makefile" or 
> "makefile" could be retrieved using e.g. "sccs get Makefile" before GNU make 
> tries to read the file.
> 
> For makefiles that appear as argument to an include statement, GNU make ingnores
> this rule. GNU make instead, later (too late) executes the rule set and creates 
> the missing files using known rules. In order to be able to do anything useful, 
> GNU make then executes "exec gmake <old arg list>" after it is done with 
> executing the rules. This is complete nonsense.
> 
> Smake works this way:
> 
> -	if it is going to "include" a file, it checks whether there is a rule 
> 	to make the file that is going to be included.
> 
> -	If the file has been "made", smake includes the file.
> 
> -	After including the file, smake clears the "has been made already" 
> 	cache flags for the included file.
> 
> -	After all make files and all recursive include rules have been made and 
> 	included, smake checks all rules again. This may result in rare cases 
> 	that the rule for one of the the include file is executed again.
> 
> As you noe see that GNU make behaves inconsistent, I hope you believe me that 
> there is a bug in GNU make that should be fixed.

Please post this on the make-bug list then.

	Sam

  reply	other threads:[~2004-08-20  4:41 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 12:33 PATCH: cdrecord: avoiding scsi device numbering for ide devices H.Rosmanith (Kernel Mailing List)
2004-08-04 12:43 ` Jens Axboe
2004-08-04 12:58   ` Jens Axboe
2004-08-05  0:56     ` H.Rosmanith (Kernel Mailing List)
2004-08-05  5:47       ` Jens Axboe
2004-08-05  0:25   ` H.Rosmanith (Kernel Mailing List)
2004-08-05  5:43     ` Jens Axboe
2004-08-19  7:04 ` Patrick McFarland
2004-08-19 11:12   ` Wakko Warner
2004-08-19 11:32   ` Lee Revell
2004-08-19 11:43     ` Marc Ballarin
2004-08-19 12:06     ` Diego Calleja
2004-08-19 13:04       ` Joerg Schilling
2004-08-20 15:10         ` Stephan von Krawczynski
2004-08-23  9:09           ` Joerg Schilling
2004-08-23 21:25         ` Adrian Bunk
2004-08-19 12:42   ` Joerg Schilling
2004-08-19 12:41     ` Alan Cox
2004-08-19 14:34       ` Frank Steiner
2004-08-20  8:02         ` Patrick McFarland
2004-08-20 14:05           ` Joerg Schilling
2004-08-20 16:43             ` Christer Weinigel
2004-08-19 14:35       ` Christer Weinigel
2004-08-19 13:10     ` Martin Mares
2004-08-19 13:38       ` Joerg Schilling
2004-08-19 13:56         ` Martin Mares
2004-08-19 14:03           ` Joerg Schilling
2004-08-19 14:14             ` Martin Mares
2004-08-19 14:45               ` Frank Steiner
2004-08-19 15:00                 ` Martin Mares
2004-08-19 15:04                   ` Joerg Schilling
2004-08-19 15:14                     ` Martin Mares
2004-08-19 15:18                       ` Joerg Schilling
2004-08-19 17:32                         ` Martin Mares
2004-08-20 18:25                   ` Martin Schlemmer
2004-08-19 15:07               ` Matthias Andree
2004-08-19 15:16                 ` Joerg Schilling
2004-08-19 17:30                   ` Martin Mares
2004-08-20 15:28                   ` Andreas Jaeger
2004-08-20 16:37                     ` Julien Oster
2004-08-19 15:36                 ` Gene Heskett
2004-08-19 16:00                   ` Paul Rolland
2004-08-19 17:41                     ` Gene Heskett
2004-08-19 19:47                       ` GNU make alleged of "bug" (was: PATCH: cdrecord: avoiding scsi device numbering for ide devices) Matthias Andree
2004-08-19 22:05                         ` Sam Ravnborg
2004-08-19 20:53                           ` Matthias Andree
2004-08-19 22:31                             ` Joerg Schilling
2004-08-20  6:41                               ` Sam Ravnborg [this message]
2004-08-19 22:58                             ` Andreas Schwab
2004-08-20 16:15                             ` Tonnerre
2004-08-20 21:00                               ` Lee Revell
2004-08-23  9:18                               ` Joerg Schilling
2004-08-20  1:08                         ` Gene Heskett
2004-08-20  8:31                           ` Please no personal insults on this list (was: GNU make alleged of "bug") Matthias Andree
2004-08-19 14:29             ` PATCH: cdrecord: avoiding scsi device numbering for ide devices Christoph Hellwig
2004-08-19 15:29           ` Andreas Jaeger
     [not found]       ` <Pine.LNX.4.60.0408191909570.23309@hermes-1.csi.cam.ac.uk>
2004-08-20 13:40         ` Joerg Schilling
2004-08-19 14:14     ` Gerd Knorr
2004-08-19 14:32     ` Frank Steiner
2004-08-19 14:32       ` Alan Cox
2004-08-19 16:00         ` Bartlomiej Zolnierkiewicz
2004-08-19 16:07           ` Joerg Schilling
2004-08-19 17:32             ` Horst von Brand
2004-08-19 23:02               ` Bartlomiej Zolnierkiewicz
2004-08-20 13:37               ` Joerg Schilling
2004-08-20 13:49                 ` Patrick McFarland
2004-08-20 14:13                   ` Joerg Schilling
2004-08-19 17:59             ` Alan Cox
2004-08-20 13:41               ` Joerg Schilling
2004-08-20 13:09                 ` Alan Cox
2004-08-20 13:55                 ` Patrick McFarland
2004-08-20 14:24                 ` H.Rosmanith (Kernel Mailing List)
2004-08-20 14:37                   ` Joerg Schilling
2004-08-20 15:05                     ` Richard B. Johnson
2004-08-20 19:28                 ` Martin Schlemmer
2004-08-20 20:30                   ` Valdis.Kletnieks
2004-08-20 22:05                 ` Kyle Moffett
2004-08-20 23:30                   ` Andreas Steinmetz
2004-08-21  6:58                   ` David Greaves
2004-08-21  7:49                     ` Marc Ballarin
2004-08-21  9:04                       ` David Greaves
2004-08-21 11:19                         ` Marc Ballarin
2004-08-22 10:44                         ` Alan Cox
2004-08-22 17:09                           ` Adam Sampson
2004-08-21 11:06                     ` Xavier Bestel
2004-08-21 12:17                       ` David Greaves
2004-08-19 17:24           ` Horst von Brand
2004-08-19 18:06           ` Alan Cox
2004-08-19 19:19             ` Mark Lord
2004-08-19 22:57               ` Bartlomiej Zolnierkiewicz
2004-08-20 11:22                 ` Alan Cox
2004-08-20 11:18               ` Alan Cox
2004-08-20  7:46         ` Frank Steiner
2004-08-20 11:23           ` Alan Cox
2004-08-20 12:45             ` Frank Steiner
2004-08-20 11:51         ` Joerg Schilling
2004-08-20 11:25           ` Alan Cox
2004-08-20 14:11             ` Joerg Schilling
2004-08-20 13:46               ` Alan Cox
2004-08-21 12:43                 ` Joerg Schilling
     [not found]                   ` <1093171538.24341.24.camel@localhost.localdomain>
2004-08-22 12:00                     ` Joerg Schilling
2004-08-19 16:22   ` V13
2004-08-21  3:31 ` Patrick McFarland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040820064137.GA7279@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.andree@gmx.de \
    --cc=schilling@fokus.fraunhofer.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome