On 08 Dec 2014, at 22:17, AN <a...@neu.net> wrote:
> 
> 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
> 
> [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)
> 
> I ran into this bug yesterday while trying to do installworld:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195537
> [xen] vt console somehow causes failures to boot and disk errors
> 
> this is on a VPS with Rootbsd.
> 
> The system froze and I rebooted into single user mode and did full fsck 
> several times. I added kern.vty="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.
> 
> 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/include 
> -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=\"x86_64-unknown-freebsd11.0\" 
> -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"\" 
> -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/APFloat.cpp
>  -o APFloat.o
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp:15:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/APFloat.h:20:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/APInt.h:19:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/ArrayRef.h:14:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/SmallVector.h:19:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Support/MathExtras.h:18:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Support/SwapByteOrder.h:18:
> In file included from 
> /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include/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 >= 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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to