Re: /usr/include/c++/v1/cmath:653:9: error

2014-12-09 Thread Dimitry Andric
On 08 Dec 2014, at 22:17, AN  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.

Re: /usr/include/c++/v1/cmath:653:9: error

2014-12-08 Thread AN

Hi NGie:

Thanks for your reply, output is shown at bottom.

On Mon, 8 Dec 2014, NGie Cooper wrote:


Hi AN,

On Mon, Dec 8, 2014 at 1:17 PM, AN  wrote:

Hi List:

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:


   Could you please run the following commands and put the output in
a pastebin or something?
Thanks!

cd /usr/src
make buildenv # This will enter the build environment
cd sbin
make -VCOMPILER_TYPE
make -VCOMPILER_VERSION
sh -c 'for i in MK_CLANG MK_CLANG_BOOTSTRAP MK_GCC MK_GCC_BOOTSTRAP
MK_GNUCXX; do echo "$i => $(make -V$i)"; done'



# make buildenv
Entering world for amd64:amd64
# cd sbin
# make -VCOMPILER_TYPE
clang
# make -VCOMPILER_VERSION
30401
# sh -c 'for i in MK_CLANG MK_CLANG_BOOTSTRAP MK_GCC MK_GCC_BOOTSTRAP 
MK_GNUCXX; do echo "$i => $(make -V$i)"; done'

MK_CLANG => yes
MK_CLANG_BOOTSTRAP => yes
MK_GCC => no
MK_GCC_BOOTSTRAP => no
MK_GNUCXX => no
#


Andy
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: /usr/include/c++/v1/cmath:653:9: error

2014-12-08 Thread NGie Cooper
Hi AN,

On Mon, Dec 8, 2014 at 1:17 PM, AN  wrote:
> Hi List:
>
> 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:

Could you please run the following commands and put the output in
a pastebin or something?
Thanks!

cd /usr/src
make buildenv # This will enter the build environment
cd sbin
make -VCOMPILER_TYPE
make -VCOMPILER_VERSION
sh -c 'for i in MK_CLANG MK_CLANG_BOOTSTRAP MK_GCC MK_GCC_BOOTSTRAP
MK_GNUCXX; do echo "$i => $(make -V$i)"; done'
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"