Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752437AbdFNNCq (ORCPT ); Wed, 14 Jun 2017 09:02:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:39092 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752316AbdFNNCo (ORCPT ); Wed, 14 Jun 2017 09:02:44 -0400 Subject: Re: [PATCH] Unexport LANG env variable To: Alexey Brodkin References: <1497444056-24962-1-git-send-email-abrodkin@synopsys.com> Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Masahiro Yamada , linux-snps-arc@lists.infradead.org, Vineet Gupta From: Michal Marek Message-ID: <51f658dc-215a-6c0c-0ab9-d1164812a56d@suse.com> Date: Wed, 14 Jun 2017 15:02:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1497444056-24962-1-git-send-email-abrodkin@synopsys.com> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 859 Lines: 23 Dne 14.6.2017 v 14:40 Alexey Brodkin napsal(a): > In those cases when we parse output of standard utilities like readelf > etc we rely on a particular sentences. For example for ARC we extract > an entry-point from vmlinux like that: > ---------------------->8-------------------- > readelf -h vmlinux | grep "Entry point address" | grep -o 0x.* > ---------------------->8-------------------- > > And in case LANG is set to anything other than en_XX we're getting > nothing and subsequent execution of mkimage utility fails. > > Probably there're more cases like that but given people rarely > use non-English locales on their dev machines problems like the one > above are not very visible. I'm all for this change but the *.po files in the gcc tree must have been created for a reason: https://github.com/gcc-mirror/gcc/tree/master/gcc/po :) Michal