From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753650AbdJHTBJ (ORCPT ); Sun, 8 Oct 2017 15:01:09 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:36282 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753523AbdJHTBG (ORCPT ); Sun, 8 Oct 2017 15:01:06 -0400 X-Google-Smtp-Source: AOwi7QDV+pDWFtmZ3cXdR5z5ywUxl/IOu7cookimfRat5yJnET+gDNQpzBjF394E+/4njAka8g8Aew== Subject: Re: Building older mips kernels with different versions of binutils; possible patch for 3.2 and 3.4 From: Guenter Roeck To: Ben Hutchings , stable , Linux MIPS Mailing List , Li Zefan , "linux-kernel@vger.kernel.org" References: <573936E3.3050003@roeck-us.net> <1507486329.2677.81.camel@decadent.org.uk> Message-ID: <05e37183-f6a6-d141-5dad-9d4b161953b1@roeck-us.net> Date: Sun, 8 Oct 2017 12:01:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/08/2017 11:49 AM, Guenter Roeck wrote: > On 10/08/2017 11:12 AM, Ben Hutchings wrote: >> On Sun, 2016-05-15 at 19:56 -0700, Guenter Roeck wrote: >> [...] >>> For 3.4 and 3.2 kernels to build with binutils v2.24, it would be necessary to >>> apply patch c02263063362 ("MIPS: Refactor 'clear_page' and 'copy_page' functions"). >>> It applies cleanly to 3.4, but has a Makefile conflict in 3.2. It might >>> make sense to apply this patch to both releases. Would this be possible ? >>> This way, we would have at least one toolchain which can build all 3.2+ kernels. >> >> I'm finally queueing this up for 3.2. >> >> Ben. >> > > mipsel images in 3.2.y-queue are now crashing for me. Should I have a look ? > Turns out the culprit is qemu. I had switched from qemu 2.9 to qemu 2.10. Something has changed in qemu that causes a qemu boot failure with 3.2 mipsel (but not in more recent kernels). I'll switch back to qemu 2.9 for the affected builds. Guenter