From owner-freebsd-questions@FreeBSD.ORG Wed Dec 7 04:56:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB79D106566C; Wed, 7 Dec 2011 04:56:33 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 632DC8FC15; Wed, 7 Dec 2011 04:56:33 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RY9YW-0006zF-IB>; Wed, 07 Dec 2011 05:56:32 +0100 Received: from e178014173.adsl.alicedsl.de ([85.178.14.173] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RY9YW-0006nA-BG>; Wed, 07 Dec 2011 05:56:32 +0100 Message-ID: <4EDEF1FF.5020307@zedat.fu-berlin.de> Date: Wed, 07 Dec 2011 05:56:31 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, Current FreeBSD X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA91E2862F7ED83A63FB7335F" X-Originating-IP: 85.178.14.173 Cc: Subject: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 04:56:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA91E2862F7ED83A63FB7335F Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello. On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when updating the installation of the gcc46 compiler suite. The OS has been compiled via CLANG, binutils 2.22 are installed and has been installed either with the UNAME_r settings and WITH_FBSD10_FIX set in /etc/make.conf. I was wondering whether others would also see this on CURRENT. On all FreeBSD 9.0 boxes gcc46 compiles well. Regards, Oliver =3D=3D=3D=3D Configuring stage 1 in ./gcc clang -O3 -fno-strict-aliasing -pipe -march=3Dnative -I/usr/local/include= -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a echo timestamp > full-stamp gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/build-x86_64-portbld-freebsd9.9/fixincl= udes' gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp' clang -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -I.././../gcc-4.6-20111202/libcpp -I. -I.././../gcc-4.6-20111202/libcpp/../include -I.././../gcc-4.6-20111202/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20111202/libcpp/charset.c =2E././../gcc-4.6-20111202/libcpp/charset.c:1371:1: error: conflicting types for 'cpp_interpret_string' cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t count, ^ =2E././../gcc-4.6-20111202/libcpp/include/cpplib.h:742:13: note: previous= declaration is here extern bool cpp_interpret_string (cpp_reader *, ^ =2E././../gcc-4.6-20111202/libcpp/charset.c:1452:1: error: conflicting types for 'cpp_interpret_string_notranslate' cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *fr= om, ^ =2E././../gcc-4.6-20111202/libcpp/include/cpplib.h:745:13: note: previous= declaration is here extern bool cpp_interpret_string_notranslate (cpp_reader *, ^ 2 errors generated. gmake[3]: *** [charset.o] Error 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/libcpp' gmake[2]: *** [all-stage1-libcpp] Error 2 gmake[2]: *** Waiting for unfinished jobs.... configure: creating cache ./config.cache checking build system type... x86_64-portbld-freebsd9.9 checking host system type... x86_64-portbld-freebsd9.9 checking target system type... x86_64-portbld-freebsd9.9 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok [...] checking linker *_sol2 emulation support... no checking linker --sysroot support... yes checking __stack_chk_fail in target C library... checking for __stack_chk_fail... yes yes checking dl_iterate_phdr in target C library... unknown Using ggc-page for garbage collection. checking whether to enable maintainer-specific portions of Makefiles... n= o Links are now set up to build a native compiler for x86_64-portbld-freebsd9.9. checking for exported symbols... yes checking for -rdynamic... yes checking for library containing dlopen... none required checking for -fPIC -shared... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating as config.status: creating collect-ld config.status: creating nm config.status: creating Makefile config.status: creating ada/gcc-interface/Makefile config.status: creating ada/Makefile config.status: creating auto-host.h config.status: executing default commands gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 1 Stop in /usr/ports/lang/gcc46. *** Error code 1 Stop in /usr/ports/lang/gcc46. =3D=3D=3D>>> make failed for lang/gcc46 =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for lang/gcc46 failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> You can restart from the point of failure with this command = line: portmaster lang/gcc46 --------------enigA91E2862F7ED83A63FB7335F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO3vH/AAoJEOgBcD7A/5N8Rl4H/1uFfc1HYxrwdE+XiQWBluBr duLk2cispRveqzaKv94n+1pPNz3X8qc5tw08l1uL71n4OkaUPme/ZQ8jqbtTIJ7c ZeKvoqtabw50hjQqOhskg7Icyy7IJnu7s/C2bKA3nR/Pb/4xMyqTnrX9JMnqG9Jt W4eQ4jNQSc55F9RWEUyFdTNmDsoLCf9XC6UhktMGKKjey+LXZLtr0mNYCii5MlEK 3HVAZUuPAAsHU6ER1KlGE98Z8vwyR+285TXtAiAg4Ifzfz4rEWqJEnQCN1yLLmJC tsAuWUMgNSK1tpAVcdvVstGpeV/INNkb4hFBh2tYmNH90yyvFBk4b/2MBAQ5xgY= =nxqp -----END PGP SIGNATURE----- --------------enigA91E2862F7ED83A63FB7335F--