target/4962: GCC 3.0.2 don't builds in Tru64 Unix V5.1A
jcblanco@fi.upm.es
jcblanco@fi.upm.es
Sat Nov 17 22:54:00 GMT 2001
>Number: 4962
>Category: target
>Synopsis: GCC 3.0.2 don't builds in Tru64 Unix V5.1A
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Wed Nov 28 11:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Juan C. Blanco
>Release: GCC V3.0.2
>Organization:
>Environment:
Tru64 Unix V5.1A with GCC 2.95.3 working copied from a
Tru64 Unix V5.1 system
>Description:
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.
>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.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list