public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4479
@ 2001-10-08  3:36 David Abrahams
  0 siblings, 0 replies; 6+ messages in thread
From: David Abrahams @ 2001-10-08  3:36 UTC (permalink / raw)
  To: billingd; +Cc: gcc-prs

The following reply was made to PR c++/4479; it has been noted by GNATS.

From: "David Abrahams" <david.abrahams@rcn.com>
To: <billingd@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>,
	"David Abrahams" <david.abrahams@rcn.com>,
	<gcc-bugs@gcc.gnu.org>
Cc:  
Subject: Re: c++/4479
Date: Mon, 8 Oct 2001 06:41:48 -0400

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
 
 Even with the latest cygwin snapshot, the same problems ensue when I "export
 PATH=/usr/bin:$PATH" in order to bypass the installed gcc-3.0 and use the
 gcc-2.95.3 that came with cygwin. The really odd thing about this is that I
 know I've done it successfully in the past.
 
 
 $ make bootstrap
 .
 .
 .
 make[1]: Entering directory `/cygdrive/e/gcc-src/build/libiberty'
 if [ x"" != x ]; then \
 
 
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc/libiberty/../include  -W -Wall
  -Wtraditional -pedant
 ic  ../../gcc/libiberty/strerror.c -o pic/strerror.o; \
 else true; fi
 gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc/libiberty/../include  -W -Wall
  -Wtraditional -pedantic
  ../../gcc/libiberty/strerror.c
 ../../gcc/libiberty/strerror.c:465: warning: static declaration for
 `sys_nerr' follows non-static
 ../../gcc/libiberty/strerror.c:466: conflicting types for `sys_errlist'
 /usr/include/sys/errno.h:23: previous declaration of `sys_errlist'
 make[1]: *** [strerror.o] Error 1
 make[1]: Leaving directory `/cygdrive/e/gcc-src/build/libiberty'
 make: *** [all-libiberty] Error 2
 .
 .
 .
 gcc  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
 ng-prototypes -Wtraditio
 nal -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cc1.exe \
         c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
 c-convert.o c-aux-info.
 o c-common.o c-format.o c-semantics.o c-dump.o libcpp.a  toplev.o
 libbackend.a obstack.o    -lintl
    -ladvapi32 ../libiberty/libiberty.a
 gcc: ../libiberty/libiberty.a: No such file or directory
 make[1]: *** [cc1.exe] Error 1
 make[1]: Leaving directory `/cygdrive/e/gcc-src/build/gcc'
 make: *** [install-gcc] Error 2
 
 


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

* Re: c++/4479
@ 2001-10-08 16:16 Christopher Faylor
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Faylor @ 2001-10-08 16:16 UTC (permalink / raw)
  To: billingd; +Cc: gcc-prs

The following reply was made to PR c++/4479; it has been noted by GNATS.

From: Christopher Faylor <cgf@redhat.com>
To: David Abrahams <david.abrahams@rcn.com>
Cc: billingd@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
        gcc-bugs@gcc.gnu.org
Subject: Re: c++/4479
Date: Mon, 8 Oct 2001 19:15:33 -0400

 On Mon, Oct 08, 2001 at 06:41:48AM -0400, David Abrahams wrote:
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
 >
 >Even with the latest cygwin snapshot, the same problems ensue when I "export
 >PATH=/usr/bin:$PATH" in order to bypass the installed gcc-3.0 and use the
 >gcc-2.95.3 that came with cygwin. The really odd thing about this is that I
 >know I've done it successfully in the past.
 
 This is a libiberty/windows bug.
 
 I applied this patch to the trunk but never applied it to the 3.0 branch:
 
 cgf
 
 Tue Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>
 
         * configure.in: Set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
         hosting on cygwin.
         * configure: Regenerate.
 
 Index: configure.in
 ===================================================================
 RCS file: /cvs/uberbaum/libiberty/configure.in,v
 retrieving revision 1.33
 retrieving revision 1.35
 diff -u -r1.33 -r1.35
 --- configure.in	2001/07/05 17:24:39	1.33
 +++ configure.in	2001/08/21 16:40:45	1.35
 @@ -190,6 +190,13 @@
  
  AC_SUBST(CHECK)
  
 +case "${host}" in
 +  *-*-cygwin*) 
 +    AC_DEFINE(HAVE_SYS_ERRLIST)
 +    AC_DEFINE(HAVE_SYS_NERR)
 +    ;;
 +esac
 +
  if test -z "${setobjs}"; then
    case "${host}" in
  


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

* Re: c++/4479
@ 2001-10-08  8:16 David Abrahams
  0 siblings, 0 replies; 6+ messages in thread
From: David Abrahams @ 2001-10-08  8:16 UTC (permalink / raw)
  To: billingd; +Cc: gcc-prs

The following reply was made to PR c++/4479; it has been noted by GNATS.

From: "David Abrahams" <david.abrahams@rcn.com>
To: "Billinghurst, David \(CRTS\)" <David.Billinghurst@riotinto.com>,
	<billingd@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: c++/4479
Date: Mon, 8 Oct 2001 11:20:16 -0400

 #defining HAVE_SYS_ERRLIST and HAVE_SYS_NERR in both libiberty/config.h and,
 for bootstrapping, in i686-pc-cygwin/libiberty/config.h allows the build and
 install process to complete successfully. I think this evidence clearly
 shows that the problem does not lie with the cygwin DLL.
 
 HTH,
 Dave
 
 ===================================================
   David Abrahams, C++ library designer for hire
  resume: http://users.rcn.com/abrahams/resume.html
 
         C++ Booster ( http://www.boost.org )
           email: david.abrahams@rcn.com
 ===================================================
 
 ----- Original Message -----
 From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
 To: <billingd@gcc.gnu.org>; <gcc-gnats@gcc.gnu.org>;
 <david.abrahams@rcn.com>
 Sent: Monday, October 08, 2001 1:01 AM
 Subject: Re: c++/4479
 
 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
 >
 > This is a problem with the current cygwin1.dll.  It has been discussed on
 > the cygwin mailing list and has been fixed in cvs and recent cygwin
 > snapshots.  Suggest you download a cygwin snapshot, or wait till the next
 > cygwin release.
 >
 


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

* Re: c++/4479
@ 2001-10-08  4:16 David Abrahams
  0 siblings, 0 replies; 6+ messages in thread
From: David Abrahams @ 2001-10-08  4:16 UTC (permalink / raw)
  To: billingd; +Cc: gcc-prs

The following reply was made to PR c++/4479; it has been noted by GNATS.

From: "David Abrahams" <david.abrahams@rcn.com>
To: "Billinghurst, David \(CRTS\)" <David.Billinghurst@riotinto.com>,
	<billingd@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: c++/4479
Date: Mon, 8 Oct 2001 07:19:13 -0400

 It appears configure is getting the wrong value for HAVE_SYS_ERRLIST, or at
 least that my errno.h/stdio.h contains a definition but that the symbol
 isn't defined in my 'C' library:
 
 configure:2631: checking for sys_errlist
 configure:2643: gcc -o conftest -g -O2   conftest.c  1>&5
 Warning: resolving _sys_errlist by linking to __imp__sys_errlist
 (auto-import)
 fu000001.o(.idata$3+0xc): undefined reference to `templib_a_iname'
 nmth000000.o(.idata$4+0x0): undefined reference to `_nm__sys_errlist'
 collect2: ld returned 1 exit status
 configure: failed program was:
 
 When I edit libiberty/config.h so that HAVE_SYS_ERRLIST is #defined,
 building libiberty succeeds.
 
 HTH,
 Dave
 
 ===================================================
   David Abrahams, C++ library designer for hire
  resume: http://users.rcn.com/abrahams/resume.html
 
         C++ Booster ( http://www.boost.org )
           email: david.abrahams@rcn.com
 ===================================================
 
 ----- Original Message -----
 From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
 To: <billingd@gcc.gnu.org>; <gcc-gnats@gcc.gnu.org>;
 <david.abrahams@rcn.com>
 Sent: Monday, October 08, 2001 1:01 AM
 Subject: Re: c++/4479
 
 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
 >
 > This is a problem with the current cygwin1.dll.  It has been discussed on
 > the cygwin mailing list and has been fixed in cvs and recent cygwin
 > snapshots.  Suggest you download a cygwin snapshot, or wait till the next
 > cygwin release.
 >
 


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

* Re: c++/4479
@ 2001-10-08  3:16 David Abrahams
  0 siblings, 0 replies; 6+ messages in thread
From: David Abrahams @ 2001-10-08  3:16 UTC (permalink / raw)
  To: billingd; +Cc: gcc-prs

The following reply was made to PR c++/4479; it has been noted by GNATS.

From: "David Abrahams" <david.abrahams@rcn.com>
To: "Billinghurst, David \(CRTS\)" <David.Billinghurst@riotinto.com>,
	<billingd@gcc.gnu.org>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: c++/4479
Date: Mon, 8 Oct 2001 06:25:44 -0400

 "configure --with-languages=c,c++ ; make bootstrap" with an installed
 gcc-3.0 and the latest cygwin1.dll ends with:
 
 gcc  -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
 ng-prototypes -Wtraditio
 nal -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cc1.exe \
         c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
 c-convert.o c-aux-info.
 o c-common.o c-format.o c-semantics.o c-dump.o libcpp.a  toplev.o
 libbackend.a obstack.o    -lintl
    -ladvapi32 ../libiberty/libiberty.a
 gcc: ../libiberty/libiberty.a: No such file or directory
 make[1]: *** [cc1.exe] Error 1
 make[1]: Leaving directory `/cygdrive/e/gcc-src/build/gcc'
 make: *** [install-gcc] Error 2
 
 -------
 
 I'm now trying again with gcc-2.95.3
 
 -Dave
 
 ===================================================
   David Abrahams, C++ library designer for hire
  resume: http://users.rcn.com/abrahams/resume.html
 
         C++ Booster ( http://www.boost.org )
           email: david.abrahams@rcn.com
 ===================================================
 
 ----- Original Message -----
 From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
 To: <billingd@gcc.gnu.org>; <gcc-gnats@gcc.gnu.org>;
 <david.abrahams@rcn.com>
 Sent: Monday, October 08, 2001 1:01 AM
 Subject: Re: c++/4479
 
 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
 >
 > This is a problem with the current cygwin1.dll.  It has been discussed on
 > the cygwin mailing list and has been fixed in cvs and recent cygwin
 > snapshots.  Suggest you download a cygwin snapshot, or wait till the next
 > cygwin release.
 >
 


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

* Re: c++/4479
@ 2001-10-07 22:06 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 6+ messages in thread
From: Billinghurst, David (CRTS) @ 2001-10-07 22:06 UTC (permalink / raw)
  To: billingd; +Cc: gcc-prs

The following reply was made to PR c++/4479; it has been noted by GNATS.

From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: "'billingd@gcc.gnu.org'" <billingd@gcc.gnu.org>,
   "'gcc-gnats@gcc.gnu.org'" <gcc-gnats@gcc.gnu.org>,
   "'david.abrahams@rcn.com'" <david.abrahams@rcn.com>
Cc:  
Subject: Re: c++/4479
Date: Mon, 8 Oct 2001 05:01:44 -0000 

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
 
 This is a problem with the current cygwin1.dll.  It has been discussed on
 the cygwin mailing list and has been fixed in cvs and recent cygwin
 snapshots.  Suggest you download a cygwin snapshot, or wait till the next
 cygwin release. 


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

end of thread, other threads:[~2001-10-08 16:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-08  3:36 c++/4479 David Abrahams
  -- strict thread matches above, loose matches on Subject: below --
2001-10-08 16:16 c++/4479 Christopher Faylor
2001-10-08  8:16 c++/4479 David Abrahams
2001-10-08  4:16 c++/4479 David Abrahams
2001-10-08  3:16 c++/4479 David Abrahams
2001-10-07 22:06 c++/4479 Billinghurst, David (CRTS)

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).