From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FB1EC43381 for ; Mon, 15 Mar 2021 13:08:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC47D64EB6 for ; Mon, 15 Mar 2021 13:08:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbhCONH5 (ORCPT ); Mon, 15 Mar 2021 09:07:57 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:40427 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbhCONHq (ORCPT ); Mon, 15 Mar 2021 09:07:46 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4DzcCb4rHxz9tyRp; Mon, 15 Mar 2021 14:07:39 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id yz-xw_o-N3tU; Mon, 15 Mar 2021 14:07:39 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4DzcCb3JYXz9tyRk; Mon, 15 Mar 2021 14:07:39 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B50C58B778; Mon, 15 Mar 2021 14:07:44 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id nBPpXzvkFeHZ; Mon, 15 Mar 2021 14:07:44 +0100 (CET) Received: from [172.25.230.100] (po15451.idsi0.si.c-s.fr [172.25.230.100]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 7E56B8B776; Mon, 15 Mar 2021 14:07:44 +0100 (CET) Subject: Re: Build regressions/improvements in v5.12-rc3 To: Geert Uytterhoeven Cc: Linux Kernel Mailing List , Michael Ellerman , linuxppc-dev References: <20210315104409.1598822-1-geert@linux-m68k.org> <2c123f94-ceae-80c0-90e2-21909795eb76@csgroup.eu> From: Christophe Leroy Message-ID: <561e4ab3-b2ec-849c-c1c6-38804cf7977e@csgroup.eu> Date: Mon, 15 Mar 2021 14:07:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 15/03/2021 à 12:02, Geert Uytterhoeven a écrit : > Hi Christophe, > > On Mon, Mar 15, 2021 at 11:55 AM Christophe Leroy > wrote: >> Le 15/03/2021 à 11:49, Geert Uytterhoeven a écrit : >>> On Mon, Mar 15, 2021 at 11:46 AM Geert Uytterhoeven >>> wrote: >>>> JFYI, when comparing v5.12-rc3[1] to v5.12-rc2[3], the summaries are: >>>> - build errors: +2/-2 >>> >>>> 2 error regressions: >>>> + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_248' declared with attribute error: BUILD_BUG failed: => 320:38 >>>> + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_249' declared with attribute error: BUILD_BUG failed: => 320:38 >>> >>> powerpc-gcc4.9/ppc64_book3e_allmodconfig >>> >>> So we traded implicit declaration errors: >>> >>> - /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: >>> error: implicit declaration of function 'disable_kernel_vsx' >>> [-Werror=implicit-function-declaration]: 674:2 => >>> - /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c: >>> error: implicit declaration of function 'enable_kernel_vsx' >>> [-Werror=implicit-function-declaration]: 638:2 => >>> >>> for compile-time assertions. >>> >> >> You are missing https://github.com/linuxppc/linux/commit/eed5fae00593ab9d261a0c1ffc1bdb786a87a55a > > Which is not part of v5.12-rc3. > Yes, one step at a time :) When I did the first fix, I tested it with GCC 10 and it worked. It is only afterwards that I saw the problem in kisskb with gcc 4.9, hence the second fix. Christophe