delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/20/09:48:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <004601c11122$4cafbb70$b121e396@botten>
From: =?iso-8859-1?Q?Christian_J=F6nsson?= <christian DOT jonsson AT foi DOT se>
To: "Billinghurst, David \(CRTS\)" <David DOT Billinghurst AT riotinto DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <8D00C32549556B4E977F81DBC24E985D1B1B8E AT crtsmail1 DOT technol_exch DOT corp DOT riotinto DOT org>
Subject: Re: Problems running dejagnu on libstdc++v3.dg in gcc-3.0.1 prerelease 2001-07-16
Date: Fri, 20 Jul 2001 15:45:38 +0200
Organization: Sweden's Defence Research Agency
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

------=_NextPart_000_0043_01C11133.06168CF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

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

Cheers,

/ChJ

----- Original Message -----
From: "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com>
To: "'Christian Jönsson'" <christian DOT jonsson AT foi DOT se>
Cc: <cygwin AT cygwin DOT 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 DOT jonsson AT foi DOT 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 DOT Billinghurst AT riotinto DOT com>
> To: "'Tim Prince'" <tprince AT computer DOT org>; "Christian Jönsson"
> <christian DOT jonsson AT foi DOT se>; "cygwin" <cygwin AT cygwin DOT 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 AT computer DOT 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.
> >
>


------=_NextPart_000_0043_01C11133.06168CF0
Content-Type: application/octet-stream;
	name="target.exp.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="target.exp.patch"

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


------=_NextPart_000_0043_01C11133.06168CF0
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_0043_01C11133.06168CF0--

- Raw text -


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