This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46221] New: huge number of c++ testsuite failures, libstdc++.so alias missing


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46221

           Summary: huge number of c++ testsuite failures, libstdc++.so
                    alias missing
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amodra@gmail.com


Created attachment 22196
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22196
preprocessed source

Current mainline miscompiles locale-inst.cc, resulting in most c++ tests
complaining
/home/alan/build/ppc/gcc-curr/powerpc-linux/./libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::ostreambuf_iterator<wchar_t,
std::char_traits<wchar_t> > std::num_put<wchar_t,
std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >
>::_M_insert_float<long double>(std::ostreambuf_iterator<wchar_t,
std::char_traits<wchar_t> >, std::ios_base&, wchar_t, char, long double) const'

Ah, I thought, long double compat missing, but _GLIBCXX_LONG_DOUBLE_COMPAT is
defined, and preprocessed locale-inst.cc shows the alias is there

extern "C" void
_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE15_M_insert_floatIeEES3_S3_RSt8ios_baseccT_
(void) __attribute__ ((alias
("_ZNKSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE15_M_insert_floatIdEES3_S3_RSt8ios_baseccT_"),
weak))

but, no sign of it in the assembly output.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]