[Bug bootstrap/25740] Bus Error compiling gcc/config/sparc/sol2-c1.asm

darren at mambo dot net gcc-bugzilla@gcc.gnu.org
Thu Jan 12 15:30:00 GMT 2006



------- Comment #10 from darren at mambo dot net  2006-01-12 15:30 -------
Well, after about ten tries, I got it to all compile.

The magic required was:

1. Ensure bintools was in path before /usr/ccs/bin
2. Remove gnu ld from system
3. CFLAGS='-m64' configure --disable-multilib --enable-languages=c,c++
sparcv9-sun-solaris2.10
4. gmake

I disabled multilib because otherwise it tried to compile sparcv7 with 'xgcc
... -m32 -m64', requiring too many manual changes of config.status and
resulting Makefile's

I guess my final point is that if configure sees that it's on Solaris 2.10 with
a v9 processor, shouldn't it at least guess 'sparcv9-sun-solaris2.10' as the
triplet instead of the generic 'sparc-sun-solaris', especially since I hadn't
specified --host, --target or --build?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25740



More information about the Gcc-bugs mailing list