From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 05 18:26:08 2018 Received: (at 31708) by debbugs.gnu.org; 5 Jun 2018 22:26:08 +0000 Received: from localhost ([127.0.0.1]:35556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQKP2-0007t7-8Z for submit@debbugs.gnu.org; Tue, 05 Jun 2018 18:26:08 -0400 Received: from world.peace.net ([64.112.178.59]:51090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQKP0-0007sa-4q for 31708@debbugs.gnu.org; Tue, 05 Jun 2018 18:26:06 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQKOu-0006bl-Hv; Tue, 05 Jun 2018 18:26:00 -0400 From: Mark H Weaver To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults References: <87k1reuc4r.fsf@gnu.org> <87sh623v4a.fsf@netris.org> Date: Tue, 05 Jun 2018 18:24:43 -0400 In-Reply-To: <87sh623v4a.fsf@netris.org> (Mark H. Weaver's message of "Mon, 04 Jun 2018 21:00:37 -0400") Message-ID: <87602w3m8k.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 31708 Cc: 31708@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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