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: 8534911 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2CEB7C0553 for ; Tue, 8 Mar 2016 14:38:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C87A20165 for ; Tue, 8 Mar 2016 14:37:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 627CC20125 for ; Tue, 8 Mar 2016 14:37:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1adIjy-0007Zj-2t; Tue, 08 Mar 2016 14:36:02 +0000 Received: from mailapp01.imgtec.com ([195.59.15.196] helo=imgpgp01.kl.imgtec.org) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1adIju-0007Xo-2A for linux-arm-kernel@lists.infradead.org; Tue, 08 Mar 2016 14:36:00 +0000 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 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 In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [192.168.154.110] X-ESG-ENCRYPT-TAG: 56f439c X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160308_063558_422371_70D1ABE2 X-CRM114-Status: GOOD ( 16.14 ) X-Spam-Score: 0.6 (/) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux MIPS Mailing List , Linux-sh list , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Linux Media Mailing List Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, SUSPICIOUS_RECIPS, UNPARSEABLE_RELAY autolearn=no 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