delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/07/05:55:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3AC9A1611DF4D211AA8E00105AA56D8A04943C@iis000.microdata.fr>
From: Bernard Dautrevaux <DAUTREVAUX AT microprocess DOT com>
To: "'Kai Henningsen'" <kai AT cats DOT ms>, Corinna Vinschen <corinna AT vinschen DOT de>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: RE: not updating unwritable cache ../config.cache
Date: Thu, 7 Oct 1999 11:52:22 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

------_=_NextPart_001_01BF10A9.A75363E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

> -----Original Message-----
> From: Kai Henningsen [mailto:kai AT cats DOT ms]
> Sent: Thursday, October 07, 1999 10:35 AM
> To: Kai Henningsen; Corinna Vinschen
> Cc: cygwin AT sourceware DOT cygnus DOT com
> Subject: Re: not updating unwritable cache ../config.cache
>=20
>=20
> On 6 Oct 99, at 17:03, Corinna Vinschen wrote:
>=20
> > Kai Henningsen wrote:
> > >=20
> > > On 5 Oct 99, at 20:51, Corinna Vinschen wrote:
> > >=20
> > > > And last but not least:
> > > > - Constructive feedback always welcome.
> > > > - Patches are gratefully accepted.
> > >=20
> > > Well, here's at least _some_ feedback. Excerpt from building gcc:
> > >=20
> > > ----r-xr-x   1 administ Kein       160630 Oct  6 10:15=20
> genattrtab.o*
> > > ----r-xr-x   1 administ Kein       253372 Oct  6 10:15=20
> genattrtab.exe*
> > > -rw-r--r--   1 kai      Kein       106514 Oct  6 10:15=20
> insn-attrtab.c
> > > -rw-r--r--   1 kai      Kein            0 Oct  6 10:15 s-attrtab
> > > ----r-xr-x   1 administ Kein       167908 Oct  6 10:15=20
> insn-attrtab.o*
> > > ----r-xr-x   1 administ Kein       167214 Oct  6 10:15 i386.o*
> > > ----r-xr-x   1 administ Kein         8187 Oct  6 10:15 getpwd.o*
> >=20
> > Looks like as if you have edited with ntsec but compiled without =
it.
> > Would you be so kind to check this out?
>=20
> All of these were created from the same "make bootstrap" run.=20
> That's what I find so confusing.

Hummm... just a thought:
   genattrtab.o, genattrtab.exe, i386.o, getpwd.o were all created by
compiling with some version of gcc installed on your NT box
   insn-attrtab.c is generated by genattrtab.exe, but I think the make =
rule
is like "genattrtab > insn-attrtab.c", so the fact is in fact created =
by
bash (or ash)
   s-attrtab is created by "touch s-attrtab" so is created also by =
bash/ash
(or even directly by make perhaps).

What I'm wondering is that perhaps bash/ash is doing some special =
things to
ensure that the generated files are correctly owned by the effective =
user,
but that other programs may be fooled and attribute rights to the
administrator?

>=20
> > Another one: Are you sure to have only one cygwin1.dll in $PATH
> > search path?
>=20
> Well, I have some cygwin1.dll.something in the same directory as=20
> the one to use, but I wouldn't expect those to be used.
>=20
> (check environment)
>=20
> And yes, it's exported (actually set by the .bat that starts bash).
>=20
> Hmm. Maybe someone there clobbers the CYGWIN variable? <find=20
> | xargs grep -w CYGWIN> Nope, at least nothing obvious.

Could it be that make do not re-export everything that's passed in the
environment? I've header that some versions of gnu-make make some =
non-usual
things in this area.

>=20
> Oh! Silly of me. Of _course_. It's the mingw gcc. Obviously, it won't =

> care about ntsec.

Why? mingw gcc is compiled and run in the cygwin environment I think, =
so go
through cygwin1.dll that handles ntsec.

>=20
> Regards - Kai Henningsen
>=20
> --=20
> http://www.cats.ms
> Spuentrup CTI       Fon: +49 251 322311 0 =20
> Windbreede 12       Fax: +49 251 322311 99
> D-48157 M=FCnster     Mob: +49 161 3223111
> Germany             GSM: +49 171 7755060
>=20
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>=20

--------------------------------------------
Bernard Dautrevaux
Microprocess Ing=E9ni=E9rie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
--------------------------------------------=20

------_=_NextPart_001_01BF10A9.A75363E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: not updating unwritable cache ../config.cache</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Kai Henningsen [<A =
HREF=3D"mailto:kai AT cats DOT ms">mailto:kai AT cats DOT ms</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Thursday, October 07, 1999 10:35 =
AM</FONT>
<BR><FONT SIZE=3D2>&gt; To: Kai Henningsen; Corinna Vinschen</FONT>
<BR><FONT SIZE=3D2>&gt; Cc: cygwin AT sourceware DOT cygnus DOT com</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: not updating unwritable cache =
../config.cache</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; On 6 Oct 99, at 17:03, Corinna Vinschen =
wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Kai Henningsen wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; On 5 Oct 99, at 20:51, Corinna =
Vinschen wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; &gt; And last but not least:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; &gt; - Constructive feedback always =
welcome.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; &gt; - Patches are gratefully =
accepted.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; Well, here's at least _some_ =
feedback. Excerpt from building gcc:</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; ----r-xr-x&nbsp;&nbsp; 1 administ =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 160630 Oct&nbsp; 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>&gt; genattrtab.o*</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; ----r-xr-x&nbsp;&nbsp; 1 administ =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 253372 Oct&nbsp; 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>&gt; genattrtab.exe*</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; -rw-r--r--&nbsp;&nbsp; 1 =
kai&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 106514 Oct&nbsp; 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>&gt; insn-attrtab.c</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; -rw-r--r--&nbsp;&nbsp; 1 =
kai&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0 Oct&nbsp; 6 10:15 s-attrtab</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; ----r-xr-x&nbsp;&nbsp; 1 administ =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 167908 Oct&nbsp; 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>&gt; insn-attrtab.o*</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; ----r-xr-x&nbsp;&nbsp; 1 administ =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 167214 Oct&nbsp; 6 10:15 =
i386.o*</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; &gt; ----r-xr-x&nbsp;&nbsp; 1 administ =
Kein&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8187 Oct&nbsp; 6 =
10:15 getpwd.o*</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Looks like as if you have edited with =
ntsec but compiled without it.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Would you be so kind to check this =
out?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; All of these were created from the same =
&quot;make bootstrap&quot; run. </FONT>
<BR><FONT SIZE=3D2>&gt; That's what I find so confusing.</FONT>
</P>

<P><FONT SIZE=3D2>Hummm... just a thought:</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; genattrtab.o, genattrtab.exe, i386.o, =
getpwd.o were all created by compiling with some version of gcc =
installed on your NT box</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; insn-attrtab.c is generated by =
genattrtab.exe, but I think the make rule is like &quot;genattrtab &gt; =
insn-attrtab.c&quot;, so the fact is in fact created by bash (or =
ash)</FONT></P>

<P><FONT SIZE=3D2>&nbsp;&nbsp; s-attrtab is created by &quot;touch =
s-attrtab&quot; so is created also by bash/ash (or even directly by =
make perhaps).</FONT>
</P>

<P><FONT SIZE=3D2>What I'm wondering is that perhaps bash/ash is doing =
some special things to ensure that the generated files are correctly =
owned by the effective user, but that other programs may be fooled and =
attribute rights to the administrator?</FONT></P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt; Another one: Are you sure to have only one =
cygwin1.dll in $PATH</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; search path?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Well, I have some cygwin1.dll.something in the =
same directory as </FONT>
<BR><FONT SIZE=3D2>&gt; the one to use, but I wouldn't expect those to =
be used.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; (check environment)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; And yes, it's exported (actually set by the =
.bat that starts bash).</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Hmm. Maybe someone there clobbers the CYGWIN =
variable? &lt;find </FONT>
<BR><FONT SIZE=3D2>&gt; | xargs grep -w CYGWIN&gt; Nope, at least =
nothing obvious.</FONT>
</P>

<P><FONT SIZE=3D2>Could it be that make do not re-export everything =
that's passed in the environment? I've header that some versions of =
gnu-make make some non-usual things in this area.</FONT></P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Oh! Silly of me. Of _course_. It's the mingw =
gcc. Obviously, it won't </FONT>
<BR><FONT SIZE=3D2>&gt; care about ntsec.</FONT>
</P>

<P><FONT SIZE=3D2>Why? mingw gcc is compiled and run in the cygwin =
environment I think, so go through cygwin1.dll that handles =
ntsec.</FONT>
</P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Regards - Kai Henningsen</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; -- </FONT>
<BR><FONT SIZE=3D2>&gt; <A HREF=3D"http://www.cats.ms" =
TARGET=3D"_blank">http://www.cats.ms</A></FONT>
<BR><FONT SIZE=3D2>&gt; Spuentrup =
CTI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fon: +49 251 322311 0&nbsp; =
</FONT>
<BR><FONT SIZE=3D2>&gt; Windbreede =
12&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax: +49 251 322311 99</FONT>
<BR><FONT SIZE=3D2>&gt; D-48157 M=FCnster&nbsp;&nbsp;&nbsp;&nbsp; Mob: =
+49 161 3223111</FONT>
<BR><FONT SIZE=3D2>&gt; =
Germany&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; GSM: +49 171 7755060</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; --</FONT>
<BR><FONT SIZE=3D2>&gt; Want to unsubscribe from this list?</FONT>
<BR><FONT SIZE=3D2>&gt; Send a message to =
cygwin-unsubscribe AT sourceware DOT cygnus DOT com</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

<P><FONT SIZE=3D2>--------------------------------------------</FONT>
<BR><FONT SIZE=3D2>Bernard Dautrevaux</FONT>
<BR><FONT SIZE=3D2>Microprocess Ing=E9ni=E9rie</FONT>
<BR><FONT SIZE=3D2>97 bis, rue de Colombes</FONT>
<BR><FONT SIZE=3D2>92400 COURBEVOIE</FONT>
<BR><FONT SIZE=3D2>FRANCE</FONT>
<BR><FONT SIZE=3D2>Tel:&nbsp;&nbsp;&nbsp; +33 (0) 1 47 68 80 80</FONT>
<BR><FONT SIZE=3D2>Fax:&nbsp;&nbsp;&nbsp; +33 (0) 1 47 88 97 85</FONT>
<BR><FONT SIZE=3D2>e-mail: dautrevaux AT microprocess DOT com</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>b DOT dautrevaux AT usa DOT net</FONT>
<BR><FONT SIZE=3D2>-------------------------------------------- </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BF10A9.A75363E0--

- Raw text -


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