This is the mail archive of the 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]

Errors in my builds of Cygwin libraries


I can't seem to get the cygwin libraries to build correctly.  All my 
installed software is current as of today, April 3rd.  No errors are seen 
in the actual building, but the resulting libraries don't work.  
Attempting to use a "cygwin1.dll" built by me causes stack faults.  
Running a "make check" reveals errors (see below).  

This is how I'm building:

  $ mkdir /cygdrive/c/bin
  $ cd /cygdrive/c/bin
  $ /cygdrive/d/cygwin-1.1.8-2/configure --prefix=/usr --exec-prefix=/usr
  $ make

No errors (and few warnings) are seen in the above make operation.  The 
libraries are built and all seems well.  If I then go to use the 
libraries, either via "make install" or just overwriting the original 
"cygwin1.dll" with the newly-built version, none of the cygwin-installed 
packages work.  

FWIW, the build and current install of cygwin is on a WinNT (v4.0, SP6a 
applied) system.  I notice that the default CPU used by the GCC compiler, 
as seen file "/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/specs", is i686.  
That's OK, though, because I have a Celeron CPU.  You may notice that the 
GCC version shown in the spec file is the "experimental" 2.95.3-2.  The 
behavior described in this message is the same when using the standard 
2.95.3-1 build of the compiler.  

Any thoughts as to what's going on here?

Thank you.


$ make check
make[1]: Entering directory `/cygdrive/c/bin/etc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/cygdrive/c/bin/etc'
make[1]: Entering directory `/cygdrive/c/bin/libiberty'
make[2]: Entering directory `/cygdrive/c/bin/libiberty/testsuite'
echo 'int prepends_underscore = 0;' > test-us.c
gcc -DHAVE_CONFIG_H -O2 -I.. -I/cygdrive/d/cygwin-1.1.8-2/libiberty/testsuite/..
/../include  -o test-filter -DMAIN -DVERSION='"none"' -DHAVE_CONFIG_H \
        /cygdrive/d/cygwin-1.1.8-2/libiberty/testsuite/../cplus-dem.c test-us.c
-L.. -liberty
/bin/sh /cygdrive/d/cygwin-1.1.8-2/libiberty/testsuite/regress-demangle /cygdriv
FAIL: --format=gnu _10PageButton\$__both
   result: _10PageButton\$__both
 expected: PageButton::__both
FAIL: --format=gnu _3RNG\$singleMantissa
   result: _3RNG\$singleMantissa
 expected: RNG::singleMantissa
FAIL: --format=gnu _5IComp\$_release
   result: _5IComp\$_release
 expected: IComp::_release
FAIL: --format=gnu _\$_10BitmapComp
   result: _\$_10BitmapComp
 expected: BitmapComp::~BitmapComp(void)
FAIL: --format=gnu _\$_9__io_defs
   result: _\$_9__io_defs
 expected: __io_defs::~__io_defs(void)
FAIL: --format=gnu _\$_Q23foo3bar
   result: _\$_Q23foo3bar
 expected: foo::bar::~bar(void)
FAIL: --format=gnu _\$_Q33foo3bar4bell
   result: _\$_Q33foo3bar4bell
 expected: foo::bar::bell::~bell(void)
FAIL: --format=gnu _vt\$foo
   result:  virtual table\$foo
 expected: foo virtual table
FAIL: --format=gnu _vt\$foo\$bar
   result:  virtual table\$foo\$bar
 expected: foo::bar virtual table
FAIL: --format=gnu _2T4\$N
   result: _2T4\$N
 expected: T4::N
FAIL: --format=gnu _Q22T42t1\$N
   result: _Q22T42t1\$N
 expected: T4::t1::N
FAIL: --format=gnu _\$_t6vector1Zdi
   result: _\$_t6vector1Zdi
 expected: vector<double>::~vector(int)
FAIL: --format=gnu _\$_t6vector1Zii
   result: _\$_t6vector1Zii
 expected: vector<int>::~vector(int)
FAIL: --format=gnu _GLOBAL_\$D\$set
   result: _GLOBAL_\$D\$set
 expected: global destructors keyed to set
FAIL: --format=gnu _GLOBAL_\$I\$set
   result: _GLOBAL_\$I\$set
 expected: global constructors keyed to set
FAIL: --format=gnu _vt\$t8BDDHookV1ZPc
   result:  virtual table\$t8BDDHookV1ZPc
 expected: BDDHookV<char *> virtual table
FAIL: --format=gnu _26_GLOBAL_\$N\$_tmp_n.iilg4Gya\$app_instance
   result: _26_GLOBAL_\$N\$_tmp_n.iilg4Gya\$app_instance
 expected: {anonymous}::app_instance
17 of 640 tests failed
make[2]: *** [check-cplus-dem] Error 1
make[2]: Leaving directory `/cygdrive/c/bin/libiberty/testsuite'
make[1]: *** [check-subdir] Error 2
make[1]: Leaving directory `/cygdrive/c/bin/libiberty'
make: *** [check-libiberty] Error 2

Want to unsubscribe from this list?
Check out:

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