public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
@ 2001-05-19 16:46 Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2001-05-19 16:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR other/2873; it has been noted by GNATS.
From: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
To: Joseph Myers <jsm28@cam.ac.uk>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
Date: Sat, 19 May 2001 16:42:42 -0700
On Sat, May 19, 2001 at 05:10:43PM +0000, Joseph Myers wrote:
>
> >Number: 2873
> >Category: other
> >Synopsis: Bogus fixinclude of stdio.h from glibc 2.2.3
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Sat May 19 10:16:00 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator: Joseph S. Myers
> >Release: 3.1 20010519 (experimental)
> >Organization:
> none
> >Environment:
> System: Linux digraph 2.2.19 #1 Wed Mar 28 16:01:38 UTC 2001 i686 unknown
> Architecture: i686
>
>
> host: i686-pc-linux-gnu
> build: i686-pc-linux-gnu
> target: i686-pc-linux-gnu
> configured with: ../gcc-cvs/configure --prefix=/opt/gcc/mainline --disable-shared --enable-threads=posix --with-system-zlib
> >Description:
>
> Fixincludes makes bogus changes to <stdio.h> from glibc 2.2.3. This
> applies to both the mainline and 3.0 branch, and is a regression from
> 2.95.
Interestingly, the fix seems to be necessary on alpha. va-alpha.h
will typedef va_list when included from <stdarg.h>, and va_list will be
typedef'd in stdio.h when stdio is first included, causing a warning.
Is the typedef in stdio.h newly (re?)-introduced ?
--
Daniel Jacobowitz Debian GNU/Linux Developer
Monta Vista Software Debian Security Team
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
@ 2001-05-19 18:16 Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2001-05-19 18:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR other/2873; it has been noted by GNATS.
From: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
To: "Joseph S. Myers" <jsm28@cam.ac.uk>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
Date: Sat, 19 May 2001 18:09:13 -0700
On Sun, May 20, 2001 at 01:01:14AM +0100, Joseph S. Myers wrote:
> On 19 May 2001, Daniel Jacobowitz wrote:
>
> > Interestingly, the fix seems to be necessary on alpha. va-alpha.h
>
> I thought the special va-<arch>.h headers had all gone away for 3.0 with
> the introduction of builtins for stdarg/varargs?
>
> (Some things might still break with varargs.h - but anything still using
> that should probably just be considered broken.)
This is actually with 2.95.3, and glibc 2.2.3.
--
Daniel Jacobowitz Debian GNU/Linux Developer
Monta Vista Software Debian Security Team
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
@ 2001-05-19 17:06 Joseph S. Myers
0 siblings, 0 replies; 4+ messages in thread
From: Joseph S. Myers @ 2001-05-19 17:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR other/2873; it has been noted by GNATS.
From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: <gcc-gnats@gcc.gnu.org>
Subject: Re: other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
Date: Sun, 20 May 2001 01:01:14 +0100 (BST)
On 19 May 2001, Daniel Jacobowitz wrote:
> Interestingly, the fix seems to be necessary on alpha. va-alpha.h
I thought the special va-<arch>.h headers had all gone away for 3.0 with
the introduction of builtins for stdarg/varargs?
(Some things might still break with varargs.h - but anything still using
that should probably just be considered broken.)
--
Joseph S. Myers
jsm28@cam.ac.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
@ 2001-05-19 10:16 Joseph Myers
0 siblings, 0 replies; 4+ messages in thread
From: Joseph Myers @ 2001-05-19 10:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: jsm28
>Number: 2873
>Category: other
>Synopsis: Bogus fixinclude of stdio.h from glibc 2.2.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 19 10:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Joseph S. Myers
>Release: 3.1 20010519 (experimental)
>Organization:
none
>Environment:
System: Linux digraph 2.2.19 #1 Wed Mar 28 16:01:38 UTC 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-cvs/configure --prefix=/opt/gcc/mainline --disable-shared --enable-threads=posix --with-system-zlib
>Description:
Fixincludes makes bogus changes to <stdio.h> from glibc 2.2.3. This
applies to both the mainline and 3.0 branch, and is a regression from
2.95.
>How-To-Repeat:
The following are the diffs generated. This change is bogus; the
va_list typedef under __USE_XOPEN is for Single Unix Specification
conformance.
--- /usr/include/stdio.h Fri Apr 27 16:17:00 2001
+++ /opt/gcc/mainline/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stdio.h Sat May 19 15:45:40 2001
@@ -1,3 +1,12 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "/usr/include/stdio.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
/* Define ISO C stdio on top of C++ iostreams.
Copyright (C) 1991, 1994-1999, 2000, 2001 Free Software Foundation, Inc.
@@ -65,9 +74,9 @@
#ifdef __USE_XOPEN
# ifdef __GNUC__
-# ifndef _VA_LIST_DEFINED
-typedef _G_va_list va_list;
-# define _VA_LIST_DEFINED
+# ifndef _DUMMY_VA_LIST_DEFINED
+typedef _G_va_list __not_va_list__;
+# define _DUMMY_VA_LIST_DEFINED
# endif
# else
# include <stdarg.h>
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-05-19 18:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-19 16:46 other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3 Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2001-05-19 18:16 Daniel Jacobowitz
2001-05-19 17:06 Joseph S. Myers
2001-05-19 10:16 Joseph Myers
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).