From patchwork Tue Mar 8 14:35:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Hogan X-Patchwork-Id: 8534891 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 72DED9F7CA for ; Tue, 8 Mar 2016 14:35:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C06FD2012D for ; Tue, 8 Mar 2016 14:35:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C87FD201C0 for ; Tue, 8 Mar 2016 14:35:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbcCHOfh (ORCPT ); Tue, 8 Mar 2016 09:35:37 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:58453 "EHLO imgpgp01.kl.imgtec.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751925AbcCHOff (ORCPT ); Tue, 8 Mar 2016 09:35:35 -0500 Received: from imgpgp01.kl.imgtec.org (imgpgp01.kl.imgtec.org [127.0.0.1]) by imgpgp01.kl.imgtec.org (PGP Universal) with ESMTP id 7A90941F8E73; Tue, 8 Mar 2016 14:35:33 +0000 (GMT) Received: from mailapp01.imgtec.com ([10.100.180.241]) by imgpgp01.kl.imgtec.org (PGP Universal service); Tue, 08 Mar 2016 14:35:33 +0000 X-PGP-Universal: processed; by imgpgp01.kl.imgtec.org on Tue, 08 Mar 2016 14:35:33 +0000 Received: from hhmail02.hh.imgtec.org (unknown [10.100.10.20]) by Websense Email Security Gateway with ESMTPS id 5B3E3EA99DD2A; Tue, 8 Mar 2016 14:35:30 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by hhmail02.hh.imgtec.org (10.100.10.20) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 8 Mar 2016 14:35:33 +0000 Received: from localhost (192.168.154.110) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.266.1; Tue, 8 Mar 2016 14:35:32 +0000 Date: Tue, 8 Mar 2016 14:35:32 +0000 From: James Hogan To: Geert Uytterhoeven CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Media Mailing List , Linux-sh list , Linux MIPS Mailing List Subject: Re: Build regressions/improvements in v4.5-rc7 Message-ID: <20160308143532.GN31414@jhogan-linux.le.imgtec.org> References: <1457340934-23042-1-git-send-email-geert@linux-m68k.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [192.168.154.110] X-ESG-ENCRYPT-TAG: 56f439c Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, SUSPICIOUS_RECIPS, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, On Mon, Mar 07, 2016 at 10:01:09AM +0100, Geert Uytterhoeven wrote: > On Mon, Mar 7, 2016 at 9:55 AM, Geert Uytterhoeven wrote: > > JFYI, when comparing v4.5-rc7[1] to v4.5-rc6[3], the summaries are: > > - build errors: +8/-7 > + error: debugfs.c: undefined reference to `clk_round_rate': => > .text+0x11b9e0) > > arm-randconfig > > While looking for more context, I noticed another regression that fell through > the cracks of my script: > > arch/arm/kernel/head.o: In function `stext': > (.head.text+0x40): undefined reference to `CONFIG_PHYS_OFFSET' > drivers/built-in.o: In function `v4l2_clk_set_rate': > debugfs.c:(.text+0x11b9e0): undefined reference to `clk_round_rate' > > + error: misc.c: undefined reference to `ftrace_likely_update': => > .text+0x714), .text+0x94c), .text+0x3b8), .text+0xc10) > > sh-randconfig > > arch/sh/boot/compressed/misc.o: In function `lzo1x_decompress_safe': > misc.c:(.text+0x3b8): undefined reference to `ftrace_likely_update' > misc.c:(.text+0x714): undefined reference to `ftrace_likely_update' > misc.c:(.text+0x94c): undefined reference to `ftrace_likely_update' > arch/sh/boot/compressed/misc.o: In function `unlzo.constprop.2': > misc.c:(.text+0xc10): undefined reference to `ftrace_likely_update' > > + /tmp/cc52LvuK.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 41, 403 > + /tmp/ccHfoDA4.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 43 > + /tmp/cch1r0UQ.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 49, 378 > + /tmp/ccoHdFI8.s: Error: can't resolve `_start' {*UND* section} - > `L0^A' {.text section}: => 43 > > mips-allnoconfig > bigsur_defconfig > malta_defconfig > cavium_octeon_defconfig > > Not really new, but it would be great if the MIPS people could get this > fixed for the final release. This would appear to be related to the ld version check for VDSO failing. awk: /home/kisskb/slave/src/scripts/ld-version.sh: line 4: regular expression compile failed (missing '(') .*) /bin/sh: 1: [: -lt: unexpected operator I.e. this line: gsub(".*)", ""); appears to be trying to turn e.g. "GNU ld (Gentoo 2.25.1 p1.1) 2.25.1" into " 2.25.1", so perhaps the bracket should be escaped. What version of awk is it using? (GNU Awk 4.0.2 works for me). Can somebody experiencing this please try: ${CROSS_COMPILE}ld --version | ./scripts/ld-version.sh with the following patch, to see if it helps. Thanks James diff --git a/scripts/ld-version.sh b/scripts/ld-version.sh index 198580d245e0..1659b409ef10 100755 --- a/scripts/ld-version.sh +++ b/scripts/ld-version.sh @@ -1,7 +1,7 @@ #!/usr/bin/awk -f # extract linker version number from stdin and turn into single number { - gsub(".*)", ""); + gsub(".*\\)", ""); split($1,a, "."); print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5]; exit