From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp02.citrix.com ([66.165.176.63]:3502 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969AbcHXRTT (ORCPT ); Wed, 24 Aug 2016 13:19:19 -0400 Subject: Re: [Xen-devel] [PATCH] Xen: remove -fshort-wchar gcc flag References: <1470910580-18458-1-git-send-email-npiggin@gmail.com> <16541778.WMH6K24aDt@wuerfel> From: David Vrabel Message-ID: <57BDD6EA.70204@citrix.com> Date: Wed, 24 Aug 2016 18:18:34 +0100 MIME-Version: 1.0 In-Reply-To: <16541778.WMH6K24aDt@wuerfel> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Arnd Bergmann , Nicholas Piggin Cc: linux-arch@vger.kernel.org, Stephen Rothwell , Juergen Gross , Segher Boessenkool , Nicolas Pitre , linux-kbuild@vger.kernel.org, Alan Modra , Michal Marek , David Vrabel , xen-devel@lists.xenproject.org, Boris Ostrovsky , Sam Ravnborg On 11/08/16 13:39, Arnd Bergmann wrote: > A previous patch added the --no-wchar-size-warning to the Makefile to > avoid this harmless warning: > > arm-linux-gnueabi-ld: warning: drivers/xen/efi.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail > > Changing kbuild to use thin archives instead of recursive linking > unfortunately brings the same warning back during the final link. > > This time, we remove the -fshort-wchar flag that originally caused > the warning, hopefully fixing the problem for good. I don't see > any reason for having the flag in the first place, as the Xen code > does not use wchar_t at all. > > Signed-off-by: Arnd Bergmann > Fixes: 971a69db7dc0 ("Xen: don't warn about 2-byte wchar_t in efi") Acked-by: David Vrabel David