delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/20/16:51:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: make-3.80: Unpatched patchable bugs in cygwin
Date: Thu, 20 Jan 2005 13:50:53 -0800
Message-ID: <DBFABB80F7FD3143A911F9E6CFD477B00466688C@hqemmail02.nvidia.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
From: "Stephen Warren" <SWarren AT nvidia DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 20 Jan 2005 21:50:56.0721 (UTC) FILETIME=[1F0AE410:01C4FF3A]
X-IsSubscribed: yes
Note-from-DJ: This may be spam

------_=_NextPart_001_01C4FF3A.1E0AFAEB
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi.

I recently hit a bug in the latest version of make-3.80 that's
distributed by Cygwin.

This bug, or something closely related has been reported to the cygwin
list a couple of times before:

http://sources.redhat.com/ml/cygwin/2004-09/msg01659.html
http://sources.redhat.com/ml/cygwin/2003-12/msg00146.html

I don't see any responses to either of these emails. Does Cygwin have a
policy of not applying local patches to the packages that it ships?

The basic problem is that make doesn't save/restore certain context when
making recursive calls to implement the $(eval) function. The latest CVS
version of make has this. Fedora also includes a patch (derived from
make's CVS) that fixes the problem I hit, and another problem that looks
to be basically the same thing.

This patch is part of FC2/FC3's source RPM for make-3.80. I've attached
it for reference.

Is there any chance this could get into Cygwin? It'd be really great to
have a standard Cygwin install without this bug, rather than having to
maintain my own builds for make...

Thanks.

--=20
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
swarren AT nvidia DOT com        http://www.nvidia.com/
swarren AT wwwdotorg DOT org     http://www.wwwdotorg.org/pgp.html

------_=_NextPart_001_01C4FF3A.1E0AFAEB
Content-Type: application/octet-stream;
	name="eval-crash.diff"
Content-Transfer-Encoding: base64
Content-Description: eval-crash.diff
Content-Disposition: attachment;
	filename="eval-crash.diff"

SW5kZXg6IHZhcmlhYmxlLmgKPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1Mg
ZmlsZTogL2N2c3Jvb3QvbWFrZS9tYWtlL3ZhcmlhYmxlLmgsdgpyZXRyaWV2
aW5nIHJldmlzaW9uIDEuMjQKZGlmZiAtdSAtQiAtYiAtcjEuMjQgdmFyaWFi
bGUuaAotLS0gdmFyaWFibGUuaAk4IEF1ZyAyMDAyIDAwOjExOjE5IC0wMDAw
CTEuMjQKKysrIHZhcmlhYmxlLmgJMjUgT2N0IDIwMDIgMjE6Mzc6MzIgLTAw
MDAKQEAgLTEwNyw2ICsxMDcsOCBAQAogZXh0ZXJuIGNoYXIgKmV4cGFuZF9h
cmd1bWVudCBQQVJBTVMgKChjaGFyICpzdHIsIGNoYXIgKmVuZCkpOwogZXh0
ZXJuIGNoYXIgKnZhcmlhYmxlX2V4cGFuZF9zdHJpbmcgUEFSQU1TICgoY2hh
ciAqbGluZSwgY2hhciAqc3RyaW5nLAogICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgbG9uZyBsZW5ndGgpKTsKK2V4dGVy
biB2b2lkIGluc3RhbGxfdmFyaWFibGVfYnVmZmVyIFBBUkFNUyAoKGNoYXIg
KipidWZwLCB1bnNpZ25lZCBpbnQgKmxlbnApKTsKK2V4dGVybiB2b2lkIHJl
c3RvcmVfdmFyaWFibGVfYnVmZmVyIFBBUkFNUyAoKGNoYXIgKmJ1ZiwgdW5z
aWduZWQgaW50IGxlbikpOwog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-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
------_=_NextPart_001_01C4FF3A.1E0AFAEB--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019