public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16
@ 2001-07-19  4:53 Christian Jönsson
  2001-07-19 20:23 ` Tim Prince
  0 siblings, 1 reply; 5+ messages in thread
From: Christian Jönsson @ 2001-07-19  4:53 UTC (permalink / raw)
  To: cygwin

When I try to run the testsuite of gcc version 3.0.1 20010716 (prerelease) I
just get the following problem:

Native configuration is i686-pc-cygwin

=== libstdc++-v3 tests ===

Schedule of variations:

unix

Running target unix

Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for
target.
Using /usr/local/src/gcc-20010716/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
Running
/usr/local/src/gcc-20010716/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp
...
ERROR: tcl error sourcing
/usr/local/src/gcc-20010716/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp.
ERROR: couldn't compile regular expression pattern: nested *?+

My setup is this:

This was on an win2k/sp2 host with an up to date cygwin install.
Root dir of cygwin install is C:\cygwin.

binutils-20010425-2
cygwin-1.3.2-1
dejagnu-20010117-1
(patched as http://mail.gnu.org/pipermail/dejagnu/2001-April/000003.html )
expect-20010117-1
gcc-2.95.3-5
tcltk-20001125-1

Cheers,

/ChJ



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16
  2001-07-19  4:53 Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16 Christian Jönsson
@ 2001-07-19 20:23 ` Tim Prince
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Prince @ 2001-07-19 20:23 UTC (permalink / raw)
  To: Christian Jönsson, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1497 bytes --]

I believe that the libstdc++ testsuite requires a modification to
dejagnu, which is not present in any version avaiilable on gnu or cygwin
mirrors.  It would be of interest to find out how well the suite is
doing on cygwin.
----- Original Message -----
From: "Christian Jönsson" <christian.jonsson@foi.se>
To: "cygwin" <cygwin@cygwin.com>
Sent: Thursday, July 19, 2001 4:53 AM
Subject: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
prerelease 2001-07-16


> When I try to run the testsuite of gcc version 3.0.1 20010716
(prerelease) I
> just get the following problem:
>
> Native configuration is i686-pc-cygwin
>
> === libstdc++-v3 tests ===
>
> Schedule of variations:
>
> unix
>
> Running target unix
>
> Using /usr/share/dejagnu/baseboards/unix.exp as board description file
for
> target.
> Using /usr/share/dejagnu/config/unix.exp as generic interface file for
> target.
> Using
/usr/local/src/gcc-20010716/libstdc++-v3/testsuite/config/default.exp
> as tool-and-target-specific interface file.
> Running
>
/usr/local/src/gcc-20010716/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.ex
p
> ...
> ERROR: tcl error sourcing
>
/usr/local/src/gcc-20010716/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.ex
p.
> ERROR: couldn't compile regular expression pattern: nested *?+
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16
  2001-07-20  6:28 Billinghurst, David (CRTS)
@ 2001-07-20  6:46 ` Christian Jönsson
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Jönsson @ 2001-07-20  6:46 UTC (permalink / raw)
  To: Billinghurst, David (CRTS); +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4949 bytes --]

OK, I will try that, attached you find my (your?) patch file.

Cheers,

/ChJ

----- Original Message -----
From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: "'Christian Jönsson'" <christian.jonsson@foi.se>
Cc: <cygwin@cygwin.com>
Sent: Friday, July 20, 2001 3:24 PM
Subject: RE: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
prerelease 2001-07-16


I needed to patch /usr/share/dejagnu/target.exp to ignore
-ffunction-sections warnings.

Just under the lines "# Cygwin cc1 warns about -fpic" add


    # Cygwin gcc warns about -ffunction-sections
    regsub -all ".*: warning:
-ffunction-sections\[^\n\]*\n\[^\n\]\[^\n\]*may affect debugging on some
targets." $text "" text


making sure that the regsub is a single line - my mailer will mangle it :-(

> -----Original Message-----
> From: Christian Jönsson [SMTP:christian.jonsson@foi.se]
> Sent: Friday, July 20, 2001 11:14 PM
> To: Billinghurst, David (CRTS)
> Subject: Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> prerelease 2001-07-16
>
> Great. I have the 1.4.1 (under /usr/local, with the cygwin version
> uninstalled) with your patch
> http://mail.gnu.org/pipermail/dejagnu/2001-May/000031.html
> but nothing else. I do get lots of errors though:
>
> runtest=`if [ -f
> /usr/local/src/gcc-20010716/libstdc++-v3/../dejagnu/runtest ] ;
>  then echo /usr/local/src/gcc-20010716/libstdc++-v3/../dejagnu/runtest ;
> else echo runtest; fi`; \
> if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
>   $runtest --tool libstdc++-v3 --srcdir $srcdir ; \
> else echo "WARNING: could not find \`runtest'" 1>&2; :;\
> fi
> WARNING: Couldn't find the global config file.
> WARNING: Couldn't find tool init file
> Test Run By Administrator on Fri Jul 20 15:13:07 2001
> Native configuration is i686-pc-cygwin
>
>                 === libstdc++-v3 tests ===
>
> Schedule of variations:
>     unix
>
> Running target unix
> Using /usr/local/share/dejagnu/baseboards/unix.exp as board description
> file
> for target.
> Using /usr/local/share/dejagnu/config/unix.exp as generic interface file
> for
> target.
> Using
> /usr/local/src/gcc-20010716/libstdc++-v3/testsuite/config/default.exp
> as tool-and-target-specific interface file.
> Running
> /usr/local/src/gcc-20010716/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp
> ....
> FAIL: 17_intro/header_cassert.cc (test for excess errors)
> FAIL: 17_intro/header_cerrno.cc (test for excess errors)
> FAIL: 17_intro/header_ciso646.cc (test for excess errors)
> FAIL: 17_intro/header_csetjmp.cc (test for excess errors)
> FAIL: 17_intro/header_cstdarg.cc (test for excess errors)
> FAIL: 17_intro/header_cstddef.cc (test for excess errors)
> FAIL: 17_intro/header_cstdio.cc (test for excess errors)
> FAIL: 17_intro/header_cstdlib.cc (test for excess errors)
> FAIL: 17_intro/header_cstring.cc (test for excess errors)
> FAIL: 17_intro/header_ctime.cc (test for excess errors)
> FAIL: 17_intro/header_cwchar.cc (test for excess errors)
> FAIL: 17_intro/header_cwctype.cc (test for excess errors)
> FAIL: 17_intro/header_fstream.cc (test for excess errors)
> FAIL: 17_intro/header_iomanip.cc (test for excess errors)
> FAIL: 17_intro/header_ios.cc (test for excess errors)
> FAIL: 17_intro/header_iosfwd.cc (test for excess errors)
>
> etc
>
> /ChJ
>
> ----- Original Message -----
> From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
> To: "'Tim Prince'" <tprince@computer.org>; "Christian Jönsson"
> <christian.jonsson@foi.se>; "cygwin" <cygwin@cygwin.com>
> Sent: Friday, July 20, 2001 5:28 AM
> Subject: RE: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> prerelease 2001-07-16
>
>
> recent gcc-3.1 results below - haven't been able to bootstrap since then.
> Needs dejagnu-1.4.1, with a tweak.  I will (try and) dig up my patches.
>
> === libstdc++-v3 tests ===
>
>
> Running target unix
> FAIL: 22_locale/ctype_char_members.cc execution test
> FAIL: 22_locale/members.cc execution test
> FAIL: 22_locale/numpunct_char_members.cc execution test
> XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
>
> === libstdc++-v3 Summary ===
>
> # of expected passes 264
> # of unexpected failures 3
> # of unexpected successes 1
> # of expected failures 7
>
> Compiler version: 3.1 20010714 (experimental)
> Platform: i686-pc-cygwin
> configure flags: --host=i686-pc-cygwin --enable-threads=posix
> --enable-sjlj-exceptions --disable-shared
>
>
> > -----Original Message-----
> > From: Tim Prince [SMTP:tprince@computer.org]
> > Sent: Friday, 20 July 2001 13:25
> > To: Christian Jönsson; cygwin
> > Subject: Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> > prerelease 2001-07-16
> >
> > I believe that the libstdc++ testsuite requires a modification to
> > dejagnu, which is not present in any version avaiilable on gnu or cygwin
> > mirrors.  It would be of interest to find out how well the suite is
> > doing on cygwin.
> >
>


[-- Attachment #2: target.exp.patch --]
[-- Type: text/x-diff, Size: 611 bytes --]

*** target.exp.orig	Thu Jul 19 14:09:04 2001
--- target.exp	Fri Jul 20 15:43:56 2001
***************
*** 274,279 ****
--- 274,282 ----
      # Cygwin cc1 warns about -fpic and -fPIC
      regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text
  
+     # Cygwin gcc warns about -ffunction-sections
+     regsub -all ".*: warning: -ffunction-sections\[^\n\]*\n\[^\n\]\[^\n\]*may affect debugging on some targets." $text "" text
+ 
      # It might be tempting to get carried away and delete blank lines, etc.
      # Just delete *exactly* what we're ask to, and that's it.
      return $text


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16
@ 2001-07-20  6:28 Billinghurst, David (CRTS)
  2001-07-20  6:46 ` Christian Jönsson
  0 siblings, 1 reply; 5+ messages in thread
From: Billinghurst, David (CRTS) @ 2001-07-20  6:28 UTC (permalink / raw)
  To: 'Christian Jönsson'
  Cc: 'cygwin@cygwin.com'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4799 bytes --]

I needed to patch /usr/share/dejagnu/target.exp to ignore
-ffunction-sections warnings.

Just under the lines "# Cygwin cc1 warns about -fpic" add


    # Cygwin gcc warns about -ffunction-sections
    regsub -all ".*: warning:
-ffunction-sections\[^\n\]*\n\[^\n\]\[^\n\]*may affect debugging on some
targets." $text "" text


making sure that the regsub is a single line - my mailer will mangle it :-(

> -----Original Message-----
> From:	Christian Jönsson [SMTP:christian.jonsson@foi.se]
> Sent:	Friday, July 20, 2001 11:14 PM
> To:	Billinghurst, David (CRTS)
> Subject:	Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> prerelease 2001-07-16 
> 
> Great. I have the 1.4.1 (under /usr/local, with the cygwin version
> uninstalled) with your patch
> http://mail.gnu.org/pipermail/dejagnu/2001-May/000031.html
> but nothing else. I do get lots of errors though:
> 
> runtest=`if [ -f
> /usr/local/src/gcc-20010716/libstdc++-v3/../dejagnu/runtest ] ;
>  then echo /usr/local/src/gcc-20010716/libstdc++-v3/../dejagnu/runtest ;
> else echo runtest; fi`; \
> if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
>   $runtest --tool libstdc++-v3 --srcdir $srcdir ; \
> else echo "WARNING: could not find \`runtest'" 1>&2; :;\
> fi
> WARNING: Couldn't find the global config file.
> WARNING: Couldn't find tool init file
> Test Run By Administrator on Fri Jul 20 15:13:07 2001
> Native configuration is i686-pc-cygwin
> 
>                 === libstdc++-v3 tests ===
> 
> Schedule of variations:
>     unix
> 
> Running target unix
> Using /usr/local/share/dejagnu/baseboards/unix.exp as board description
> file
> for target.
> Using /usr/local/share/dejagnu/config/unix.exp as generic interface file
> for
> target.
> Using
> /usr/local/src/gcc-20010716/libstdc++-v3/testsuite/config/default.exp
> as tool-and-target-specific interface file.
> Running
> /usr/local/src/gcc-20010716/libstdc++-v3/testsuite/libstdc++-v3.dg/dg.exp
> ....
> FAIL: 17_intro/header_cassert.cc (test for excess errors)
> FAIL: 17_intro/header_cerrno.cc (test for excess errors)
> FAIL: 17_intro/header_ciso646.cc (test for excess errors)
> FAIL: 17_intro/header_csetjmp.cc (test for excess errors)
> FAIL: 17_intro/header_cstdarg.cc (test for excess errors)
> FAIL: 17_intro/header_cstddef.cc (test for excess errors)
> FAIL: 17_intro/header_cstdio.cc (test for excess errors)
> FAIL: 17_intro/header_cstdlib.cc (test for excess errors)
> FAIL: 17_intro/header_cstring.cc (test for excess errors)
> FAIL: 17_intro/header_ctime.cc (test for excess errors)
> FAIL: 17_intro/header_cwchar.cc (test for excess errors)
> FAIL: 17_intro/header_cwctype.cc (test for excess errors)
> FAIL: 17_intro/header_fstream.cc (test for excess errors)
> FAIL: 17_intro/header_iomanip.cc (test for excess errors)
> FAIL: 17_intro/header_ios.cc (test for excess errors)
> FAIL: 17_intro/header_iosfwd.cc (test for excess errors)
> 
> etc
> 
> /ChJ
> 
> ----- Original Message -----
> From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
> To: "'Tim Prince'" <tprince@computer.org>; "Christian Jönsson"
> <christian.jonsson@foi.se>; "cygwin" <cygwin@cygwin.com>
> Sent: Friday, July 20, 2001 5:28 AM
> Subject: RE: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> prerelease 2001-07-16
> 
> 
> recent gcc-3.1 results below - haven't been able to bootstrap since then.
> Needs dejagnu-1.4.1, with a tweak.  I will (try and) dig up my patches.
> 
> === libstdc++-v3 tests ===
> 
> 
> Running target unix
> FAIL: 22_locale/ctype_char_members.cc execution test
> FAIL: 22_locale/members.cc execution test
> FAIL: 22_locale/numpunct_char_members.cc execution test
> XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
> 
> === libstdc++-v3 Summary ===
> 
> # of expected passes 264
> # of unexpected failures 3
> # of unexpected successes 1
> # of expected failures 7
> 
> Compiler version: 3.1 20010714 (experimental)
> Platform: i686-pc-cygwin
> configure flags: --host=i686-pc-cygwin --enable-threads=posix
> --enable-sjlj-exceptions --disable-shared
> 
> 
> > -----Original Message-----
> > From: Tim Prince [SMTP:tprince@computer.org]
> > Sent: Friday, 20 July 2001 13:25
> > To: Christian Jönsson; cygwin
> > Subject: Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> > prerelease 2001-07-16
> >
> > I believe that the libstdc++ testsuite requires a modification to
> > dejagnu, which is not present in any version avaiilable on gnu or cygwin
> > mirrors.  It would be of interest to find out how well the suite is
> > doing on cygwin.
> >
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16
@ 2001-07-19 20:30 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 5+ messages in thread
From: Billinghurst, David (CRTS) @ 2001-07-19 20:30 UTC (permalink / raw)
  To: 'Tim Prince', Christian Jönsson, cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

recent gcc-3.1 results below - haven't been able to bootstrap since then.
Needs dejagnu-1.4.1, with a tweak.  I will (try and) dig up my patches.

		=== libstdc++-v3 tests ===


Running target unix
FAIL: 22_locale/ctype_char_members.cc execution test
FAIL: 22_locale/members.cc execution test
FAIL: 22_locale/numpunct_char_members.cc execution test
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)

		=== libstdc++-v3 Summary ===

# of expected passes		264
# of unexpected failures	3
# of unexpected successes	1
# of expected failures		7

Compiler version: 3.1 20010714 (experimental) 
Platform: i686-pc-cygwin
configure flags: --host=i686-pc-cygwin --enable-threads=posix
--enable-sjlj-exceptions --disable-shared


> -----Original Message-----
> From:	Tim Prince [SMTP:tprince@computer.org]
> Sent:	Friday, 20 July 2001 13:25
> To:	Christian Jönsson; cygwin
> Subject:	Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1
> prerelease 2001-07-16 
> 
> I believe that the libstdc++ testsuite requires a modification to
> dejagnu, which is not present in any version avaiilable on gnu or cygwin
> mirrors.  It would be of interest to find out how well the suite is
> doing on cygwin.
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-20  6:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-19  4:53 Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16 Christian Jönsson
2001-07-19 20:23 ` Tim Prince
2001-07-19 20:30 Billinghurst, David (CRTS)
2001-07-20  6:28 Billinghurst, David (CRTS)
2001-07-20  6:46 ` Christian Jönsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).