This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.2.2 and SCO Openserver 5.0.6A compile problem
- From: "Steven M. Christensen" <steve at smc dot vnet dot net>
- To: root at theporch dot com
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 8 Feb 2003 17:54:31 -0500 (EST)
- Subject: Re: gcc-3.2.2 and SCO Openserver 5.0.6A compile problem
There appears to have been a minor change in i386.c between 3.2.1 and 3.2.2
that was an error. The diff is
[460] i386> diff i386.c /usr2/SOURCES/S25/gcc-3.2.1/gcc/config/i386/i386.c
927c927
< flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN;
---
> flag_pcc_struct_return = 1;
but DEFAULT_PCC_STRUCT_RETURN is not defined. I just replaced
DEFAULT_PCC_STRUCT_RETURN with 1 in the 3.2.2 i386.c file in
the gcc/config/i386 directory and it compiled under Solaris 8 and 9
for x86 and I presume will work for SCO as well.
Steve Christensen
sunfreeware.com
> From gcc-bugs-return-50592-steve=smc.vnet.net@gcc.gnu.org Sat Feb 8 09:29:03 2003
> Date: Sat, 8 Feb 2003 08:22:38 -0600 (CST)
> From: Phillip Porch <root@theporch.com>
> To: gcc-bugs@gcc.gnu.org
> Subject: gcc-3.2.2 and SCO Openserver 5.0.6A compile problem
>
> I was able to compile gcc-3.2.1 on the SCO Openserver 5.0.6a platform
> using the older 2.95.2pl1 gcc compiler. I then tried to use that compiler
> to compile the newest gcc-3.2.2 version and had the following error occur.
>
> ../../gcc-3.2.2/gcc/config/i386/i386.c: In function `override_options':
> ../../gcc-3.2.2/gcc/config/i386/i386.c:927: `DEFAULT_PCC_STRUCT_RETURN' undeclared (first use in this function)
> ../../gcc-3.2.2/gcc/config/i386/i386.c:927: (Each undeclared identifier is reported only once
> ../../gcc-3.2.2/gcc/config/i386/i386.c:927: for each function it appears in.)
> ../../gcc-3.2.2/gcc/config/i386/i386.c: In function `ix86_save_reg':
> ../../gcc-3.2.2/gcc/config/i386/i386.c:3982: warning: comparison between signed and unsigned
> make[2]: *** [i386.o] Error 1
> make[1]: *** [stage1_build] Error 2
> make: *** [bootstrap-lean] Error 2
>
> Any suggestions of fixing this problem? Thanks.
>
>
>
>
> --
> Phillip P. Porch <root@sco.theporch.com> NIC:PP1573 finger for
> http://www.theporch.com 36 05 45 N 86 50 20 W GnuPG key
>