GCC on Solaris -- assertion failure

JonathonS thejunkjon@gmail.com
Tue Aug 28 11:08:00 GMT 2012


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



More information about the Gcc-help mailing list