public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Marco Manfai Yu <yumf@Ultimatech.COM>
To: gcc@gcc.gnu.org
Cc: yumf@iago.ultimatech.com
Subject: gcc 2.95.1 sparc-sun-sunos4.1.4 bootstrap failed
Date: Tue, 07 Sep 1999 14:56:00 -0000	[thread overview]
Message-ID: <199909072155.OAA01496@iago.ultimatech.com.ultimatech.com> (raw)

Hi,

    While compiling libio, stage2 gcc complains about __gnuc_va_list
in gcc/include/stdio.h, line 102, 105 and 108. The following is the
part in stdio.h. What is __gnuc_va_list?

#ifndef vprintf
extern int vprintf (const char *, __gnuc_va_list);   <--- line 102
#endif
#ifndef vsprintf
extern int vsprintf (char *, const char *, __gnuc_va_list); <--- line 105
#endif
#ifndef vfprintf
extern int vfprintf (FILE *, const char *, __gnuc_va_list); <--- line 108
#endif

Here's the error message.

/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/xgcc -B/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/ -B/tools/sparc-solaris/egcs/sparc-sunos/sparc-sun-sunos4.1.4/bin/ -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++  iostream.cc
In file included from iostream.cc:34:
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:32: warning: `NULL' redefined
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stddef.h:327: warning: this is the location of the previous definition
In file included from iostream.cc:34:
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:102: type specifier omitted for parameter
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:105: type specifier omitted for parameter
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:108: type specifier omitted for parameter
In file included from iostream.cc:36:
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/string.h:27: warning: declaration of `size_t strlen(const char *)'
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/string.h:27: warning: conflicts with built-in declaration `unsigned int strlen(const char *)'
make[1]: *** [iostream.o] Error 1
make[1]: Leaving directory `/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/sparc-sun-sunos4.1.4/libio'
make: *** [all-target-libio] Error 2

Any help or pointers is greatly appreciated.

Thank you,

Marco Yu

WARNING: multiple messages have this Message-ID
From: Marco Manfai Yu <yumf@Ultimatech.COM>
To: gcc@gcc.gnu.org
Cc: yumf@iago.ultimatech.com
Subject: gcc 2.95.1 sparc-sun-sunos4.1.4 bootstrap failed
Date: Thu, 30 Sep 1999 18:02:00 -0000	[thread overview]
Message-ID: <199909072155.OAA01496@iago.ultimatech.com.ultimatech.com> (raw)
Message-ID: <19990930180200.NI0reG79Bm-DVGG6EsAAV42iq-0vzl870nfOFIT6Zo4@z> (raw)

Hi,

    While compiling libio, stage2 gcc complains about __gnuc_va_list
in gcc/include/stdio.h, line 102, 105 and 108. The following is the
part in stdio.h. What is __gnuc_va_list?

#ifndef vprintf
extern int vprintf (const char *, __gnuc_va_list);   <--- line 102
#endif
#ifndef vsprintf
extern int vsprintf (char *, const char *, __gnuc_va_list); <--- line 105
#endif
#ifndef vfprintf
extern int vfprintf (FILE *, const char *, __gnuc_va_list); <--- line 108
#endif

Here's the error message.

/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/xgcc -B/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/ -B/tools/sparc-solaris/egcs/sparc-sunos/sparc-sun-sunos4.1.4/bin/ -c -g -O2 -fno-implicit-templates -I. -I. -nostdinc++  iostream.cc
In file included from iostream.cc:34:
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:32: warning: `NULL' redefined
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stddef.h:327: warning: this is the location of the previous definition
In file included from iostream.cc:34:
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:102: type specifier omitted for parameter
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:105: type specifier omitted for parameter
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/stdio.h:108: type specifier omitted for parameter
In file included from iostream.cc:36:
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/string.h:27: warning: declaration of `size_t strlen(const char *)'
/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/gcc/include/string.h:27: warning: conflicts with built-in declaration `unsigned int strlen(const char *)'
make[1]: *** [iostream.o] Error 1
make[1]: Leaving directory `/tmp_mnt/tools/sparc-solaris/egcs/src/gcc-2.95.1/sparc-sun-sunos4.1.4/libio'
make: *** [all-target-libio] Error 2

Any help or pointers is greatly appreciated.

Thank you,

Marco Yu

             reply	other threads:[~1999-09-07 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-07 14:56 Marco Manfai Yu [this message]
1999-09-30 18:02 ` Marco Manfai Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199909072155.OAA01496@iago.ultimatech.com.ultimatech.com \
    --to=yumf@ultimatech.com \
    --cc=gcc@gcc.gnu.org \
    --cc=yumf@iago.ultimatech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).