On Tue, Mar 22, 2011 at 11:43 AM, Jakub Jelinek <ja...@redhat.com> wrote: > On Tue, Mar 22, 2011 at 11:25:28AM +0100, Uros Bizjak wrote: >> std::numeric_limits<__float128>::max_digits10 long double export >> should probably match other max_digits10 functions. At least alpha abi >> check complains on incompatible added symbol without this patch. >> >> 2011-03-22 Uros Bizjak <ubiz...@gmail.com> >> >> * config/os/gnu-linux/ldbl-extra.ver: Export >> _ZNSt14numeric_limitsIgE12max_digits10E@@GLIBCXX_LDBL_3.4.14 >> * testsuite/util/testsuite_abi.cc (check_version): Support >> GLIBCXX_LDBL_3.4.14. > > The above is ABI incompatible change unfortunately. > > It was a mistake to add std::numeric_limits<long double>::max_digits10 > for -mlong-double-128 targets (that previously defaulted to -mlong-double-64) > to GLIBCXX_LDBL_3.4 rather than GLIBCXX_LDBL_3.4.14, but as gcc 4.5 has > been already released with that bug, it is too late to remove > the symbol from GLIBCXX_LDBL_3.4, as there might be programs/libraries > using _ZNSt14numeric_limitsIgE12max_digits10E@GLIBCXX_LDBL_3.4. > Furthermore, GLIBCXX_LDBL_3.4.14 symver shouldn't be added now that > gcc 4.5 has been released already. > > IMHO you should just regenerate baseline_symbols.txt for alpha-linux.
Thanks! Attached to this message, please find patch with regenerated baseline_symbols.txt. 2011-03-22 Uros Bizjak <ubiz...@gmail.com> * config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated. Tested on alphaev68-pc-linux-gnu. OK for mainline? Uros.
p.diff.txt.bz2
Description: BZip2 compressed data