From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19668 invoked by alias); 26 Apr 2002 14:28:47 -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 19642 invoked from network); 26 Apr 2002 14:28:43 -0000 Received: from unknown (HELO mail.oarcorp.com) (216.107.91.228) by sources.redhat.com with SMTP; 26 Apr 2002 14:28:43 -0000 Received: (qmail 5632 invoked from network); 26 Apr 2002 14:28:42 -0000 Received: from unknown (HELO OARcorp.com) (192.168.1.2) by 0 with SMTP; 26 Apr 2002 14:28:42 -0000 Message-ID: <3CC962E5.223E127F@OARcorp.com> Date: Fri, 26 Apr 2002 07:36:00 -0000 From: Joel Sherrill Reply-To: joel.sherrill@OARcorp.com Organization: OAR Corporation X-Accept-Language: en MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: gnat with gcc 3.1 build failure Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01406.txt.bz2 HI, I am trying to build gnat targetting sparc-rtems. This is a well tested target on the gcc 2.8.1 based gnat versions. My environment is: Host: GNU/Linux RedHat 7.2 Native GNAT: ACT binaries 3.14p from cs.nyu.edu GCC Version: 3.1-20010423 Build steps: threads="--enable-threads=rtems" prefix=/opt/gcc-3.1-test t=sparc-rtems ../gcc-3.1-20020423/configure --target=${t} \ ${threads} --prefix=${prefix} \ --with-gnu-as --with-gnu-ld --with-newlib --verbose \ '--enable-languages=c,ada' && \ make && \ cd gcc && \ make cross-gnattools && \ make ada.all.cross && \ make CC=gcc GNATLIBCFLAGS="-O2 -g" gnatlib The failure is during "make cross-gnattools" gcc -c -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -W -Wall -gnatpg -gnata -I- -I. -I../../../gcc-3.1-20020423/gcc/ada ../../../gcc-3.1-20020423/gcc/ada/s-imgrea.adb s-imgrea.adb:508:15: expected an access type with designated type "System.Fat_Gen.T" from instance at s-fatllf.ads:49 s-imgrea.adb:508:15: found type "System.Address" make[2]: *** [s-imgrea.o] Error 1 Suggestions (and patches :) appreciated. Thanks. -- Joel Sherrill, Ph.D. Director of Research & Development joel@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985