The build process of GCC 3.0.2 don't works, I think that the problem is a incompatibility between the GCC suplied va_list.h and the "fixed" stdio.h. The va_list.h defines the "va_list" type, however stdio.h tries to use a "__va_list" type, the reason was thsubstitution of all ocurrences of "VA_LIST" to "DUMMY_VA_LIST" in the stdio.h file. The use of the "va_list" type in stdio depends on the definition of the "_VA_LIST" macro in va_list.h, however is checked as "_DUMMY_VA_LIST" in stdio.h, and obviously not found. Release: GCC V3.0.2 Environment: Tru64 Unix V5.1A with GCC 2.95.3 working copied from a Tru64 Unix V5.1 system How-To-Repeat: Building the GCC 3.0.2 distribution in a Tru64 Unix, also building any other program that uses the stdio.h.
Fix: I've workaround the problem changing the pattern of the substitution in the "fixinc" phase from "VA_LIST/DUMMY_VA_LIST" to "VA_LIST_/DUMMY_VA_LIST_" in the files fixinc.ptx, fixincl.x and inclhack.def in the gcc/fixinc directory, Don't know if the correct solution but seems to work for me.
Responsible-Changed-From-To: unassigned->ro Responsible-Changed-Why: Mine.
*** This bug has been marked as a duplicate of 2 ***
From: ro@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jcblanco@fi.upm.es, nobody@gcc.gnu.org, ro@gcc.gnu.org Cc: Subject: Re: target/4962: GCC 3.0.2 don't builds in Tru64 Unix V5.1A Date: 28 Nov 2001 21:57:51 -0000 Synopsis: GCC 3.0.2 don't builds in Tru64 Unix V5.1A Responsible-Changed-From-To: unassigned->ro Responsible-Changed-By: ro Responsible-Changed-When: Wed Nov 28 13:57:51 2001 Responsible-Changed-Why: Mine. State-Changed-From-To: open->closed State-Changed-By: ro State-Changed-When: Wed Nov 28 13:57:51 2001 State-Changed-Why: Duplicate of PR libf2c/4826. See http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01735.html for a proposed patch. I'm awaiting full testsuite results for this patch, which hopefully will make it acceptable for GCC 3.0.3. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4962&database=gcc