Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 26 Feb 2015 12:29:56 +0100 (CET) Received: from unicorn.mansr.com ([81.2.72.234]:48090 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007218AbbBZL3vSOaBc convert rfc822-to-8bit (ORCPT ); Thu, 26 Feb 2015 12:29:51 +0100 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 6BBD61538A; Thu, 26 Feb 2015 11:29:46 +0000 (GMT) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: David Daney Cc: Paul Martin , linux-mips@linux-mips.org Subject: Re: 4.0-rc1 breakage in FPE? References: <20150225182048.GC31062@paulmartin.codethink.co.uk> <54EE4134.2050501@gmail.com> Date: Thu, 26 Feb 2015 11:29:46 +0000 In-Reply-To: <54EE4134.2050501@gmail.com> (David Daney's message of "Wed, 25 Feb 2015 13:40:04 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 45998 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: mans@mansr.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips David Daney writes: > On 02/25/2015 01:31 PM, Måns Rullgård wrote: >> Paul Martin writes: >> >>> Some change between 3.19 and 4.0-rc1 has broken the FPE such that some >>> code running on an Octeon II is subtly not working. >>> > > Can you say where your userspace comes from, so we can try to > reproduce the issue? > >>> eg. >>> >>> $ echo "1 2" | gawk '{ print $1 }' >>> 1 2 >>> >>> which should output (and does output on 3.19) >>> >>> $ echo "1 2" | gawk '{ print $1 }' >>> 1 >>> >>> I'm going to try bisecting this over the next few days. >> >> Are you running a 32-bit userland? If so, enabling >> MIPS_O32_FP64_SUPPORT should fix this. > > ?? > > 32-bit userland (Debian for instance) typically shouldn't need special > "Exprimental" config options enabled. > > If we can identify the offending patch, we should revert it. FYI, a fix (MIPS: asm: elf: Set O32 default FPU flags) has been posted to linux-mips. -- Måns Rullgård mans@mansr.com