Mail Archives: cygwin/1999/10/07/05:55:54
------_=_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>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: Kai Henningsen [<A =
HREF=3D"mailto:kai AT cats DOT ms">mailto:kai AT cats DOT ms</A>]</FONT>
<BR><FONT SIZE=3D2>> Sent: Thursday, October 07, 1999 10:35 =
AM</FONT>
<BR><FONT SIZE=3D2>> To: Kai Henningsen; Corinna Vinschen</FONT>
<BR><FONT SIZE=3D2>> Cc: cygwin AT sourceware DOT cygnus DOT com</FONT>
<BR><FONT SIZE=3D2>> Subject: Re: not updating unwritable cache =
../config.cache</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> On 6 Oct 99, at 17:03, Corinna Vinschen =
wrote:</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> > Kai Henningsen wrote:</FONT>
<BR><FONT SIZE=3D2>> > > </FONT>
<BR><FONT SIZE=3D2>> > > On 5 Oct 99, at 20:51, Corinna =
Vinschen wrote:</FONT>
<BR><FONT SIZE=3D2>> > > </FONT>
<BR><FONT SIZE=3D2>> > > > And last but not least:</FONT>
<BR><FONT SIZE=3D2>> > > > - Constructive feedback always =
welcome.</FONT>
<BR><FONT SIZE=3D2>> > > > - Patches are gratefully =
accepted.</FONT>
<BR><FONT SIZE=3D2>> > > </FONT>
<BR><FONT SIZE=3D2>> > > Well, here's at least _some_ =
feedback. Excerpt from building gcc:</FONT>
<BR><FONT SIZE=3D2>> > > </FONT>
<BR><FONT SIZE=3D2>> > > ----r-xr-x 1 administ =
Kein 160630 Oct 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>> genattrtab.o*</FONT>
<BR><FONT SIZE=3D2>> > > ----r-xr-x 1 administ =
Kein 253372 Oct 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>> genattrtab.exe*</FONT>
<BR><FONT SIZE=3D2>> > > -rw-r--r-- 1 =
kai =
Kein 106514 Oct 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>> insn-attrtab.c</FONT>
<BR><FONT SIZE=3D2>> > > -rw-r--r-- 1 =
kai =
Kein =
0 Oct 6 10:15 s-attrtab</FONT>
<BR><FONT SIZE=3D2>> > > ----r-xr-x 1 administ =
Kein 167908 Oct 6 10:15 =
</FONT>
<BR><FONT SIZE=3D2>> insn-attrtab.o*</FONT>
<BR><FONT SIZE=3D2>> > > ----r-xr-x 1 administ =
Kein 167214 Oct 6 10:15 =
i386.o*</FONT>
<BR><FONT SIZE=3D2>> > > ----r-xr-x 1 administ =
Kein 8187 Oct 6 =
10:15 getpwd.o*</FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > Looks like as if you have edited with =
ntsec but compiled without it.</FONT>
<BR><FONT SIZE=3D2>> > Would you be so kind to check this =
out?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> All of these were created from the same =
"make bootstrap" run. </FONT>
<BR><FONT SIZE=3D2>> That's what I find so confusing.</FONT>
</P>
<P><FONT SIZE=3D2>Hummm... just a thought:</FONT>
<BR><FONT SIZE=3D2> 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> 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)</FONT></P>
<P><FONT SIZE=3D2> s-attrtab is created by "touch =
s-attrtab" 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>> </FONT>
<BR><FONT SIZE=3D2>> > Another one: Are you sure to have only one =
cygwin1.dll in $PATH</FONT>
<BR><FONT SIZE=3D2>> > search path?</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Well, I have some cygwin1.dll.something in the =
same directory as </FONT>
<BR><FONT SIZE=3D2>> the one to use, but I wouldn't expect those to =
be used.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> (check environment)</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> And yes, it's exported (actually set by the =
.bat that starts bash).</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Hmm. Maybe someone there clobbers the CYGWIN =
variable? <find </FONT>
<BR><FONT SIZE=3D2>> | xargs grep -w CYGWIN> 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>> </FONT>
<BR><FONT SIZE=3D2>> Oh! Silly of me. Of _course_. It's the mingw =
gcc. Obviously, it won't </FONT>
<BR><FONT SIZE=3D2>> 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>> </FONT>
<BR><FONT SIZE=3D2>> Regards - Kai Henningsen</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> -- </FONT>
<BR><FONT SIZE=3D2>> <A HREF=3D"http://www.cats.ms" =
TARGET=3D"_blank">http://www.cats.ms</A></FONT>
<BR><FONT SIZE=3D2>> Spuentrup =
CTI Fon: +49 251 322311 0 =
</FONT>
<BR><FONT SIZE=3D2>> Windbreede =
12 Fax: +49 251 322311 99</FONT>
<BR><FONT SIZE=3D2>> D-48157 M=FCnster Mob: =
+49 161 3223111</FONT>
<BR><FONT SIZE=3D2>> =
Germany  =
; GSM: +49 171 7755060</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> --</FONT>
<BR><FONT SIZE=3D2>> Want to unsubscribe from this list?</FONT>
<BR><FONT SIZE=3D2>> Send a message to =
cygwin-unsubscribe AT sourceware DOT cygnus DOT com</FONT>
<BR><FONT SIZE=3D2>> </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: +33 (0) 1 47 68 80 80</FONT>
<BR><FONT SIZE=3D2>Fax: +33 (0) 1 47 88 97 85</FONT>
<BR><FONT SIZE=3D2>e-mail: dautrevaux AT microprocess DOT com</FONT>
<BR> =
<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 -