Date: Sun, 11 Dec 2011 10:23:27 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Benjamin Kaduk <kaduk@MIT.EDU> Cc: Current FreeBSD <freebsd-current@freebsd.org>, gabor@freebsd.org Subject: Re: FreeBSD 10.0-CURRENT/AMD64 (CLANG): lang/gcc46 fails to build Message-ID: <4EE4768F.8080208@zedat.fu-berlin.de> In-Reply-To: <alpine.GSO.1.10.1112101840250.882@multics.mit.edu> References: <4EDEF1FF.5020307@zedat.fu-berlin.de> <20111207061137.GA38900@troutmask.apl.washington.edu> <4EE351FE.5070807@zedat.fu-berlin.de> <alpine.GSO.1.10.1112101840250.882@multics.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB200B152E7860A5B26E95B74
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On 12/11/11 00:50, Benjamin Kaduk wrote:
> [-questions to bcc]
>=20
> On Sat, 10 Dec 2011, O. Hartmann wrote:
>=20
>> On 12/07/11 07:11, Steve Kargl wrote:
>>> On Wed, Dec 07, 2011 at 05:56:31AM +0100, O. Hartmann wrote:
>>>> 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
>>>>
>>>
>>> See if setting DISABLE_MAKE_JOBSi helps.
>>>
>>
>> This doesn't work, either.
>=20
> The end of the build log from that case should be more enlightening tha=
n
> the one you originally posted, as it is more likely to actually contain=
> the actual error (which is not present in the snippet above).
>=20
>>
>> In /etc/src.conf, I use WITH_ICONV=3DYES and _WITH_BSD_GREP=3DYES. Swi=
tching
>> off WITH_ICONV seems to solve the problem on FreeBSD 10.0-CURRENT/amd6=
4.
>>
>> I do not know whether OS versions below 10.0 do support the WITH_ICONV=
>> knob.
>>
>> This maybe is a hint to the problem.
>=20
> iconv was only added to base in
> r219019 | gabor | 2011-02-24 19:04:39 -0500 (Thu, 24 Feb 2011)
> so it will first appear in the imminent 9.0 release.
>=20
> Assuming that the error remains reproducible with an up-to-date tree,
> the end of the build log from the DISABLE_MAKE_JOBS case would be usefu=
l
> to see. I've added gabor as a cc, since he seems to be doing most of
> the iconv work.
>=20
> -Ben Kaduk
Following, you'll see the required output. This is the result on FreeBSD
10.-CURRENT/amd64, built with CLANG and in /etc/src.conf WITH_ICONV set.
Also set is the requested knob DISABLE_MAKE_JOBS.
Without /etc/src.conf setting of WITH_ICONV, lang/gcc46 build fine.
Regards,
Oliver
P.S. The source tree is up to date and system/world has been built
recently ago:
FreeBSD 10.0-CURRENT #28 r228399
=3D=3D=3D=3D=3D
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depdir commands
mkdir .deps
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]: 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>>> You can restart from the point of failure with this command =
line:
portmaster <flags> lang/gcc46
--------------enigB200B152E7860A5B26E95B74
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/
iQEcBAEBAgAGBQJO5HaPAAoJEOgBcD7A/5N8RQkH/R7o2wcNPDMYXwQMfwWQDoHy
dRW2q1io5WxfBIWWbyZ8ZIx/72f5beTcrPD4LJwWiC4qUYS/oR8pkkRcHBXPj3vm
Mxj2Ti7NB7zbChiHdpLRDXx5Kc5LBQRXhUHmk9mLh8lQeCPgkrp9HR4f9CvJVlC4
os2OGX6f45kCgXzd6NR7PsOcimyAQlV9rh/j5lH0ywnmT1TsoYPsCvfHFPZ7eIiJ
fX2pUbmjD0+J6et91wSknEy0/r4ITxCi4Fw//QsfZSd1b+hiZ0T5IGMjkodG3xFB
RY+EAkrj874WM1SkpVvrG5qRSzk6whG+sUrVeK3ZSykn4IoWF8CUIVG6akwZStk=
=SdcW
-----END PGP SIGNATURE-----
--------------enigB200B152E7860A5B26E95B74--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EE4768F.8080208>
