This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
GCC on Solaris -- assertion failure
- From: JonathonS <thejunkjon at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 27 Aug 2012 17:04:16 -0700
- Subject: GCC on Solaris -- assertion failure
Hi all,
On most things I build with GCC 4.4.4 on Solaris, I get the following
assertion failure:
init2.c:37: assertion failed: ((64 - 0)+0) == (((64 - 0)+0)/8) * 8 &&
sizeof(mp_limb_t) == (((64 - 0)+0)/8)
I've tried building Emacs, MPFR, ICU etc. and they all fail the same way.
My GCC flags are as follows.
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ../gcc-4.4.4/configure
--prefix=/usr/local/pkgs/gcc-4.4.4 --program-suffix=-4.4.4
--enable-threads=posix --enable-shared
--enable-version-specific-runtime-libs --enable-languages=c,c++
--with-gnu-as --with-gnu-ld --with-as=/usr/local/bin/as
--with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 4.4.4 (GCC)
Does anyone know why this could be the case? My SPARC processor is
32-bit and I see a "64" number in the error so maybe it thinks that I
am building for 64-bit? I am not sure. Any help would be greatly
appreciated.
Thanks,
J