This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/9770: Build breaks with error, `DEFAULT_PCC_STRUCT_RETURN' undeclared
- From: gccbug at schloh dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 20 Feb 2003 10:52:18 -0000
- Subject: bootstrap/9770: Build breaks with error, `DEFAULT_PCC_STRUCT_RETURN' undeclared
- Reply-to: gccbug at schloh dot com
>Number: 9770
>Category: bootstrap
>Synopsis: Build breaks with error, `DEFAULT_PCC_STRUCT_RETURN' undeclared
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 20 10:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Michael Schloh von Bennewitz
>Release: gcc-3.2.2
>Organization:
>Environment:
Solaris 8 x86, ASUS CUV4X-DLS + single Intel Pentium III 1 GHz, GNU make, GNU binutils
>Description:
It seems that the constant DEFAULT_PCC_STRUCT_RETURN is not properly defined when building on a Solaris x86 host. I also confirmed that this has nothing to do with GNU make or GNU binutils. The error appears in almost any configuration on such a Solaris x86 platform.
/gcc-3.2.2/gcc/config/i386$ grep DEFAULT_PCC_STRUCT_R *
386bsd.h:#define DEFAULT_PCC_STRUCT_RETURN 0
beos-elf.h:#undef DEFAULT_PCC_STRUCT_RETURN
beos-elf.h:#define DEFAULT_PCC_STRUCT_RETURN 1
cygwin.h:#undef DEFAULT_PCC_STRUCT_RETURN
cygwin.h:#define DEFAULT_PCC_STRUCT_RETURN 0
freebsd-aout.h:#define DEFAULT_PCC_STRUCT_RETURN 0
freebsd.h:#undef DEFAULT_PCC_STRUCT_RETURN
freebsd.h:#define DEFAULT_PCC_STRUCT_RETURN 0
i386-interix.h:#define DEFAULT_PCC_STRUCT_RETURN 0
i386.c: flag_pcc_str... = DEFAULT_PCC_STRUCT_RETURN;
i386.h: `DEFAULT_PCC_STRUCT_RETURN' to indicate this.
linux-aout.h:#define DEFAULT_PCC_STRUCT_RETURN 0
linux-oldld.h:#define DEFAULT_PCC_STRUCT_RETURN 0
linux.h:#undef DEFAULT_PCC_STRUCT_RETURN
linux.h:#define DEFAULT_PCC_STRUCT_RETURN 1
linux64.h:#undef DEFAULT_PCC_STRUCT_RETURN
linux64.h:#define DEFAULT_PCC_STRUCT_RETURN 1
mach.h:#define DEFAULT_PCC_STRUCT_RETURN 0
netbsd-elf.h:#define DEFAULT_PCC_STRUCT_RETURN 1
netbsd.h:#define DEFAULT_PCC_STRUCT_RETURN 0
openbsd.h:#define DEFAULT_PCC_STRUCT_RETURN 0
osfrose.h:#define DEFAULT_PCC_STRUCT_RETURN 0
>How-To-Repeat:
$ ../configure \
--prefix=/cw \
--exec-prefix=/cw \
--includedir=/cw/include/gcc \
--with-gxx-include-dir=/cw/include/g++ \
--with-local-prefix=/cw/lib/gcc-lib \
--enable-languages="c,c++"
$ gmake
>Fix:
I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: