Date: Thu, 31 Jan 2013 12:20:34 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Jesse <jesse@glx.me> Cc: David Chisnall <theraven@FreeBSD.org>, freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org> Subject: Re: buildworld error Message-ID: <510A5382.6040007@zedat.fu-berlin.de> In-Reply-To: <5109F682.3060604@zedat.fu-berlin.de> References: <CAEMuk5-RYj2fLPPzRwxUwnDbotQa0wEK4MO2DgCa47Lvte%2B73g@mail.gmail.com> <51092025.1070906@FreeBSD.org> <CAEMuk5-V3mS-BNJqmwrhE7c0Mre6oPYOR-moDyFtrODa9YCXCw@mail.gmail.com> <CAEMuk5-=mHhYPLe1vmkCL2BGy8PWwfwQKvSd-k2PfKA_miQuCg@mail.gmail.com> <5109F682.3060604@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3399AC121686F78FE176EFED Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/31/13 05:43, O. Hartmann wrote: > Am 01/31/13 05:06, schrieb Jesse: >> z >> >> 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 s= top >>>>> 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 = is >>>> 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.= org" >> >=20 >=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. >=20 > In my case, this issue came "out of the blue". I also have set >=20 > CXXFLAGS+=3D -stdlib=3Dlibc++ -std=3Dc++11 >=20 > but in /etc/src.conf. Commenting out "-std=3Dc++11" makes the build of > world fail with something like >=20 > [...] > 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/applica= tion.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:43= 4: > In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/algorithm= :594: > In file included from /usr/obj/usr/src/tmp/usr/include/c++/v1/memory:59= 7: > /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] > [...] >=20 > 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. >=20 > Regards, > Oliver >=20 >=20 I can confirm, that disabling CXXFLAGS+=3D -stdlib=3Dlibc++ -std=3Dc++11 completely solves the problem. Using -stdlib=3Dlibc++ building the system's sources decalres CURRENT bro= ken. --------------enig3399AC121686F78FE176EFED 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) iQEcBAEBAgAGBQJRClONAAoJEOgBcD7A/5N8uaUIALPpEpetxl1X6YFn6LA+m8Yw XFq+pWzR+IXxZYMfaNuTn0JytY//EKmFH4Iv1uSUoevv42pAN+TFW0yKqBYWmODL 61i3hqSfVL7dqgKwFkWcoO3GqeqLgPE/o2lnZYXPv7LArRXUU21LvmIrV3g+BH9M jbhnJbgfYIFPXPmozx9e35QXPyVTQok6vYNJna0xnHvPACoXS4q4gjGMlT8XMj1b fAX8Fr7zboRR22lZZ3uJvi8YjrWZZRDHFFrme/g7dc8zy9jSO/rnQXwAMwvDOpGt H+HWSBrbKw/CsLLMkEii9iaQj5UOYVWti/E9TBY4n8p91Z4vEK/SyWONZIdElNU= =E6NG -----END PGP SIGNATURE----- --------------enig3399AC121686F78FE176EFED--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510A5382.6040007>