Re: buildworld error
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE4AB9F986DFE1143261DBD38
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Am 01/31/13 05:06, schrieb Jesse:
> z
>=20
> On 1/31/13, Jesse <jesse@glx.me> wrote:
>> i set these in make.conf:
>> CXXFLAGS+=3D-stdlib=3Dlibc++
>> CXXFLAGS+=3D-std=3Dc++11
>>
>> i comment them and rebuild world ok
>> but it works at previous revision.
>>
>> On 1/30/13, Dimitry Andric <dim@freebsd.org> wrote:
>>> On 2013-01-30 10:37, Jesse wrote:
>>>> I just update /usr/src and make buildworld. The building proccess st=
op
>>>> as
>>>> errors:
>>>>
>>>> =3D=3D=3D> lib/clang/libllvmx86asmparser (all)
>>>> =3D=3D=3D> lib/clang/libllvmx86codegen (all)
>>>> =3D=3D=3D> lib/clang/libllvmx86desc (all)
>>>> =3D=3D=3D> lib/clang/libllvmx86disassembler (all)
>>>> =3D=3D=3D> lib/clang/libllvmx86info (all)
>>>> =3D=3D=3D> lib/clang/libllvmx86instprinter (all)
>>>> =3D=3D=3D> lib/clang/libllvmx86utils (all)
>>>> =3D=3D=3D> lib/clang/libllvmdebuginfo (all)
>>>> =3D=3D=3D> lib/clang/libllvmexecutionengine (all)
>>>> =3D=3D=3D> lib/clang/libllvminterpreter (all)
>>>> =3D=3D=3D> lib/clang/libllvmjit (all)
>>>> =3D=3D=3D> lib/clang/libllvmmcdisassembler (all)
>>>> =3D=3D=3D> lib/clang/libllvmmcjit (all)
>>>> =3D=3D=3D> lib/clang/libllvmruntimedyld (all)
>>>> =3D=3D=3D> lib/clang/include (all)
>>>> 1 error
>>>> *** [everything] Error code 2
>>>> 1 error
>>>> *** [buildworld] Error code 2
>>>> 1 error
>>>
>>> Because you are making buildworld with -j, the actual error message i=
s
>>> not visible. Try searching back in the log to find the actual error,=
>>> and post that. Alternatively, make buildworld without -j.
>>>
>>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"
>=20
I see the very same issue and reported this already. Since I'm not a
professional developer, I'm not quite sure what and how to report the
issue in exactly and accurate.
In my case, this issue came "out of the blue". I also have set
CXXFLAGS+=3D -stdlib=3Dlibc++ -std=3Dc++11
but in /etc/src.conf. Commenting out "-std=3Dc++11" makes the build of
world fail with something like
[...]
fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
In file included from
/usr/src/lib/atf/libatf-c++/../../../contrib/atf/atf-c++/detail/applicati=
on.cpp:42:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/iostream:38=
:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/ios:216:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/__locale:15=
:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/string:434:=
In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/algorithm:5=
94:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/memory:597:=
/usr/obj/usr/src/tmp/usr/include/c++/v1/__functional_base:22:1: error:
inline namespaces are a C++11 feature [-Werror,-Wc++11-extensions]
[...]
which sounds strange to me, since I completely erase /usr/obj before
building and I do not use a ccache or any other similar facility.
Regards,
Oliver
--------------enigE4AB9F986DFE1143261DBD38
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iQEcBAEBAgAGBQJRCfaDAAoJEOgBcD7A/5N8+GcIAOflxonR+VMye5hROQYu7qwz
aVmp26UkuYR/di49BHter+JCd0z5sKfyFLvranVuO6qb6hl+zQRUrcpTg7Rr4EgK
udPMDcR4MEARsUz4+v2RfRKyRL4Gz05/svrqlpYxCUJ+x/YFHRldA/bPQkN+5TGP
diXdHKlj4CSdurVJgxcUfMKWQKAlHvETJXjADFFMjGhdjIhg8uQPVEs0Gb4eMFsR
TEjoEBLoRRwply/QEDb5hGu5zuSsXYHEuvjdEVWaNm5g5QaIr1i0YIGIQQKx/1Ik
o10C6EN1aw1g+7+XlwgHc26rEn6QJrStF/S74zzRlCy+l7SI4WF9IjgRJqT99yM=
=noou
-----END PGP SIGNATURE-----
--------------enigE4AB9F986DFE1143261DBD38--
討論串 (同標題文章)
完整討論串 (本文為第 6 之 7 篇):