floating point exception, gcc3.1, linux86->solaris build.

David Updegraff dave@toimi.com
Tue Jun 18 09:23:00 GMT 2002


Hi.

----snip-------
/exports/gnu/sparc-sun-solaris2.8/build/gcc/xgcc
    -B/exports/gnu/sparc-sun-solaris2.8/build/gcc/
    -B/exports/gnu/sparc-sun-solaris2.8/bin/
    -B/exports/gnu/sparc-sun-solaris2.8/lib/
    -isystem /exports/gnu/sparc-sun-solaris2.8/include
    -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
    -Wstrict-prototypes -Wmissing-prototypes -isystem ./include
    -I. -I. -I/exports/gnu/src/gcc/gcc -I/exports/gnu/src/gcc/gcc/.
    -I/exports/gnu/src/gcc/gcc/config
    -I/exports/gnu/src/gcc/gcc/../include
    -c /exports/gnu/src/gcc/gcc/config/sparc/gmon-sol2.c -o gmon.o

/exports/gnu/src/gcc/gcc/config/sparc/gmon-sol2.c: In function `_mcleanup':
/exports/gnu/src/gcc/gcc/config/sparc/gmon-sol2.c:233: internal error: 
Floating point exception
-----snip----------

I'm hitting this problem with gcc 3.1/bintuils 2.12; wonder if folks
can offer me some help & advice...

Building Linux i686 hosted, targeting sun-sparc-solaris2.8. From
a build directory, I configure,make,install binutils as below
and all goes well. I have solaris incude,lib all set up in
$prefix/$target/[include|lib].   Then I change pkg to 'gcc',
and all goes well, it runs a few rounds of 'xgcc' compiling up
sol2-[c1|ci|cn].asm, then we die as above.

---snip--
prefix=/exports/gnu
pkg=gcc
target=sun-sparc-solaris2.8

$prefix/src/$pkg/configure \
  --prefix=$prefix\
  --host=i686-pc-linux-gnu\
  --target=$target\
  --enable-shared\
  --enable-threads=posix\
  --disable-checking\
  --enable-long-long\
  --enable-cstdio=stdio\
  --enable-clocale=generic\
  --with-gnu-ld\
  --with-gnu-as\
  --enable-languages=c,c++

--snip----

-- 
David Updegraff / dave@toimi.com / 218.525.1154


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list