From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28428 invoked by alias); 13 Mar 2002 23:40:03 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 28335 invoked from network); 13 Mar 2002 23:40:00 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 13 Mar 2002 23:40:00 -0000 Received: from dhcppc2 (taarna.cygnus.com [205.180.230.102]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id PAA20798; Wed, 13 Mar 2002 15:39:48 -0800 (PST) Subject: Re: gnu/gcj/io/shs.cc doesn't compile on Solaris 2.5.1 (bootstrap failure) From: Anthony Green To: Adam Megacz Cc: Rainer Orth , gcc-gnats@gcc.gnu.org, java@gcc.gnu.org In-Reply-To: <867kog3vv5.fsf@megacz.com> References: <200203132014.VAA27030@tamarinde.TechFak.Uni-Bielefeld.DE> <86henk3xp5.fsf@megacz.com> <15503.54620.761421.899604@xayide.TechFak.Uni-Bielefeld.DE> <867kog3vv5.fsf@megacz.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 (1.0.2-0.7x) Date: Wed, 13 Mar 2002 15:40:00 -0000 Message-Id: <1016062833.12572.595.camel@dhcppc2> Mime-Version: 1.0 X-SW-Source: 2002-03/txt/msg00275.txt.bz2 On Wed, 2002-03-13 at 15:12, Adam Megacz wrote: > The old shs.cc assumed that an unsigned int was 32 bits. This is > broken. To my knowledge, it can only be fixed robustly on platforms > with proper (C99-compliant) headers. > > It seems that you know of another way to fix the problem which will > work on systems lacking proper headers. Could you please post a patch > containing your suggested fix? I think we decided it would be OK to for the mode of the integer with a type attribute. This is what I need for newlib targets as well (like xscale-elf). AG