This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Namespace corruption ?


I recently installed cygwin on a fresh install of WIN98.  BASE, DEVELOPMENT,
LIBS, UTILITIES & post install were selected.  The view was expanded and few
additional packages were added.  They were initially downloaded, then
installed from the download directory.

Upon attempting to compile a small program I received a permission denied on
as.exe ( 26 bytes ) down deep in the tree.

Uninstalled everything except BASE cygwin.  Then reinstalled DEVELOPMENT
default, GCC and PATCH.

The above problem disappeared.

The program I had been attempting to compile still gave errors however.
Contact with the provider returned a test case to see if a problem exists.
I attempted compile with gcc -ansi cygbug1.c & gcc -std=ISO9899:1990
cygbug1.c.  Both created executables when they should have failed.

/* This program demonstrates a bug in
   Cygwin's version of gcc 3.3.1

   When compiled with gcc -ansi cygbug1.c
   it should fail, since uid_t is not defined
   in ISO/IEC 9899:1990.  But it is not failing.

   This pollution of the namespace is unacceptable. */

#include <stdio.h>

uid_t x;

int main(void)
{
    printf("hello, world\n");
    return (0);
}


Cygcheck.out from my environment follows:

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Nov 27 08:15:39 2003

Windows 98 Ver 4.10 Build 1998

Path: D:\cygwin\usr\local\bin
 D:\cygwin\bin
 D:\cygwin\bin
 D:\cygwin\usr\X11R6\bin
 c:\WINDOWS
 c:\windows
 c:\windows\COMMAND

Output from D:\cygwin\bin\id.exe (nontsec)
UID: 548(laptop) GID: 544(all)
544(all)

Output from D:\cygwin\bin\id.exe (ntsec)
UID: 548(laptop) GID: 544(all)
544(all)

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `D:\cygwin\home\laptop'
MAKE_MODE = `unix'
PWD = `/home/laptop'
USER = `laptop'

BLASTER = `A220 I5 D1'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CVS_RSH = `/bin/ssh'
HOMEDRIVE = `D:'
HOMEPATH = `\cygwin\home\laptop'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/aut
otool/stable/info:'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/ma
n'
OLDPWD = `/usr/bin'
PROMPT = `$p$g'
PS1 = `$ '
SHLVL = `1'
TEMP = `c:\windows\TEMP'
TERM = `cygwin'
TMP = `c:\windows\TEMP'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts
v2\/usr/X11R6/lib/X11/fonts
  (default) = `D:\cygwin\usr\X11R6\lib\X11\fonts'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `D:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `D:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  FAT     2047Mb  44% CP    UN
d:  hd  FAT32   4133Mb  18% CP    UN
e:  cd           N/A    N/A

D:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode
D:\cygwin                          /                         system  binmode
D:\cygwin/bin                      /usr/bin                  system  binmode
D:\cygwin/lib                      /usr/lib                  system  binmode
.                                  /cygdrive                 system
binmode,cygdrive

Found: D:\cygwin\bin\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: c:\windows\COMMAND\find.exe
Warning: D:\cygwin\bin\find.exe hides c:\windows\COMMAND\find.exe
Found: D:\cygwin\bin\gcc.exe
Not Found: gdb
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\mv.exe
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe

   19k 2003/03/22 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 22:05
   28k 2003/07/20 D:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 3:58
   15k 2003/07/20 D:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 4:00
   30k 2003/08/11 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/10 22:12
   15k 2003/08/11 D:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0
sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 22:13
  958k 2003/08/10 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2003/8/10 16:57
   22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 4:28
   37k 2003/08/10 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 17:50
   35k 2002/01/09 D:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 1:03
   20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 1:03
  175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
  202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 1:03
   12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 1:03
   48k 2003/08/09 D:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 5:25
   29k 2003/08/09 D:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 5:25
  224k 2003/08/09 D:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 5:24
   19k 2003/08/09 D:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 5:24
   63k 2003/04/11 D:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 4:31
   61k 2003/04/11 D:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 4:31
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
   29k 2003/08/10 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/10 19:16
  148k 2003/08/10 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/10 19:16
    7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 3:57
   60k 2003/08/09 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2003/8/9 2:28
   12k 2003/08/10 D:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextpo-0.dll" v0.0 ts=2003/8/10 18:11
   69k 2003/08/10 D:\cygwin\bin\cyggettextlib-0-12-1.dll - os=4.0 img=1.0
sys=4.0
                  "cyggettextlib-0-12-1.dll" v0.0 ts=2003/8/10 18:10
  134k 2003/08/10 D:\cygwin\bin\cyggettextsrc-0-12-1.dll - os=4.0 img=1.0
sys=4.0
                  "cyggettextsrc-0-12-1.dll" v0.0 ts=2003/8/10 18:10
  489k 2003/08/09 D:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-12.dll" v0.0 ts=2003/8/9 10:17
   24k 2003/08/09 D:\cygwin\bin\cygguile-ltdl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-ltdl-1.dll" v0.0 ts=2003/8/9 10:16
   11k 2003/08/09 D:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0
img=1.0 sys=4.0
                  "cygguilereadline-v-12-12.dll" v0.0 ts=2003/8/9 10:17
   62k 2003/08/09 D:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0
img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2003/8/9
10:17
   23k 2003/08/09 D:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0
img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2003/8/9 10:17
  489k 2003/07/28 D:\cygwin\bin\cygguile-12abi13.dll - os=4.0 img=1.0
sys=4.0
                  "cygguile-12abi13.dll" v0.0 ts=2003/7/28 14:18
   24k 2003/07/28 D:\cygwin\bin\cygguile-ltdl-1abi13.dll - os=4.0 img=1.0
sys=4.0
                  "cygguile-ltdl-1abi13.dll" v0.0 ts=2003/7/28 13:48
   11k 2003/07/28 D:\cygwin\bin\cygguilereadline-v-12-12abi13.dll - os=4.0
img=1.0 sys=4.0
                  "cygguilereadline-v-12-12abi13.dll" v0.0 ts=2003/7/28
14:18
   62k 2003/07/28 D:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1abi13.dll -
os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-1-1abi13.dll" v0.0
ts=2003/7/28 14:18
   23k 2003/07/28 D:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1abi13.dll - os=4.0
img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-1-1abi13.dll" v0.0 ts=2003/7/28
14:18
   32k 2003/08/18 D:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2003/8/18 1:35
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 1:28
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 1:27
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 1:17
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 1:27
  842k 2003/09/30 D:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2003/9/30 12:49
  171k 2003/09/30 D:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2003/9/30 12:49
   22k 2003/10/17 D:\cygwin\bin\cygcygipc-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcygipc-2.dll" v0.0 ts=2003/10/17 1:24
  132k 2003/07/12 D:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2003/7/12 7:33
   61k 2003/08/09 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2003/8/9 2:35
  831k 2003/09/20 D:\cygwin\bin\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.1.dll" v0.0 ts=2003/9/20 17:51
 1080k 2003/09/20 D:\cygwin\bin\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.1.dll" v0.0 ts=2003/9/20 17:53
  131k 2003/10/28 D:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2003/10/28 17:44
  361k 2003/10/25 D:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2003/10/22 0:18
   21k 2001/06/20 D:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20 13:09
   67k 2003/09/10 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/9/10 10:25
   15k 2003/09/10 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/9/10 10:25
   22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
 1049k 2003/11/07 D:\cygwin\bin\cygperl5_8_2.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_8_2.dll" v0.0 ts=2003/11/7 6:08
  949k 2003/09/20 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2003/9/20 16:31
    Cygwin DLL version info:
        DLL version: 1.5.5
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 94
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Sat Sep 20 16:31:15 EDT 2003
        CVS tag: cr-0x9b
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: D:\cyg-stuff
Last downloaded files from:
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin

Package              Version
_update-info-dir     00223-1
ash                  20031007-1
base-files           2.6-1
base-passwd          1.1-1
bash                 2.05b-16
binutils             20030901-1
bzip2                1.0.2-5
crypt                1.1-1
cygipc               2.02-1
cygwin               1.5.5-1
diffutils            2.8.4-1
editrights           1.01-1
expat                1.95.6-2
expect               20030128-1
fileutils            4.1-2
findutils            4.1.7-4
fontconfig           2.2.0-1
freetype2            2.1.5-1
gawk                 3.1.3-4
gcc                  3.3.1-3
gcc-mingw-core       20031020-1
gdbm                 1.8.3-7
gettext              0.12.1-3
grep                 2.5-1
groff                1.18.1-2
guile                1.6.4-12
gzip                 1.3.5-1
less                 381-1
libbz2_1             1.0.2-5
libdb4.1             4.1.25-1
libfontconfig1       2.2.0-1
libfreetype26        2.1.5-1
libgdbm              1.8.0-5
libgdbm-devel        1.8.3-7
libgdbm3             1.8.3-3
libgdbm4             1.8.3-7
libgettextpo0        0.12.1-3
libguile12           1.6.4-12
libguile12abi13      1.6.4-2
libiconv2            1.9.1-3
libintl              0.10.38-3
libintl1             0.10.40-1
libintl2             0.12.1-3
libltdl3             1.5-3
libncurses5          5.2-1
libncurses6          5.2-8
libncurses7          5.3-4
libpcre              4.1-1
libpcre0             4.4-2
libpopt0             1.6.4-4
libreadline4         4.1-2
libreadline5         4.3-5
login                1.9-7
m4                   1.4-1
make                 3.80-1
man                  1.5m2-1
mingw-runtime        3.2-1
mktemp               1.5-3
ncurses              5.3-4
openssh              3.7.1p2-2
openssl              0.9.7c-1
patch                2.5.8-8
pcre                 4.4-2
pcre-doc             4.4-2
perl                 5.8.2-1
readline             4.3-5
sed                  4.0.7-3
sh-utils             2.0.15-4
tar                  1.13.25-5
tcltk                20030901-1
termcap              20021106-2
terminfo             5.3_20030726-1
texinfo              4.2-4
textutils            2.0.21-1
uw-imap              2002e-3
w32api               2.4-1
which                1.5-2
zlib                 1.1.4-4
Use -h to see help about each section


Phil

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]