This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Trouble building Linux host mips target binutils


While following the guidelines of the CrossGCC FAQ
(version 0.9.1 dated 11/12/98), I ran across an internal
gcc error.  Here are the commands which led to the error:

# first apply the patch as described in section 3.1 of the FAQ
cd /u/scott/CrossGCC/Source/gcc-2.8.1
patch -p1 < ../crossgcc-gcc-2.8.1.patch

# since I downloaded binutils-2.9.1, I skip section 3.2 of the
# FAQ (a binutils-2.6 GAS bug patch)

# Make some install directories (I want to install and test in
# my directory first)
mkdir /u/scott/CrossGCC/Install
mkdir /u/scott/CrossGCC/Install/bin

# Here are the (csh) steps of section 4.1
setenv host i686-unknown-linux-gnu
setenv target mips-any-elf
setenv prefix /u/scott/CrossGCC/Install
setenv i $prefix/bin

# I'm not building the library or debugger:
mkdir build-binutils build-gcc

# Configure
cd /u/scott/CrossGCC/Source/build-binutils
../binutils-2.9.1/configure --target=$target --prefix=$prefix -v

# Make
make all


### Here is the command which generates the error

gcc -g -O2 -o as-new app.o as.o atof-generic.o bignum-copy.o cond.o depend.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o sb.o stabs.o subsegs.o symbols.o write.o tc-mips.o obj-elf.o atof-ieee.o itbl-parse.o itbl-lex.o itbl-ops.o e-mipself.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
gcc: Internal compiler error: program ld got fatal signal 11
make[1]: *** [as-new] Error 1
make[1]: Leaving directory `/n/fs/grad6/scott/CrossGCC/Source/build-binutils/gas'
make: *** [all-gas] Error 2


###
Miscellaneous information
gcc --version reports 2.7.2.3


Anyone have any ideas what I need to change to fix this?

Thanks,
Scott


--------------------------------------------------------------------------
Scott C. Karlin                             Princeton University
Graduate Student                            Department of Computer Science
Voice: (609) 258-5386                       35 Olden Street
Email: scott@cs.princeton.edu               Princeton, NJ 08544-2087
WWW:   http://www.cs.princeton.edu/~scott
--------------------------------------------------------------------------
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.