From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19918 invoked by alias); 20 Mar 2003 22:35:10 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 19911 invoked from network); 20 Mar 2003 22:35:10 -0000 Received: from unknown (HELO e35.co.us.ibm.com) (32.97.110.133) by sources.redhat.com with SMTP; 20 Mar 2003 22:35:10 -0000 Received: from westrelay03.boulder.ibm.com (westrelay03.boulder.ibm.com [9.17.195.12]) by e35.co.us.ibm.com (8.12.8/8.12.2) with ESMTP id h2KMZ9gJ046086 for ; Thu, 20 Mar 2003 17:35:09 -0500 Received: from unknown.host (dyn9-47-17-64.beaverton.ibm.com [9.47.17.64]) by westrelay03.boulder.ibm.com (8.12.8/NCO/VER6.5) with ESMTP id h2KMZ8Hv056176; Thu, 20 Mar 2003 15:35:08 -0700 Received: (from janis@localhost) by unknown.host (8.9.3/8.9.3) id OAA02671; Thu, 20 Mar 2003 14:38:32 -0800 Date: Fri, 21 Mar 2003 00:00:00 -0000 From: Janis Johnson To: Ulrich Weigand Cc: gcc@gcc.gnu.org Subject: Re: RFA: Ada variable-sized objects, bit_size_type == TImode, and divti3 Message-ID: <20030320143832.A2662@us.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Ulrich.Weigand@de.ibm.com on Thu, Mar 20, 2003 at 09:58:58PM +0100 X-SW-Source: 2003-03/txt/msg01319.txt.bz2 On Thu, Mar 20, 2003 at 09:58:58PM +0100, Ulrich Weigand wrote: > Hello, > > Ada builds are currently failing on s390x due to missing __divti3. > > How does this work on other 64-bit platforms? You can change the value of MIN_UNITS_PER_WORD when compiling libgcc2.c. For example, in config/rs6000/rs6000.h: /* Width of a word, in units (bytes). */ #define UNITS_PER_WORD (! TARGET_POWERPC64 ? 4 : 8) #ifdef IN_LIBGCC2 #define MIN_UNITS_PER_WORD UNITS_PER_WORD #else #define MIN_UNITS_PER_WORD 4 #endif This can cause some needed DImode functions to disappear; if that happens, you'll need to find a way to add them again. That happened for soft-float support for powerpc64-unknown-linux-gnu. Janis