From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21293 invoked by alias); 28 Aug 2012 11:08:57 -0000 Received: (qmail 21281 invoked by uid 22791); 28 Aug 2012 11:08:56 -0000 X-SWARE-Spam-Status: No, hits=-4.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 28 Aug 2012 11:08:43 +0000 Received: by wibhq4 with SMTP id hq4so3430247wib.8 for ; Tue, 28 Aug 2012 04:08:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.91.228 with SMTP id ch4mr32242972wib.7.1346152122069; Tue, 28 Aug 2012 04:08:42 -0700 (PDT) Received: by 10.194.8.69 with HTTP; Tue, 28 Aug 2012 04:08:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Aug 2012 13:09:00 -0000 Message-ID: Subject: Re: GCC on Solaris -- assertion failure From: David Kirkby To: JonathonS Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg00278.txt.bz2 On 28 August 2012 01:04, JonathonS wrote: > Hi all, > > On most things I build with GCC 4.4.4 on Solaris, I get the following > assertion failure: > My GCC flags are as follows. > > Using built-in specs. > Target: sparc-sun-solaris2.10 What version of Solaris are you running? If gcc was built on 10, and you using an older version, that might be an issue. > 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. I don't believe Solaris 10 supports 32-bit processors. What machine are you using? What is the output of "uname -a"? What is the output of "command -v gcc" ? Dave