GCC 3.2.2 build error on Solaris 9 x86 (patch?)
J.D. Bronson
jeff@xpec.com
Mon Feb 17 17:00:00 GMT 2003
At 10:27 AM 2/17/2003, Kaveh R. Ghazi wrote:
> > On Fri, 14 Feb 2003, J.D. Bronson wrote:
> > > I was able to build gcc 3.2.1 on solaris 9x86 w/o any trouble.
> > > However, the same cannot be said for gcc 3.2.2:
> >
> > Yes, this is, unfortunately a regression introduced by a bug fix. :-(
> >
> > I believe it has been fixed now, and you might want to try and use CVS
> > to access the most current version on the gcc-3.2 branch.
>
>I checked CVS with --target=i386-pc-solaris2.9 and it still fails on
>all three branches (trunk, 3.3 and 3.2).
>
>There was a lot of discussion but no patch was ever checked in. :-(
>
>
> > (Perhaps this and the missing info files[1} alone would warrant a GCC
> > 3.2.2a release?)
> > Gerald
>
>My recollection of the "a" release convention is that it is for
>packaging problems only, no code changes. The missing info files
>qualifies, but not the bugfix. We'll need to release a 3.2.3.
>
> --Kaveh
>--
>Kaveh R. Ghazi ghazi@caip.rutgers.edu
This is what fixed it for me:
------------------- clip ------------------------
*** sysv4.h.orig Tue Jan 22 21:59:30 2002
--- sysv4.h Sun Feb 16 17:54:24 2003
***************
*** 27,32 ****
--- 27,35 ----
/* The svr4 ABI for the i386 says that records and unions are returned
in memory. */
+ #undef DEFAULT_PCC_STRUCT_RETURN
+ #define DEFAULT_PCC_STRUCT_RETURN 0
+
#undef RETURN_IN_MEMORY
#define RETURN_IN_MEMORY(TYPE) \
(TYPE_MODE (TYPE) == BLKmode \
------------------- clip ------------------------
--
J.D. Bronson
Aurora Health Care // Information Systems // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282
More information about the Gcc
mailing list