public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: gccbug@schloh.com
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/9770: Build breaks with error, `DEFAULT_PCC_STRUCT_RETURN' undeclared
Date: Thu, 20 Feb 2003 10:56:00 -0000	[thread overview]
Message-ID: <20030220105218.20815.qmail@sources.redhat.com> (raw)


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


                 reply	other threads:[~2003-02-20 10:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030220105218.20815.qmail@sources.redhat.com \
    --to=gccbug@schloh.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).