public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m
@ 2003-10-17 20:27 bugzilla-gcc at thewrittenword dot com
  2003-10-17 21:18 ` [Bug bootstrap/12666] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2003-10-17 20:27 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666

           Summary: fixincludes problem on IRIX 6.5.19m
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bugzilla-gcc at thewrittenword dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5

Ran into problems building 3.3.2 on IRIX 6.5.19m:

/opt/build/gcc-3.3.2-objdir/gcc/xgcc
-B/opt/build/gcc-3.3.2-objdir/gcc/
-B/opt/TWWfsw/gcc332/mips-sgi-irix6.5/bin/
-B/opt/TWWfsw/gcc332/mips-sgi-irix6.5/lib/ -isystem
/opt/TWWfsw/gcc332/mips-sgi-irix6.5/include -c -DSkip_f2c_Undefs
-DAllow_TYQUAD -I. -I/opt/build/gcc-3.3.2/libf2c/libI77 -I..
-I/opt/build/gcc-3.3.2/libf2c/libI77/.. -DHAVE_CONFIG_H -W -Wall -O2
-g /opt/build/gcc-3.3.2/libf2c/libI77/backspace.c   -DPIC -o
.libs/backspace.o
In file included from
/opt/build/gcc-3.3.2-objdir/gcc/include/stdio.h:18,
                 from /opt/build/gcc-3.3.2/libf2c/libI77/fio.h:2,
                 from
/opt/build/gcc-3.3.2/libf2c/libI77/backspace.c:4:
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h: In
function `snprintf':
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h:310:
error: `va_list' undeclared (first use in this function)
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h:310:
error: (Each undeclared identifier is reported only once
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h:310:
error: for each function it appears in.)
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h:310:
error: parse error before "_ap"
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h:313:
error: `_ap' undeclared (first use in this function)

The problem is that in
/opt/build/gcc-3.3.2-objdir/gcc/include/internal/stdio_core.h we have:
  static int
  snprintf(char *_string, size_t _cnt, const char *_format, ...)
  {
          va_list _ap;

I looked at inclhack.def from 3.3.2 and see this:
  fix = {
      hackname = stdio_va_list;
      files    = stdio.h;
      files    = internal/stdio_core.h;
      files    = internal/wchar_core.h;
      bypass   = '__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list';
      ...
      sed = "s@ va_list @ __gnuc_va_list @\n"
            "s@ va_list)@ __gnuc_va_list)@\n"
            "s@(va_list)&@(__gnuc_va_list)\\&@\n"
            "s@ _VA_LIST_));@ __gnuc_va_list));@\n"
            "s@ __VA_LIST__));@ __gnuc_va_list));@\n"
            ...

However, in GCC 3.3.1, inclhack.def looks like this:
  fix = {
      hackname = stdio_va_list;
      files    = stdio.h;
      files    = internal/stdio_core.h;
      files    = internal/wchar_core.h;
      bypass   = '__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list';
      ...
      sed = "s@ va_list @ __gnuc_va_list @\n"
            "s@ va_list)@ __gnuc_va_list)@\n"
            "s@va_list _ap;@__gnuc_va_list _ap;@\n"
            "s@(va_list)&@(__gnuc_va_list)\\&@\n"
            "s@ _VA_LIST_));@ __gnuc_va_list));@\n"
            "s@ __VA_LIST__));@ __gnuc_va_list));@\n"

The only difference is that in 3.3.2, the following line was removed:
            "s@va_list _ap;@__gnuc_va_list _ap;@\n"


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
@ 2003-10-17 21:18 ` pinskia at gcc dot gnu dot org
  2003-10-17 21:53 ` bugzilla-gcc at thewrittenword dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-17 21:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at gcc dot gnu dot org


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-17 21:15 -------
6.5.21 produces different results, see <http://gcc.gnu.org/ml/gcc-patches/2003-10/
msg00411.html>.


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
  2003-10-17 21:18 ` [Bug bootstrap/12666] " pinskia at gcc dot gnu dot org
@ 2003-10-17 21:53 ` bugzilla-gcc at thewrittenword dot com
  2003-10-18  4:30 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2003-10-17 21:53 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666



------- Additional Comments From bugzilla-gcc at thewrittenword dot com  2003-10-17 21:18 -------
Rainer Orth emailed me about that. I've emailed him the commit that
caused the problem and he said he'd look into it next week.


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
  2003-10-17 21:18 ` [Bug bootstrap/12666] " pinskia at gcc dot gnu dot org
  2003-10-17 21:53 ` bugzilla-gcc at thewrittenword dot com
@ 2003-10-18  4:30 ` pinskia at gcc dot gnu dot org
  2003-10-18 18:58 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-18  4:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-18 04:29:20
               date|                            |


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (2 preceding siblings ...)
  2003-10-18  4:30 ` pinskia at gcc dot gnu dot org
@ 2003-10-18 18:58 ` pinskia at gcc dot gnu dot org
  2003-10-19  2:31 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-18 18:58 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.3.3


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (3 preceding siblings ...)
  2003-10-18 18:58 ` pinskia at gcc dot gnu dot org
@ 2003-10-19  2:31 ` pinskia at gcc dot gnu dot org
  2003-10-29 21:12 ` ro at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-19  2:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sfeehan at sbb dot uvm dot
                   |                            |edu


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-19 02:26 -------
*** Bug 12677 has been marked as a duplicate of this bug. ***


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (4 preceding siblings ...)
  2003-10-19  2:31 ` pinskia at gcc dot gnu dot org
@ 2003-10-29 21:12 ` ro at gcc dot gnu dot org
  2003-10-29 21:32 ` ro at techfak dot uni-bielefeld dot de
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-10-29 21:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2003-10-18 04:29:20         |2003-10-29 21:00:15
               date|                            |


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (5 preceding siblings ...)
  2003-10-29 21:12 ` ro at gcc dot gnu dot org
@ 2003-10-29 21:32 ` ro at techfak dot uni-bielefeld dot de
  2003-11-03 21:04 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2003-10-29 21:32 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666



------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2003-10-29 21:12 -------
Subject: Re:  fixincludes problem on IRIX 6.5.19m

Sorry this took so long.  Proposed patch submitted:

	http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02580.html

Please test.

Thanks.
	Rainer


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (6 preceding siblings ...)
  2003-10-29 21:32 ` ro at techfak dot uni-bielefeld dot de
@ 2003-11-03 21:04 ` cvs-commit at gcc dot gnu dot org
  2003-11-03 21:07 ` cvs-commit at gcc dot gnu dot org
  2003-11-03 21:09 ` ro at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-03 21:04 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-03 21:04 -------
Subject: Bug 12666

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	ro@gcc.gnu.org	2003-11-03 21:04:39

Modified files:
	gcc            : ChangeLog 
	gcc/fixinc     : inclhack.def fixincl.x 

Log message:
	* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
	Merge two substitutions.
	* fixinc/fixincl.x: Regenerate.
	Fixes PR bootstrap/12666.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.792&r2=1.16114.2.793
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fixinc/inclhack.def.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.139.4.14&r2=1.139.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fixinc/fixincl.x.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.132.4.13&r2=1.132.4.14


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (7 preceding siblings ...)
  2003-11-03 21:04 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-03 21:07 ` cvs-commit at gcc dot gnu dot org
  2003-11-03 21:09 ` ro at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-03 21:07 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-11-03 21:07 -------
Subject: Bug 12666

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ro@gcc.gnu.org	2003-11-03 21:07:35

Modified files:
	gcc            : ChangeLog 
	gcc/fixinc     : inclhack.def fixincl.x 

Log message:
	* fixinc/inclhack.def (stdio_va_list): Allow tab before va_list.
	Merge two substitutions.
	* fixinc/fixincl.x: Regenerate.
	Fixes PR bootstrap/12666.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1660&r2=2.1661
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fixinc/inclhack.def.diff?cvsroot=gcc&r1=1.186&r2=1.187
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fixinc/fixincl.x.diff?cvsroot=gcc&r1=1.174&r2=1.175


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

* [Bug bootstrap/12666] fixincludes problem on IRIX 6.5.19m
  2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
                   ` (8 preceding siblings ...)
  2003-11-03 21:07 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-03 21:09 ` ro at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-11-03 21:09 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12666


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From ro at gcc dot gnu dot org  2003-11-03 21:09 -------
Fixed for 3.3.3, 3.4:

  http://gcc.gnu.org/ml/gcc-patches/2003-10/msg02732.html


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

end of thread, other threads:[~2003-11-03 21:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17 20:27 [Bug bootstrap/12666] New: fixincludes problem on IRIX 6.5.19m bugzilla-gcc at thewrittenword dot com
2003-10-17 21:18 ` [Bug bootstrap/12666] " pinskia at gcc dot gnu dot org
2003-10-17 21:53 ` bugzilla-gcc at thewrittenword dot com
2003-10-18  4:30 ` pinskia at gcc dot gnu dot org
2003-10-18 18:58 ` pinskia at gcc dot gnu dot org
2003-10-19  2:31 ` pinskia at gcc dot gnu dot org
2003-10-29 21:12 ` ro at gcc dot gnu dot org
2003-10-29 21:32 ` ro at techfak dot uni-bielefeld dot de
2003-11-03 21:04 ` cvs-commit at gcc dot gnu dot org
2003-11-03 21:07 ` cvs-commit at gcc dot gnu dot org
2003-11-03 21:09 ` ro at gcc dot gnu dot org

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