This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/25740] Bus Error compiling gcc/config/sparc/sol2-c1.asm
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2006 15:47:10 -0000
- Subject: [Bug bootstrap/25740] Bus Error compiling gcc/config/sparc/sol2-c1.asm
- References: <bug-25740-12001@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-01-12 15:47 -------
> The magic required was:
>
> 1. Ensure bintools was in path before /usr/ccs/bin
What is bintools?
> 2. Remove gnu ld from system
> 3. CFLAGS='-m64' configure --disable-multilib --enable-languages=c,c++
> sparcv9-sun-solaris2.10
Setting CFLAGS on the configure line is a _recipe_for_disaster_, only CC should
be set.
> 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
!??? See above.
> 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?
No, the canonical target triplet is always sparc-sun-solaris2.* on Solaris as
the default architecture is V8.
I'm really puzzled by all this mess, you're the first one who reported that.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25740