From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 19:44:21 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF0DAE27 for ; Tue, 9 Dec 2014 19:44:21 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6272CAA5 for ; Tue, 9 Dec 2014 19:44:20 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::8f1:3829:1d62:f5d1] (unknown [IPv6:2001:7b8:3a7:0:8f1:3829:1d62:f5d1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C2E6BB80A; Tue, 9 Dec 2014 20:44:08 +0100 (CET) Subject: Re: /usr/include/c++/v1/cmath:653:9: error Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_AB967411-9EAE-424C-86CB-520D5EFB0C61"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b3 From: Dimitry Andric In-Reply-To: Date: Tue, 9 Dec 2014 20:44:02 +0100 Message-Id: References: To: AN X-Mailer: Apple Mail (2.1993) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 19:44:22 -0000 --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 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--