From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 794 invoked by alias); 18 Aug 2011 18:56:13 -0000 Received: (qmail 785 invoked by uid 22791); 18 Aug 2011 18:56:13 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail1-relais-roc.national.inria.fr (HELO mail1-relais-roc.national.inria.fr) (192.134.164.82) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Aug 2011 18:55:56 +0000 Received: from afontenayssb-151-1-53-14.w82-121.abo.wanadoo.fr (HELO laptop-mg.local) ([82.121.88.14]) by mail1-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Aug 2011 20:55:55 +0200 Date: Thu, 18 Aug 2011 18:56:00 -0000 From: Marc Glisse Reply-To: gcc@gcc.gnu.org To: "Wolfgang S. Kechel" cc: gcc@gcc.gnu.org Subject: Re: Build report gcc 4.6.1 on Sparc Solaris 10 In-Reply-To: <4E4D0ED1.9060007@prs.de> Message-ID: References: <4E4D0ED1.9060007@prs.de> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-08/txt/msg00346.txt.bz2 On Thu, 18 Aug 2011, Wolfgang S. Kechel wrote: > I ran into huge problems, so I installed binutils 2.21.1, make-3.82 and > some other stuff like flex, bison, less all in the latest versions and > compiled with native cc. Finally the build of the multilibs failed so I > decided to give GNU as/ld from binutils a chance, so I configured with > the following command: > > ../configure --prefix=/usr2/gnu --enable-languages=c,c++ CC=/usr/bin/cc > --with-gnu-as --with-as=/usr2/gnu/bin/gas --with-gnu-ld > --with-ld=/usr2/gnu/bin/gld You know that the documentation recommends using the Sun linker (and on sparc the Sun assembler is fine), so if there are errors, you should report them. > To fix this, I edited lto-plugin/Makefile - yes this is generated. I changed > AM_CFLAGS = -Wall -Werror > into > AM_CFLAGS = http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49907 Already fixed on trunk, not backported (yet). > Undefined first referenced > symbol in file > cimag > /archive/sparc-solaris/gcc-4.6.1/ssol/./mpc/src/.libs/libmpc.a(set_x.o) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908 Not fixed yet. There is also a RFE at Oracle to inline those functions. > ../../../mpc/src/get.c: In function ¡mpc_get_dc¢: > ../../../mpc/src/get.c:33:11: error: ¡I¢ undeclared (first use in this > function) > ../../../mpc/src/get.c:33:11: note: each undeclared identifier is > reported only once for each function it appears in > ../../../mpc/src/get.c: In function ¡mpc_get_ldc¢: > ../../../mpc/src/get.c:39:11: error: ¡I¢ undeclared (first use in this > function) Strange, this is expected with gcc-3.4 (although there is a workaround in the development version of mpc) but not with gcc-4.6. -- Marc Glisse