From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932577AbdJ3ROK (ORCPT ); Mon, 30 Oct 2017 13:14:10 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:59888 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932482AbdJ3ROJ (ORCPT ); Mon, 30 Oct 2017 13:14:09 -0400 Date: Mon, 30 Oct 2017 17:13:53 +0000 From: Russell King - ARM Linux To: Arnd Bergmann Cc: Ard Biesheuvel , Robert Jarzmik , Aaro Koskinen , LKML , Andrea Adami , Gregory CLEMENT , Romain Izard , Sven Schmidt <4sschmid@informatik.uni-hamburg.de>, Petr Cvek , Linux ARM Subject: Re: [PATCH] ARM: add a private asm/unaligned.h Message-ID: <20171030171353.GD27404@n2100.armlinux.org.uk> References: <20171020200231.1355569-1-arnd@arndb.de> <87wp3g39es.fsf@free-electrons.com> <20171027152743.GJ20805@n2100.armlinux.org.uk> <20171030155029.GP20805@n2100.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 30, 2017 at 06:01:44PM +0100, Arnd Bergmann wrote: > Right, either fail the build or use the workaround from the gcc bugzilla, > passing -fno-store-merging to the broken compilers avoids the problem > reliably at the cost of slightly worse code. For the decompressor, we might > also get away with passing -march=armv5t (not armv5te), which has > experimentally been found to avoid the problem and produce better code > than "-march=armv6 -fno-store-merging" as it avoids the strd instruction > but not other store merging. Depends how important the compilers are... We currently refuse to build using these compilers: gcc = 3.x where x < 3 gcc = 4.x where x < 3 if unwinding is enabled gcc = 4.8.x where x < 3 -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up