Created attachment 362504 [details] build.log Building dev-qt/qtcore fails to build in sparc-solaris prefix, due to lrelease choking von translations/qt_de.ts. The problem is triggered when lrelease encounters a duplicate translation. The other translation files are processed without errors. lrelease on other platforms seems to be unaffected. Earlier lrelease from qtcore-4.6.3 processes this file fine as well. Stack trace: $ gdb bin/lrelease GNU gdb (GDB) 7.5 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.10". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/chithanh/portage/dev-qt/qtcore-4.8.5/work/qt-everywhere-opensource-src-4.8.5/bin/lrelease...(no debugging symbols found)...done. (gdb) run translations/qt_de.ts Starting program: /tmp/chithanh/portage/dev-qt/qtcore-4.8.5/work/qt-everywhere-opensource-src-4.8.5/bin/lrelease translations/qt_de.ts [Thread debugging using libthread_db enabled] [New Thread 1 (LWP 1)] Warning: dropping duplicate messages in ' Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1 (LWP 1)] 0xff2c4f7c in __frame_dummy_init_array_entry () from /home/pub/lib/gentoo-prefix/usr/sparc-sun-solaris2.10/lib/gcc/libstdc++.so.6 (gdb) where #0 0xff2c4f7c in __frame_dummy_init_array_entry () from /home/pub/lib/gentoo-prefix/usr/sparc-sun-solaris2.10/lib/gcc/libstdc++.so.6 #1 0xff1f45cc in (anonymous namespace)::get_global () at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_globals.cc:53 #2 0xff1f4604 in __cxxabiv1::__cxa_get_globals () at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_globals.cc:63 #3 0xff1f440c in std::uncaught_exception () at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/gcc-4.7.2/libstdc++-v3/libsupc++/eh_catch.cc:136 #4 0xff24dd88 in std::ostream::sentry::~sentry (this=0xffbff444, __in_chrg=<optimized out>) at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/build/sparc-sun-solaris2.10/libstdc++-v3/include/ostream:429 #5 0xff24e548 in std::__ostream_insert<char, std::char_traits<char> > (__out=..., __s=0x1966a0 "Warning: dropping duplicate messages in '", __n=41) at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/build/sparc-sun-solaris2.10/libstdc++-v3/include/bits/ostream_insert.h:112 #6 0xff24e098 in std::operator<< <std::char_traits<char> > (__out=..., __s=0x1966a0 "Warning: dropping duplicate messages in '") at /tmp/chithanh/portage/sys-devel/gcc-4.7.2-r1/work/build/sparc-sun-solaris2.10/libstdc++-v3/include/ostream:533 #7 0x00020da4 in Translator::reportDuplicates(Translator::Duplicates const&, QString const&, bool) () #8 0x00014cc4 in releaseTranslator(Translator&, QString const&, ConversionData&, bool) () #9 0x000155c0 in releaseTsFile(QString const&, ConversionData&, bool) () #10 0x00016880 in main ()
Created attachment 362506 [details] testcase.ts Minimal translation source file which triggers the issue.
Created attachment 362508 [details, diff] qtcore-4.8.5-sparc-solaris-avoid-lrelease-bus-error.patch Workaround to make qt_de.ts not trigger the issue.
The problem is already fixed in g-x86 by binutils-2.23.2 but that is not in prefix yet.
binutils-2.23.2 and 2.24-r1 in the prefix tree now