Hey all, hey Paul, it looks like the code branches/google/gcc-4_8 does not compile any more:

../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc: In function 'int __gnu_cxx::__concat_size_t(char*, std::size_t, std::size_t)': ../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc:84:35: error: call of overloaded '__int_to_char(char*, long long unsigned int&, const char*&, const

fmtflags&, bool)' is ambiguous
           std::ios_base::dec, true);
                                   ^

I've attached the fill log. As a guess, it may be due to the following commit.

r202927 | ppluzhnikov | 2013-09-25 15:12:11 -0700 (Wed, 25 Sep 2013) | 11 lines

For Google b/10323610, partially backport upstream revisions r202818,
r202832 and r202836.

2013-09-25  Paul Pluzhnikov  <ppluzhni...@google.com>

* libstdc++-v3/config/abi/pre/gnu.ver: Add _ZSt24__throw_out_of_range_fmtPKcz
        * libstdc++-v3/src/c++11/Makefile.am: Add snprintf_lite.
        * libstdc++-v3/src/c++11/Makefile.in: Regenerate.
        * libstdc++-v3/src/c++11/snprintf_lite.cc: New.
* libstdc++-v3/src/c++11/functexcept.cc (__throw_out_of_range_fmt): New.

Making all in c++11
realmake[6]: Entering directory 
`/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/src/c++11'
/bin/sh ../../libtool --tag CXX --tag disable-shared   --mode=compile 
/work/osmolsky/_rpm_builds/BUILD/_gcc3/./gcc/xgcc -shared-libgcc 
-B/work/osmolsky/_rpm_builds/BUILD/_gcc3/./gcc -nostdinc++ 
-L/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/src 
-L/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/src/.libs
 -B/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/bin/ 
-B/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/lib/ 
-isystem 
/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/include 
-isystem 
/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/sys-include
    -I/work/osmolsky/_rpm_builds/BUILD/gcc48-google/libstdc++-v3/../libgcc 
-I/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/include/x86_64-unknown-linux
 
-I/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/include
 -I/work/osmolsky/_rpm_builds/BUILD/gcc48-google/libstdc++-v3/libsupc++  
-std=gnu++11 -prefer-pic -D_GLIBCXX_SHARED -fno-implicit-templates -Wall 
-Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once   
-ffunction-sections -fdata-sections  -frandom-seed=snprintf_lite.lo 
-std=gnu++11  -g -O2 -D_GNU_SOURCE  -c -o snprintf_lite.lo 
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc
libtool: compile:  /work/osmolsky/_rpm_builds/BUILD/_gcc3/./gcc/xgcc 
-shared-libgcc -B/work/osmolsky/_rpm_builds/BUILD/_gcc3/./gcc -nostdinc++ 
-L/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/src 
-L/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/src/.libs
 -B/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/bin/ 
-B/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/lib/ 
-isystem 
/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/include 
-isystem 
/mnt/project/granite/toolchains/elixir/rvbd-gcc48/x86_64-unknown-linux/sys-include
 -I/work/osmolsky/_rpm_builds/BUILD/gcc48-google/libstdc++-v3/../libgcc 
-I/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/include/x86_64-unknown-linux
 
-I/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/include
 -I/work/osmolsky/_rpm_builds/BUILD/gcc48-google/libstdc++-v3/libsupc++ 
-std=gnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra 
-Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -frandom-seed=snprintf_lite.lo -std=gnu++11 
-g -O2 -D_GNU_SOURCE -c 
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc  -fPIC 
-DPIC -D_GLIBCXX_SHARED  -o snprintf_lite.o
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc: In 
function 'int __gnu_cxx::__concat_size_t(char*, std::size_t, std::size_t)':
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc:84:35: 
error: call of overloaded '__int_to_char(char*, long long unsigned int&, const 
char*&, const fmtflags&, bool)' is ambiguous
           std::ios_base::dec, true);
                                   ^
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc:84:35: 
note: candidates are:
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc:33:3: note: 
int std::__int_to_char(_CharT*, _ValueT, const _CharT*, 
std::__7::ios_base::fmtflags, bool) [with _CharT = char; _ValueT = long long 
unsigned int; std::__7::ios_base::fmtflags = std::__7::_Ios_Fmtflags]
   __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit,
   ^
In file included from 
/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/include/bits/locale_facets.h:2608:0,
                 from 
../../../../../gcc48-google/libstdc++-v3/src/c++11/snprintf_lite.cc:28:
/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/include/bits/locale_facets.tcc:789:5:
 note: int std::__7::__int_to_char(_CharT*, _ValueT, const _CharT*, 
std::__7::ios_base::fmtflags, bool) [with _CharT = char; _ValueT = long long 
unsigned int; std::__7::ios_base::fmtflags = std::__7::_Ios_Fmtflags]
     __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit,
     ^
realmake[6]: *** [snprintf_lite.lo] Error 1
realmake[6]: Leaving directory 
`/work/osmolsky/_rpm_builds/BUILD/_gcc3/x86_64-unknown-linux/libstdc++-v3/src/c++11'

Reply via email to