public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/9770: Build breaks with error, `DEFAULT_PCC_STRUCT_RETURN' undeclared
@ 2003-02-20 10:56 gccbug
  0 siblings, 0 replies; only message in thread
From: gccbug @ 2003-02-20 10:56 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-20 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 10:56 bootstrap/9770: Build breaks with error, `DEFAULT_PCC_STRUCT_RETURN' undeclared gccbug

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).