From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults Date: Tue, 05 Jun 2018 18:24:43 -0400 Message-ID: <87602w3m8k.fsf@netris.org> References: <87k1reuc4r.fsf@gnu.org> <87sh623v4a.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQKPz-0007Zv-Ac for bug-guix@gnu.org; Tue, 05 Jun 2018 18:27:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQKPu-0000jZ-8J for bug-guix@gnu.org; Tue, 05 Jun 2018 18:27:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55892) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQKPu-0000jT-4T for bug-guix@gnu.org; Tue, 05 Jun 2018 18:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fQKPt-0007uB-MS for bug-guix@gnu.org; Tue, 05 Jun 2018 18:27:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sh623v4a.fsf@netris.org> (Mark H. Weaver's message of "Mon, 04 Jun 2018 21:00:37 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31708@debbugs.gnu.org Mark H Weaver writes: > Here's the declaration of QChar::byteOrderMark from qtools/qstring.h, > included in the doxygen tarball: > > class Q_EXPORT Q_PACKED QChar { > public: > QChar(); > QChar( char c ); > QChar( uchar c ); > QChar( uchar c, uchar r ); > QChar( const QChar& c ); > QChar( ushort rc ); > QChar( short rc ); > QChar( uint rc ); > QChar( int rc ); > > QT_STATIC_CONST QChar null; // 0000 > QT_STATIC_CONST QChar replacement; // FFFD > QT_STATIC_CONST QChar byteOrderMark; // FEFF > QT_STATIC_CONST QChar byteOrderSwapped; // FFFE > QT_STATIC_CONST QChar nbsp; // 00A0 > > and here's its definition, from qtools/qstring.cpp line 12179: > > QT_STATIC_CONST_IMPL QChar QChar::byteOrderMark((ushort)0xfeff); > > Any suggestions? I've managed to avoid working with C++ so far in this > millenium, so I'm a bit rusty. If some of these cases are difficult to work around, one option would be to add a new 'gcc-final/fixed' package or similar, with this bug fixed, and we could then add it as a 'native-input' to selected packages where it's needed, e.g. doxygen on armhf. Mark