Has anyone built binutils as as a cross suite

Joel Sherrill joel.sherrill@OARcorp.com
Wed Jan 8 01:32:00 GMT 2003



"Stephen P. Smith" wrote:
> 
> I built am trying to build gcc as a cross compiler.  In the middle of
> building the bootstrap portion, the cross assembler is called and
> seg faults.  The targets that I can duplicate this problem with are:
> powerpc-motorola-elf and arm-elf

I build RPMs for both (and a lot more cross targets) from official
releases 
for Linux.  Cygwin usually just builds as well.  Must be a random bad
snapshot.

> ---- binutils build commands (binutils-20021117-1 from cygwin
> distribution ) ---
> 
> cd /htc/GNUSource/cross-compile/build-binutils-powerpc-motorola-elf
> ../binutils-20021117-1/configure
> --prefix=/usr/local/deos-compilers/powerpc --target=powerpc-motorola-elf
>   --host=i686-p
> -cygwin --build=i686-pc-cygwin --with-included-gettext
> make
> make install
> 
> ---- command line (binutils-20021117-1 from cygwin distribution ) ----
> 
> $ /usr/local/deos-compilers/powerpc/bin/powerpc-motorola-elf-as
> Segmentation fault (core dumped)
> 
>   /usr/local/deos-compilers/powerpc/bin/powerpc-motorola-elf-as -mppc -V
> -Qy -mrelocatable-lib -o libgcc/./_muldi3.o libgcc2.s
> xgcc: Internal error: Segmentation fault (program as)
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the Binutils mailing list