powerpc64-xtoolchain-gcc (gcc 4.9.1) reports: /usr/srcC/lib/libnv/tests/dnv_tests.cc:453:2: error: ambiguous overload

2015-03-16 Thread Mark Millard
Basic context (more is listed later):

# freebsd-version -ku ; uname -ap
11.0-CURRENT
11.0-CURRENT
FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r279514M: Wed Mar 11 
19:23:14 PDT 2015 
root@FBSDG4C0:/usr/obj/powerpc.powerpc64/usr/srcC/sys/GENERIC64vtsc-NODEBUG  
powerpc powerpc64

With my limping-along powerpc64-xtoolchain-gcc being used on a powerpc64 with 
CROSS_TOOLCHAIN=powerpc64-gcc I recently got it as far as...


The reported ambiguous overload...

In file included from /usr/obj/usr/srcC/tmp/usr/include/atf-c++.hpp:29:0,^M
 from /usr/srcC/lib/libnv/tests/dnv_tests.cc:30:^M
/usr/srcC/lib/libnv/tests/dnv_tests.cc: In member function 'virtual void 
{anonymous}::atfu_tc_dnvlist_take_nvlist__empty::body() const':^M
/usr/srcC/lib/libnv/tests/dnv_tests.cc:453:2: error: ambiguous overload for 
'operator' (operand types are 'std::__1::basic_ostreamchar' and 
'std::nullptr_t')^M
  ATF_REQUIRE_EQ(actual_val, NULL);^M
  ^^M

/usr/srcC/lib/libnv/tests/dnv_tests.cc:453:2: note: candidates are:^M
In file included from /usr/obj/usr/srcC/tmp/usr/include/c++/v1/sstream:174:0,^M
 from /usr/obj/usr/srcC/tmp/usr/include/atf-c++/macros.hpp:29,^M
 from /usr/obj/usr/srcC/tmp/usr/include/atf-c++.hpp:29,^M
 from /usr/srcC/lib/libnv/tests/dnv_tests.cc:30:^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:320:1: note: 
std::__1::basic_ostream_CharT, _Traits std::__1::basic_ostream_CharT, 
_Traits::operator(std::__1::basic_ostream_CharT, _Traits (
*)(std::__1::basic_ostream_CharT, _Traits)) [with _CharT = char; _Traits = 
std::__1::char_traitschar]^M
 basic_ostream_CharT, _Traits::operator(basic_ostream 
(*__pf)(basic_ostream))^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:328:1: note: 
std::__1::basic_ostream_CharT, _Traits std::__1::basic_ostream_CharT, 
_Traits::operator(std::__1::basic_ios_CharT, _Traits (*)(s
td::__1::basic_ios_CharT, _Traits)) [with _CharT = char; _Traits = 
std::__1::char_traitschar]^M
 basic_ostream_CharT, _Traits::operator(basic_ioschar_type, traits_type^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:338:1: note: 
std::__1::basic_ostream_CharT, _Traits std::__1::basic_ostream_CharT, 
_Traits::operator(std::__1::ios_base (*)(std::__1::ios_base
)) [with _CharT = char; _Traits = std::__1::char_traitschar]^M
 basic_ostream_CharT, _Traits::operator(ios_base (*__pf)(ios_base))^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:398:1: note: 
std::__1::basic_ostream_CharT, _Traits std::__1::basic_ostream_CharT, 
_Traits::operator(bool) [with _CharT = char; _Traits = std::_
_1::char_traitschar]^M
 basic_ostream_CharT, _Traits::operator(bool __n)^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:718:1: note: 
std::__1::basic_ostream_CharT, _Traits std::__1::basic_ostream_CharT, 
_Traits::operator(const void*) [with _CharT = char; _Traits =
 std::__1::char_traitschar]^M
 basic_ostream_CharT, _Traits::operator(const void* __n)^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:346:1: note: 
std::__1::basic_ostream_CharT, _Traits std::__1::basic_ostream_CharT, 
_Traits::operator(std::__1::basic_streambuf_CharT, _Traits*
) [with _CharT = char; _Traits = std::__1::char_traitschar]^M
 basic_ostream_CharT, _Traits::operator(basic_streambufchar_type, 
traits_type* __sb)^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:907:1: note: 
std::__1::basic_ostreamchar, _Traits 
std::__1::operator(std::__1::basic_ostreamchar, _Traits, const unsigned 
char*) [with _Traits
= std::__1::char_traitschar]^M
 operator(basic_ostreamchar, _Traits __os, const unsigned char* __str)^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:899:1: note: 
std::__1::basic_ostreamchar, _Traits 
std::__1::operator(std::__1::basic_ostreamchar, _Traits, const signed 
char*) [with _Traits =
std::__1::char_traitschar]^M
 operator(basic_ostreamchar, _Traits __os, const signed char* __str)^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:892:1: note: 
std::__1::basic_ostreamchar, _Traits 
std::__1::operator(std::__1::basic_ostreamchar, _Traits, const char*) 
[with _Traits = std::__
1::char_traitschar]^M
 operator(basic_ostreamchar, _Traits __os, const char* __str)^M
 ^^M
/usr/obj/usr/srcC/tmp/usr/include/c++/v1/ostream:846:1: note: 
std::__1::basic_ostream_CharT, _Traits 
std::__1::operator(std::__1::basic_ostream_CharT, _Traits, const char*) 
[with _CharT = char
; _Traits = std::__1::char_traitschar]^M
 operator(basic_ostream_CharT, _Traits __os, const char* __strn)^M
 ^^M


Other context details:

make CROSS_TOOLCHAIN=powerpc64-gcc \
WITHOUT_CLANG_BOOTSTRAP= \
WITHOUT_CLANG_IS_CC= WITHOUT_CLANG= WITHOUT_CLANG_EXTRAS= WITHOUT_CLANG_FULL= \
WITHOUT_LLDB= \
WITHOUT_GCC_BOOTSTRAP= WITHOUT_GCC= \
WITHOUT_BINUTILS_BOOTSTRAP= WITHOUT_BINUTILS=
buildworld buildkernel KERNCONF=GENERIC64vtsc-NODEBUG \
TARGET=powerpc TARGET_ARCH=powerpc64

(Yes I was being paranoid about various automatic settings that are based on 
other ones. Any form 

Re: powerpc64-xtoolchain-gcc (gcc 4.9.1) reports: /usr/srcC/lib/libnv/tests/dnv_tests.cc:453:2: error: ambiguous overload

2015-03-16 Thread Mark Millard
On 2015-Mar-16, at 07:41 AM, Ryan Stone ryst...@gmail.com wrote:

 This should have been fixed in r276760:
 
 https://svnweb.freebsd.org/changeset/base/279760

Ahh. Thanks.

I'm at -r279514 because when I tried to get from there to -r279813 for my 
powerpc64/powerpc context it was a disaster. Luckily I had a duplicate SSD of 
the before-attempt status to restore with.

The problem was that as soon as it had done /usr/libexec/ld-elf.so.1 - 
/libexec/ld-elf.so.1 then all attempts t run new problem got Bus error (core 
dumped) and *** Error code 138, stopping the installworld and making booting 
fail.

I generally jump from snapshot to snapshot. I only recently started 
experimenting with 11.0-CURRENT. (Nathan W. had asked that I try something 
there and I decided it was time to see about starting to experiment.)



I've svnlite update'd the specific 2 files and have restarted the build.

===
Mark Millard
markmi at dsl-only.net


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


Re: powerpc64-xtoolchain-gcc (gcc 4.9.1) reports: /usr/srcC/lib/libnv/tests/dnv_tests.cc:453:2: error: ambiguous overload

2015-03-16 Thread Ryan Stone
This should have been fixed in r276760:

https://svnweb.freebsd.org/changeset/base/279760
___
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to freebsd-toolchain-unsubscr...@freebsd.org