Date: Tue, 9 Dec 2014 20:44:02 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: AN <andy@neu.net> Cc: freebsd-current@freebsd.org Subject: Re: /usr/include/c++/v1/cmath:653:9: error Message-ID: <DB11F297-8C24-4472-97AF-E93F0B1DEB94@FreeBSD.org> In-Reply-To: <alpine.BSF.2.11.1412081538420.1173@mail.neu.net> References: <alpine.BSF.2.11.1412081538420.1173@mail.neu.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_AB967411-9EAE-424C-86CB-520D5EFB0C61 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 08 Dec 2014, at 22:17, AN <andy@neu.net> wrote: >=20 > FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT #15 r275578: Sun Dec 7 = 15:25:11 EST 2014 :/usr/obj/usr/src/sys/MYKERNEL amd64 >=20 > [root@mail /usr/src]# svnlite info > Path: . > Working Copy Root Path: /usr/src > URL: svn://svn.freebsd.org/base/head > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/base > Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f > Revision: 275623 > Node Kind: directory > Schedule: normal > Last Changed Author: ngie > Last Changed Rev: 275622 > Last Changed Date: 2014-12-08 13:29:20 -0500 (Mon, 08 Dec 2014) >=20 > I ran into this bug yesterday while trying to do installworld: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195537 > [xen] vt console somehow causes failures to boot and disk errors >=20 > this is on a VPS with Rootbsd. >=20 > The system froze and I rebooted into single user mode and did full = fsck several times. I added kern.vty=3D"sc" in loader.conf and am able = to boot normally. I tried to do svnlite up and had failures, so I = deleted /usr/src and did svnlite co svn://svn.freebsd.org/base/head/ = /usr/src which finished successfully. >=20 > My problem now is when I try to do buildworld I receive the following = failure: > c++ -O2 -pipe = -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include = -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/incl= ude = -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support = -I. = -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/= include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS = -D__STDC_CONSTANT_MACROS -fno-strict-aliasing = -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.0\" = -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.0\" = -DDEFAULT_SYSROOT=3D\"\" -Qunused-arguments = -I/usr/obj/usr/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti = -Wno-c++11-extensions -c = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloa= t.cpp -o APFloat.o > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloa= t.cpp:15: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/A= PFloat.h:20: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/A= PInt.h:19: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/A= rrayRef.h:14: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/S= mallVector.h:19: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Suppo= rt/MathExtras.h:18: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Suppo= rt/SwapByteOrder.h:18: > In file included from = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/in= clude/llvm/Support/DataTypes.h:36: > /usr/include/c++/v1/cmath:638:9: error: no member named 'signbit' in = the global namespace > using ::signbit; > ~~^ > /usr/include/c++/v1/cmath:639:9: error: no member named 'fpclassify' = in the global namespace > using ::fpclassify; > ~~^ > /usr/include/c++/v1/cmath:640:9: error: no member named 'isfinite' in = the global namespace > using ::isfinite; > ~~^ > /usr/include/c++/v1/cmath:641:9: error: no member named 'isinf' in the = global namespace > using ::isinf; > ~~^ > /usr/include/c++/v1/cmath:642:9: error: no member named 'isnan' in the = global namespace > using ::isnan; > ~~^ > /usr/include/c++/v1/cmath:643:9: error: no member named 'isnormal' in = the global namespace > using ::isnormal; > ~~^ > /usr/include/c++/v1/cmath:644:9: error: no member named 'isgreater' in = the global namespace > using ::isgreater; > ~~^ > /usr/include/c++/v1/cmath:645:9: error: no member named = 'isgreaterequal' in the global namespace > using ::isgreaterequal; > ~~^ > /usr/include/c++/v1/cmath:646:9: error: no member named 'isless' in = the global namespace > using ::isless; > ~~^ > /usr/include/c++/v1/cmath:647:9: error: no member named 'islessequal' = in the global namespace > using ::islessequal; > ~~^ > /usr/include/c++/v1/cmath:648:9: error: no member named = 'islessgreater' in the global namespace > using ::islessgreater; > ~~^ > /usr/include/c++/v1/cmath:649:9: error: no member named 'isunordered' = in the global namespace > using ::isunordered; > ~~^ > /usr/include/c++/v1/cmath:650:9: error: no member named 'isunordered' = in the global namespace > using ::isunordered; > ~~^ > /usr/include/c++/v1/cmath:652:9: error: no member named 'float_t' in = the global namespace; did you mean '__float_t'? > using ::float_t; > ~~^ > /usr/include/x86/_types.h:80:16: note: '__float_t' declared here > typedef float __float_t; > ^ This all seems to point to your /usr/include/math.h not picking up the definitions for signbit, fpclassify, etc. For some reason, your system does not get __ISO_C_VISIBLE >=3D 1999, while everybody else's system = does get it. Can you please show us the details of your build environment, e.g.: * Full contents of /etc/make.conf and /etc/src.conf * Environment variables that might influence the build, e.g. CC, CFLAGS, DEBUG_FLAGS, etc * The specific make command line you are using to build world, including all flags and arguments Also, did you already try zapping everything under /usr/obj, before doing another buildworld? -Dimitry --Apple-Mail=_AB967411-9EAE-424C-86CB-520D5EFB0C61 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlSHUQcACgkQsF6jCi4glqP3rgCeIaWwhIhQvX7Vo9B9/zWFCJUR xs8AniQ2fFeVLht7Zi3xJZxMQWAS8tEA =rEkR -----END PGP SIGNATURE----- --Apple-Mail=_AB967411-9EAE-424C-86CB-520D5EFB0C61--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB11F297-8C24-4472-97AF-E93F0B1DEB94>