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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D65CCC433EF for ; Mon, 25 Oct 2021 20:11:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF2B760C4A for ; Mon, 25 Oct 2021 20:11:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237828AbhJYUOF (ORCPT ); Mon, 25 Oct 2021 16:14:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237670AbhJYUN7 (ORCPT ); Mon, 25 Oct 2021 16:13:59 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26400C02547E for ; Mon, 25 Oct 2021 12:34:56 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id x66so11689791pfx.13 for ; Mon, 25 Oct 2021 12:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=l8WxBeCFZH+Iuh9HDEMAn37CAK7cN9j7UfAo07bKu44=; b=jqPZCT5CvMMGK6LDj1Fyb7dJMzzqPfpTXJuT9UrndtHzLKEg6y6JuXA2eBcSCYJ1zN Zi/Je+RDmbtgL7r0t6mPmOzCxUpzfnPizmiL8Nt+B1K1zEPbjqRZMf/P1phLat0OtDe4 /ldHfHfXbJWxG4aA/3aZ8l9LQfkFYfIA+vhwI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=l8WxBeCFZH+Iuh9HDEMAn37CAK7cN9j7UfAo07bKu44=; b=WW4omr+AQYONN7ZCTPI3oJ10xloLbJ8MoE3wzkb7UIWLGswX8oSe223Mr9Y1a4TApe 6v5MdMdjSQGNmms564S79XeiH0v/mEdSN2DgTgmLygJ3AK9+baneaTiTkYq5sW4kYIx1 pugMBapPWHBd0LIH+z6pgmDGjtNYCXOhN8DfYHXibkQabOgZEKP3TfbApkBKdVmruGdd fGVBLpGHKpaXf4uBypN2qi0UhGmqFKoLh7UnVFz2P6CIFvBlJnMKFiCUEk3AJj1e7ng4 Wit0XL9uOZglpbiXDA4KHGjqOlxXW4Z6jSMpb1loNu0+ycxKjH0nSngHPzbQK3vLr3I3 LGXA== X-Gm-Message-State: AOAM530XH2z8NRXDBtQzrGDs3Vr+cz8z+Yu7mT/O3VswJkcbncPjsuuc NZf24TxKDXcF0b3fXaABTeesx+Q1ldKLpQ== X-Google-Smtp-Source: ABdhPJzF5BYIbx1+bxGMKku0BRAxWgvUsywqYxj2gG3QBFB15hqiC7/jsWrrLF/xsWLKUGUzeSyuEQ== X-Received: by 2002:a63:e00b:: with SMTP id e11mr15284714pgh.190.1635190495719; Mon, 25 Oct 2021 12:34:55 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id w17sm13784510pfu.166.2021.10.25.12.34.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 12:34:55 -0700 (PDT) Date: Mon, 25 Oct 2021 12:34:54 -0700 From: Kees Cook To: "Gustavo A. R. Silva" Cc: "Gustavo A. R. Silva" , Stephen Rothwell , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the kspp-gustavo tree Message-ID: <202110251234.0242EDDDC@keescook> References: <20211018193048.14517460@canb.auug.org.au> <20211025125534.4681416a@canb.auug.org.au> <202110251218.EAB410DC22@keescook> <20211025193102.GA1436536@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211025193102.GA1436536@embeddedor> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021 at 02:31:02PM -0500, Gustavo A. R. Silva wrote: > On Mon, Oct 25, 2021 at 12:19:15PM -0700, Kees Cook wrote: > > On Mon, Oct 25, 2021 at 12:55:34PM +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > On Mon, 18 Oct 2021 19:30:48 +1100 Stephen Rothwell wrote: > > > > > > > > Hi all, > > > > > > > > After merging the kspp-gustavo tree, today's linux-next build (sparc64 > > > > defconfig) failed like this: > > > > > > > > sparc64-linux-gcc: error: unrecognized command line option '-Wcast-function-type'; did you mean '-Wbad-function-cast'? > > > > > > > > $ sparc64-linux-gcc --version > > > > sparc64-linux-gcc (Custom f51944395b6aa154) 7.3.1 20180130 > > > > > > > > Caused by commit > > > > > > > > 21078041965e ("Makefile: Enable -Wcast-function-type") > > > > > > > > I have reverted that commit for today. > > > > > > I am still reverting that commit ... > > > > Gustavo, can you please switch this to using cc-option? > > Yeah; I actually removed all the patches related to -Wcast-function-type > from my -next branch a few minutes ago: > > https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/log/?h=for-next/kspp > > I'm currently working on resolving all these conflicts in a separate branch > before merging them again in my -next tree. Great; that sounds ideal. :) Thank you! -Kees -- Kees Cook