From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751880AbcADPWj (ORCPT ); Mon, 4 Jan 2016 10:22:39 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:33123 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbcADPWh (ORCPT ); Mon, 4 Jan 2016 10:22:37 -0500 Subject: Re: Build regressions/improvements in v4.4-rc8 To: Geert Uytterhoeven , "linux-kernel@vger.kernel.org" References: <1451919704-31509-1-git-send-email-geert@linux-m68k.org> Cc: Ralf Baechle , Linux MIPS Mailing List From: Guenter Roeck Message-ID: <568A8E39.7020504@roeck-us.net> Date: Mon, 4 Jan 2016 07:22:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/04/2016 07:04 AM, Geert Uytterhoeven wrote: > On Mon, Jan 4, 2016 at 4:01 PM, Geert Uytterhoeven wrote: >> JFYI, when comparing v4.4-rc8[1] to v4.4-rc7[3], the summaries are: >> - build errors: +19/-18 > > + /home/kisskb/slave/src/arch/arm/kernel/ftrace.c: error: implicit > declaration of function 'flush_tlb_all' > [-Werror=implicit-function-declaration]: => 93:2 > + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: > 'L_PTE_DIRTY' undeclared (first use in this function): => 39:2 > + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: > 'L_PTE_MT_WRITEBACK' undeclared (first use in this function): => 39:2 > + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: > 'L_PTE_PRESENT' undeclared (first use in this function): => 39:2 > + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' > undeclared (first use in this function): => 39:2 > + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: > 'L_PTE_YOUNG' undeclared (first use in this function): => 39:2 > > arm-randconfig > Seen and report before > > + /tmp/cc5DX198.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 43 > + /tmp/ccHnSrdb.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 49, 366 > + /tmp/ccSLqWGf.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 43 > + /tmp/cch44bTJ.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 378, 49 > + /tmp/ccjj7cLa.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 43 > + /tmp/ccsgtMo8.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 41, 403 > + /tmp/ccxItlIa.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 43 > > Various mips. > Seems like the fix for this fix still doesn't fix everything? > Yes, there are more binutils problems. The current kernel code does not correctly detect binutils versions such as 2.24.90, where the third level version number is >= 10. See the discussion in [1], and the fix from James Hogan in [2]. If I find the time, I'll extend my test scripts to run some mips builds with different binutils versions. Guenter --- [1] https://patchwork.linux-mips.org/patch/11929/ [2] https://patchwork.linux-mips.org/patch/11931/