Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2851183ybb; Mon, 30 Mar 2020 14:24:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vurBBjZ3CjM4T7VLigfryctIbP8cOZX200gQ2Y3E1NycClLMrwdCDjzGII7dvhEcdV0+7F2 X-Received: by 2002:a9d:132:: with SMTP id 47mr10229238otu.142.1585603487857; Mon, 30 Mar 2020 14:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585603487; cv=none; d=google.com; s=arc-20160816; b=Ex+BKH1+M/r/NUu99Qw2C9ihCU74wGwqb5NLGK1zuoEbps6eFCJ+TKq+LHy6UPbauD f6KhziE0ma1nd3uoby1CnIbjGegGMwgyoiF2zTChlbm3DHx03adHCsyePDV+gc6q2mw0 kO8MLYWtYXuYVMufSLlre/Nwt7N0udyC3fQ2rSKRwOcT6U6KNJxZG5PrjsB0DjGWzY+D 3N8i6jmzqKZmGBpRfmcm6O43p48tQgcLsmkMcYNsdjN4HF4XXGlWqrRHnXZHgmpmSLRr rMpKSXJboqiEglUhoBxktMKDyM/6ngcgaKPEW2BScdc+X5GCHQk5ckmse9h71a0tEicP TkvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=jHqw0jf9PMFRrwLIw44XhI6UWrRPmNAVLY9kIotWCvU=; b=eE6u15pNdrE6UcxW6FoJ/Lz59ccgj1E+nh7jhIboBsk3vOYs38Mj22RAr8Z4GzlVZf O3ZYRr56PYBVzOOLkcOGutOgtMTeI7cBFFv6r60ox84hZjy1935vMi6l+nT4fCQIip9b JLvfm3BQCp+CDuc1KVA1NS9f5fbfmeOx8BMAqmT6shWjJbcKtAAMIs1NPx046BHhUGSy FtmNLsgXyuD7KpJC+JX4SJs5a/FCGLUsjCTF1Vkte2Ov21wr/FpkyEfAbuq8O5b9XopQ YLGm25ioCzT3n9Okzj27/ypB6Ai30iOnIPr0O/ZGXLyV/yjRXKFvRG/ZX0iC1Vwv5Sin Giig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j25si2985516otr.178.2020.03.30.14.24.34; Mon, 30 Mar 2020 14:24:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728715AbgC3VWv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 30 Mar 2020 17:22:51 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:37833 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728407AbgC3VWu (ORCPT ); Mon, 30 Mar 2020 17:22:50 -0400 Received: by mail-ot1-f67.google.com with SMTP id g23so19791690otq.4 for ; Mon, 30 Mar 2020 14:22:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Vyl+JushNUhxQR9kB/ILsOGZBSYFhnFHl07ojWx3Yr0=; b=efW108/gNjOWQIoe8/cRLDJjOa1jGyXH7uomSmhBbrLNsRWb5tHYYBOKeUYg1LnlyL dRAhFHVXcfLrmcz2H7u/9HyAnhkQ87RCKSC+UyPP60lMf9hDSFo9LdJegnwc4mmCQgPI LQj24Czd+bg9HLipgQiFCOLC4k6zF4c6gPLQLipfrbZA1ECN4e/FaipMuPYTj1Q1DFg5 r6X7LsRjDy0EconQ6xDJLholTN020wEIXClHq+KELZT+iHRGXzsZqnBCqL1azNs6HEBX 0iD2URcVF/o6K5wU5Vk5JdQn8vwNq269UmShk+n6cA0uDLbzohWYCpANc3ikkP/xp+uM ivnw== X-Gm-Message-State: ANhLgQ1PD2evoRJvVlHiFAPuq++3+5gAiA9f5qbc2ne33+sjI0xkJKb2 ehAl/O9IFKlly00vlbClG8nUOrDdhV20t9TGzCM= X-Received: by 2002:a9d:5c0c:: with SMTP id o12mr10645908otk.145.1585603368284; Mon, 30 Mar 2020 14:22:48 -0700 (PDT) MIME-Version: 1.0 References: <20200330085854.19774-1-geert@linux-m68k.org> In-Reply-To: From: Geert Uytterhoeven Date: Mon, 30 Mar 2020 23:22:36 +0200 Message-ID: Subject: Re: Build regressions/improvements in v5.6 To: Vineet Gupta Cc: Alexey Brodkin , Andy Shevchenko , Linux Kernel Mailing List , arcml , Eugeniy Paltsev , Guenter Roeck , Michael Ellerman Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vineet, On Mon, Mar 30, 2020 at 11:18 PM Vineet Gupta wrote: > On 3/30/20 1:40 PM, Alexey Brodkin wrote: > >> -----Original Message----- > >> From: Andy Shevchenko > >> Sent: Monday, March 30, 2020 4:28 PM > >> To: Geert Uytterhoeven ; Alexey Brodkin > >> Cc: Linux Kernel Mailing List > >> Subject: Re: Build regressions/improvements in v5.6 > >> > >> On Mon, Mar 30, 2020 at 4:26 PM Geert Uytterhoeven wrote: > >>> > >>> Hi Andy, > >>> > >>> On Mon, Mar 30, 2020 at 3:08 PM Andy Shevchenko > >>> wrote: > >>>> On Mon, Mar 30, 2020 at 12:00 PM Geert Uytterhoeven > >>>> wrote: > >>>>> Below is the list of build error/warning regressions/improvements in > >>>>> v5.6[1] compared to v5.5[2]. > >>>> > >>>>> + /kisskb/src/include/linux/dev_printk.h: warning: format '%zu' expects argument of type > >> 'size_t', but argument 8 has type 'unsigned int' [-Wformat=]: => 232:23 > >>>> > >>>> This is interesting... I checked all dev_WARN_ONCE() and didn't find an issue. > >>> > >>> arcv2/axs103_smp_defconfig > >>> > >>> It's probably due to a broken configuration for the arc toolchain. > >> > >> Alexey, do have any insight? > > > > I think I do have some but first I'd like to get it reproduced myself. > > I just built v5.6 with help of both GCC 8.3.1- & 9.3.1-based toolchains > > and didn't see a single warning. So I guess I was doing something wrong. > > > > FWIW > > > > 1. My GCC 8.3.1 toolchain was exactly this: > > https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2019.09-release/arc_gnu_2019.09_prebuilt_uclibc_le_archs_linux_install.tar.gz > > > > 2. Linux kernel is vanilla v5.6.0 > > > > 3. Configured and built as simple as: > > make axs103_smp_defconfig && make > > It seems the build service is using a arc toolchain built in 2016 :-) > > # < /opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux-gcc > > Call it Murphy's law, same year a little later I'd fixed the same issue in gcc [1] > > [1] http://lists.infradead.org/pipermail/linux-snps-arc/2016-October/001661.html > > @Guenter could you please consider updating the ARC tools. FWIW you can build > stuff off upstream gcc/binutils using build system of your choice. This is not Günter's toolchain, but Michael's. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds