This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs/Solaris status





> > > Jerffery A Law wrote:
> > > 1) GCC does not bootstrap with Sun's fully patched C compiler 5.0.
> > >    This may be a problem with Sun's compiler, but I doubt it.
> > >    In fact 'make bootstrap' will usually fail whatever the compiler used
> > >    to bootstrap. See my messsage to this list:
> > >     GCC 2.95.1 'make bootstrap' oddities on Solaris
> > Is this a comparison failure?  If so, it is a bug in the Solaris 5.0
> > compilers.

> No, this is not a comparison failure, but it could well be a bug in the
> Solaris 5.0 compiler. I tried to build GCC with a fully patched Sun C
> compiler once again. Here are the results:

Months ago I've also run into the same problem (on solaris 2.5.1
systems with SunCC), finally I've tracked down the bug to the
strlen() function provided by Solaris complier, which unrolled
the strlen() by 4 and cause a SEGV exception around the end of a
string.

SOLUTION: provide a strlen() yourself or update your vendor
compiler.

potatooo.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]