public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: JonathonS <thejunkjon@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: GCC on Solaris -- assertion failure
Date: Tue, 28 Aug 2012 11:08:00 -0000	[thread overview]
Message-ID: <CABw5CXf9XRyw0CB=T_9dwpRHqVqw6iNY+sCti2LfdzULBKW0FA@mail.gmail.com> (raw)

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

             reply	other threads:[~2012-08-28  0:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 11:08 JonathonS [this message]
2012-08-28 13:09 ` David Kirkby
     [not found]   ` <CABw5CXcx=dkjYdAd_g6yHaAvJ0YzR2c9B57oykTxRvx1XevvxQ@mail.gmail.com>
2012-08-29 16:44     ` David Kirkby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABw5CXf9XRyw0CB=T_9dwpRHqVqw6iNY+sCti2LfdzULBKW0FA@mail.gmail.com' \
    --to=thejunkjon@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).