BUG!! gcc-2.95.3 (`__builtin_va_alist' undeclared in snprintf()) on Solaris-2.5.1

Auteria Wally Winzer Jr. wally.winzer@ChampUSA.COM
Sat May 26 02:40:00 GMT 2001


I finally got gcc-2.95.3 compiled on Solaris-2.5.1 (fully-patched).
When trying to compile sendmail and BerkeleyDB I get errors from
snprintf().  Here's the errors:

sendmail-8.11.3:

gcc -O6 -I. -I../../sendmail   -I../../include -I/usr/local/include -DNEWDB
-DNIS -DNISPLUS -DMAP_REGEX -DAUTO_NIS_ALIASES -DTCPWRAPPERS -DSOLARIS=20501
-DNOT_SENDMAIL      -c -o snprintf.o snprintf.c
snprintf.c: In function `snprintf':
snprintf.c:70: `__builtin_va_alist' undeclared (first use in this function)
snprintf.c:70: (Each undeclared identifier is reported only once
snprintf.c:70: for each function it appears in.)
make[1]: *** [snprintf.o] Error 1
make[1]: Leaving directory
`/export/home0/wwinzer/mybuild/BUILD/sendmail-8.11.3/obj.SunOS.5.5.1.sun4/libsmutil'

make: *** [../libsmutil/libsmutil.a] Error 2

BerkeleyDB-3.3.4:

gcc -c -I. -I../dist/../include -I../dist/../include_auto -D_REENTRANT  -O6
../dist/../clib/snprintf.c
../dist/../clib/snprintf.c: In function `__db_Csnprintf':
../dist/../clib/snprintf.c:47: `__builtin_va_alist' undeclared (first use in
this function)
../dist/../clib/snprintf.c:47: (Each undeclared identifier is reported only once

../dist/../clib/snprintf.c:47: for each function it appears in.)
make: *** [snprintf.o] Error 1

This error never occured using gcc-2.95.2.  2.95.3 was compiled exactly
the same way as 2.95.2.

- Wally Winzer Jr.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/octet-stream
Size: 2630 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20010526/7613a1c7/attachment.obj>


More information about the Gcc-bugs mailing list