This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: ld segfault on Solaris 8
- From: Albert Chin <gcc-help at mlists dot thewrittenword dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Oct 2004 12:53:50 -0500
- Subject: Re: ld segfault on Solaris 8
- References: <cl5v06$mh1$1@sea.gmane.org>
- Reply-to: gcc-help at gcc dot gnu dot org
On Wed, Oct 20, 2004 at 05:07:51PM +0200, Reinout van Schouwen wrote:
> I've googled for this question and saw that someone else brought it up
> once before, however there never was a reply.
>
> So please let me ask if anyone knows what's going on here:
>
> /net/public1/gnu/gcc-3.2/bin/gcc -g -DIN_GCC -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
> -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o genattrtab \
> genattrtab.o genautomata.o \
> rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o
> insn-conditions.o print-rtl1.o errors.o \
> varray.o ../libiberty/libiberty.a -lm
> collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
> make[2]: *** [genattrtab] Fout 1
> make[2]: Leaving directory `/net/public2/reinout/gcc-objdir/gcc'
> make[1]: *** [stage1_build] Fout 2
> make[1]: Leaving directory `/net/public2/reinout/gcc-objdir/gcc'
> make: *** [bootstrap] Fout 2
>
> I'm trying to build GCC 3.4.2 on Solaris 8 (sparc) with gcc 3.2 as base
> compiler. I have GNU-binutils v2.15.
Why are you using binutils? You don't need it. We've bootstrapped
GCC 3.4.2 on Solaris with with Sun's as/ld.
--
albert chin (china@thewrittenword.com)