From owner-freebsd-sparc64@FreeBSD.ORG Sun Jul 15 13:57:18 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B35E8106564A for ; Sun, 15 Jul 2012 13:57:18 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8FA8B8FC12 for ; Sun, 15 Jul 2012 13:57:18 +0000 (UTC) Received: from ip-109-41-25-88.web.vodafone.de (ip-109-41-25-88.web.vodafone.de [109.41.25.88]) by ainaz.pair.com (Postfix) with ESMTPSA id 021ED3F40F; Sun, 15 Jul 2012 09:57:16 -0400 (EDT) Date: Sun, 15 Jul 2012 15:57:13 +0200 (CEST) From: Gerald Pfeifer To: freebsd-sparc64@freebsd.org, Peter Jeremy In-Reply-To: <20120714121820.GA84132@server.rulingia.com> Message-ID: References: <20120621081705.GA41013@mech-cluster241.men.bris.ac.uk> <20120714121820.GA84132@server.rulingia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: lang/gcc46 build failure on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2012 13:57:18 -0000 On Sat, 14 Jul 2012, Peter Jeremy wrote: >> gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp' >> /usr/ports/lang/gcc46/work/build/./prev-gcc/xgcc -B/usr/ports/lang/gcc46/work/build/./prev-gcc/ -B/usr/local/sparc64-portbld-freebsd10.0/bin/ -B/usr/local/sparc64-portbld-freebsd10.0/bin/ -B/usr/local/sparc64-portbld-freebsd10.0/lib/ -isystem /usr/local/sparc64-portbld-freebsd10.0/include -isystem /usr/local/sparc64-portbld-freebsd10.0/sys-include -I.././../gcc-4.6-20120608/libcpp -I. -I.././../gcc-4.6-20120608/libcpp/../include -I.././../gcc-4.6-20120608/libcpp/include -g -O2 -gtoggle -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -I.././../gcc-4.6-20120608/libcpp -I. -I.././../gcc-4.6-20120608/libcpp/../include -I.././../gcc-4.6-20120608/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20120608/libcpp/charset.c >> In file included from .././../gcc-4.6-20120608/libcpp/system.h:30:0, >> from .././../gcc-4.6-20120608/libcpp/charset.c:22: >> /usr/ports/lang/gcc46/work/build/./prev-gcc/include/stddef.h:150:26: error: two or more data types in declaration specifiers >> gmake[3]: *** [charset.o] Error 1 > Sorry for the delay but I see exactly the same on 10.0-CURRENT r238247 > > As a work-around, I'd suggest using ports/lang/gcc - which is the > stable branch of gcc-4.6 Are you saying that on the same machine and base system, lang/gcc46 fails to build whereas lang/gcc succeeds? I was starting to feel this might be related to base systems built with WITH_ICONV=YES (in /etc/src.conf); can you check whether that is on, and if so, does make a difference? Gerald PS. I have dug through the GCC sources and could not find anything so far.