This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs/Solaris status
egcs@thewrittenword.com wrote:
>
> On Fri, Aug 27, 1999 at 04:29:30PM -0700, Russ Allbery wrote:
> > Dimitri Papadopoulos <dpo@club-internet.fr> writes:
> >
> > > In fact, I have built GCC with GNU as/ld (bootstraping with EGCS using
> > > itself GNU as/ld and putting GNU as/ld in my PATH and /usr/ccs/bin out
> > > of my PATH). I do have 107058-01 installed but this should have no
> > > incidence using such a configuration.
> >
> > I'd double-check your assumption with gcc -print-search-dirs; remember
> > that gcc has an internal list of directories that are searched *before*
> > the user's path is, and on Solaris by default that list contains
> > /usr/ccs/bin. So it's entirely possible for gcc on Solaris to pick up
> > vendor as even if it's nowhere in your path.
> >
> > I realize that you're not having problems in the same place that I was,
> > but you're reporting "impossible" random crashes, which is precisely the
> > symptoms of the problem created by patch 107058-01 at least in my
> > experience.
>
> After we complied egcs 1.1.2, I installed patch 107058-01 and then
> compiled zlib. Prior to this patch, the compile succeeded and the test
> program worked fine. After applying the patch, we received SEGV during
> the test program. I'd recommend staying away from 107058 too.
You are using Sun as/ld. This is why you have problems with patch
107058-01. We are using GNU as/ld, so this patch has no incidence on
GCC. In any case, I wouldn't have problems in the situation you are
describing.
This patch has no incidence on our GCC compiler. The patch updates
/usr/ccs/bin/as and our GCC compiler does not use /usr/ccs/bin/as.
See the FAQ for details on how this is achieved.