From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19462 invoked by alias); 12 Jun 2014 16:32:21 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 19447 invoked by uid 89); 12 Jun 2014 16:32:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: qmta07.emeryville.ca.mail.comcast.net Received: from qmta07.emeryville.ca.mail.comcast.net (HELO qmta07.emeryville.ca.mail.comcast.net) (76.96.30.64) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Jun 2014 16:32:19 +0000 Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta07.emeryville.ca.mail.comcast.net with comcast id DSr51o0051vN32cA7UYJ6D; Thu, 12 Jun 2014 16:32:18 +0000 Received: from [IPv6:2001:558:6045:a4:580:22b5:53c5:158c] ([IPv6:2001:558:6045:a4:580:22b5:53c5:158c]) by omta22.emeryville.ca.mail.comcast.net with comcast id DUYG1o01J4b3jP28iUYHZe; Thu, 12 Jun 2014 16:32:17 +0000 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: RFA: speeding up dg-extract-results.sh From: Mike Stump In-Reply-To: <5399CD05.1040406@codesourcery.com> Date: Thu, 12 Jun 2014 16:32:00 -0000 Cc: gcc-patches@gcc.gnu.org, Richard Sandiford Content-Transfer-Encoding: quoted-printable Message-Id: References: <878utfe5g0.fsf@talisman.default> <53807FD2.6060805@t-online.de> <87tx8efbff.fsf@talisman.default> <5399CD05.1040406@codesourcery.com> To: Bernd Schmidt X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg01045.txt.bz2 On Jun 12, 2014, at 8:53 AM, Bernd Schmidt wrote: > I've recently been trying to add ada to my set of tested languages, and I= now encounter the following: >=20 > File "../../git/gcc/../contrib/dg-extract-results.py", line 242, in pars= e_run > line =3D file.readline() > File "/usr/lib64/python3.3/codecs.py", line 301, in decode > (result, consumed) =3D self._buffer_decode(data, self.errors, final) > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 5227= : invalid continuation byte In the old skool world, these are byte sequences that end in =91\n=92=85 n= o decoding errors are possible=85 well, maybe one, if you tried to put =91= \0=92 in the stream. :-( Maybe a LANG/LC type person can suggest an envir= onment variable to set that would make things happier, else we=92re down to= a python person to solve from that side. My knee jerk would be LANG=3Dc f= or the entire test suite run...