From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31883 invoked by alias); 24 May 2003 03:42:45 -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 31831 invoked from network); 24 May 2003 03:42:44 -0000 Received: from unknown (HELO spuckler.il.thewrittenword.com) (67.95.107.111) by sources.redhat.com with SMTP; 24 May 2003 03:42:44 -0000 Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com [127.0.0.1]) by spuckler.il.thewrittenword.com (8.12.7p2/8.12.7) with ESMTP id h4O3giSN056743 for ; Fri, 23 May 2003 22:42:44 -0500 (CDT) Received: (from china@localhost) by spuckler.il.thewrittenword.com (8.12.7p2/8.12.7) id h4O3giwr056742 for gcc@gcc.gnu.org; Fri, 23 May 2003 22:42:44 -0500 (CDT) From: Albert Chin-A-Young Date: Sat, 24 May 2003 03:50:00 -0000 To: gcc@gcc.gnu.org Subject: [3.3] Bootstrap error building Ada on Solaris 2.6/SPARC Message-ID: <20030524034244.GA56665@spuckler.il.thewrittenword.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-05/txt/msg02174.txt.bz2 I'm using Binutils 2.12.1 (gas) and GNAT 3.15p Solaris 2.5.1/SPARC binary to bootstrap GCC 3.3 on Solaris 2.6/SPARC: $ CC=gcc /opt/build/gcc-3.3/configure --enable-nls \ --with-included-gettext --enable-shared --enable-threads \ --enable-libgcj --with-gnu-as --with-as=[path to gas] ... stage1/xgcc -Bstage1/ -B/opt/TWWfsw/gcc33/sparc-sun-solaris2.6/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o gnat1 ada/b_gnat1.o ... ... Undefined first referenced symbol in file mprotect stage1/libgcc.a(_trampoline.oS) (symbol scope specifies local binding) perror stage1/libgcc.a(_trampoline.oS) (symbol scope specifies local binding) getpagesize ada/init.o (symbol scope specifies local binding) sysconf libbackend.a(timevar.o) (symbol scope specifies local binding) ... I build in a similar way on Solaris 2.5.1/SPARC but with --enable-languages="ada,c,c++,f77" and don't have this problem. On Solaris 7, 8, and 9/SPARC, I don't build with binutils and also don't see this problem. -- albert chin (china@thewrittenword.com)