public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c
@ 2003-09-12 16:03 j dot s dot barry at larc dot nasa dot gov
  2003-10-06 20:55 ` [Bug libf2c/12263] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: j dot s dot barry at larc dot nasa dot gov @ 2003-09-12 16:03 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=12263

           Summary: compiler error in libf2c/libI77/backspace.c
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libf2c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: j dot s dot barry at larc dot nasa dot gov
                CC: gcc-bugs at gcc dot gnu dot org

Output of gcc -v:
Reading specs from
/usr/data2/local/gcc-3.3.1/lib/gcc-lib/mips-sgi-irix6.5/3.3.1/specs
Configured with: ../gcc-3.3.1.src/configure --prefix=/usr/data2/local/gcc-3.3.1
Thread model: single
gcc version 3.3.1

Compiler error generated while compiling with: gmake bootstrap:

While compiling : /libf2c/libI77/backspace.c

from file fio.h:2
from file stdio.h:18
from file internal/stdio_core.h:319

undefined type "__gnuc___gnuc_va_list"

Work around was to edit internal/stdio_core.h.
(1) #included  stdarg.h which defined : __gnuc_va_list
(2) changed line 319 from :
 	__SGI_LIBC_NAMESPACE_QUALIFIER __gnuc___gnuc_va_list _ap;
to:
	__SGI_LIBC_NAMESPACE_QUALIFIER __gnuc_va_list _ap;

then gmake bootstrap completed successfully.


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

* [Bug libf2c/12263] compiler error in libf2c/libI77/backspace.c
  2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
@ 2003-10-06 20:55 ` pinskia at gcc dot gnu dot org
  2003-10-07 21:23 ` ro at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-06 20:55 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=12263


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-06 20:55 -------
Fixed on the mainline by:
        * fixinc/inclhack.def (stdio_va_list): Removed _ap fix.
        (irix_stdio_va_list): Don't require leading printf, IRIX 6.5.21
        introduced some multi-line prototypes.
        * fixinc/fixincl.x: Regenerate.


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

* [Bug libf2c/12263] compiler error in libf2c/libI77/backspace.c
  2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
  2003-10-06 20:55 ` [Bug libf2c/12263] " pinskia at gcc dot gnu dot org
@ 2003-10-07 21:23 ` ro at gcc dot gnu dot org
  2003-10-07 21:26 ` ro at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-10-07 21:23 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=12263


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at techfak dot uni-
                   |                            |bielefeld dot de
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


------- Additional Comments From ro at gcc dot gnu dot org  2003-10-07 21:23 -------
Reopen to allow fixing for 3.3.2, too.


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

* [Bug libf2c/12263] compiler error in libf2c/libI77/backspace.c
  2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
  2003-10-06 20:55 ` [Bug libf2c/12263] " pinskia at gcc dot gnu dot org
  2003-10-07 21:23 ` ro at gcc dot gnu dot org
@ 2003-10-07 21:26 ` ro at gcc dot gnu dot org
  2003-10-09 18:05 ` ro at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-10-07 21:26 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=12263


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ro at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-10-07 21:26:36
               date|                            |


------- Additional Comments From ro at gcc dot gnu dot org  2003-10-07 21:26 -------
Could you please check that this patch

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

fixes the bug for you.  Please note that you need to regenerate
gcc/fixinc/fixincl.x for it to have effect.

I'm currently running a bootstrap of the current 3.3 branch with this fix
include.  It may be possible to get the fix into 3.3.2 if it can be confirmed
to work and is sufficiently low-risk.


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

* [Bug libf2c/12263] compiler error in libf2c/libI77/backspace.c
  2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
                   ` (2 preceding siblings ...)
  2003-10-07 21:26 ` ro at gcc dot gnu dot org
@ 2003-10-09 18:05 ` ro at gcc dot gnu dot org
  2003-10-11 16:17 ` pinskia at gcc dot gnu dot org
  2003-11-26  2:48 ` steven dot robbins at videotron dot ca
  5 siblings, 0 replies; 7+ messages in thread
From: ro at gcc dot gnu dot org @ 2003-10-09 18:05 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=12263


ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.4                         |3.3.2


------- Additional Comments From ro at gcc dot gnu dot org  2003-10-09 18:05 -------
Fixed for 3.3.2, too:

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


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

* [Bug libf2c/12263] compiler error in libf2c/libI77/backspace.c
  2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
                   ` (3 preceding siblings ...)
  2003-10-09 18:05 ` ro at gcc dot gnu dot org
@ 2003-10-11 16:17 ` pinskia at gcc dot gnu dot org
  2003-11-26  2:48 ` steven dot robbins at videotron dot ca
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-11 16:17 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=12263


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rrr6399 at futuretek dot com


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-11 16:17 -------
*** Bug 12580 has been marked as a duplicate of this bug. ***


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

* [Bug libf2c/12263] compiler error in libf2c/libI77/backspace.c
  2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
                   ` (4 preceding siblings ...)
  2003-10-11 16:17 ` pinskia at gcc dot gnu dot org
@ 2003-11-26  2:48 ` steven dot robbins at videotron dot ca
  5 siblings, 0 replies; 7+ messages in thread
From: steven dot robbins at videotron dot ca @ 2003-11-26  2:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven dot robbins at videotron dot ca  2003-11-26 02:48 -------
I have the opposite experience.

With our irix 6.5 system, gcc 3.3.1 built fine, but 3.3.2 fails to build on this
file.

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


-- 


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


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

end of thread, other threads:[~2003-11-26  2:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-12 16:03 [Bug libf2c/12263] New: compiler error in libf2c/libI77/backspace.c j dot s dot barry at larc dot nasa dot gov
2003-10-06 20:55 ` [Bug libf2c/12263] " pinskia at gcc dot gnu dot org
2003-10-07 21:23 ` ro at gcc dot gnu dot org
2003-10-07 21:26 ` ro at gcc dot gnu dot org
2003-10-09 18:05 ` ro at gcc dot gnu dot org
2003-10-11 16:17 ` pinskia at gcc dot gnu dot org
2003-11-26  2:48 ` steven dot robbins at videotron dot ca

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