Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp955446rdb; Tue, 19 Sep 2023 15:55:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEuls0IRpcA8riwq7zjMOLPbGFUWgVBLYqcS8wK/5OQ6oc63IQdfwmpVUTd69ko0zrQK+lj X-Received: by 2002:a17:902:d381:b0:1bb:b74c:88f6 with SMTP id e1-20020a170902d38100b001bbb74c88f6mr748960pld.16.1695164109692; Tue, 19 Sep 2023 15:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695164109; cv=none; d=google.com; s=arc-20160816; b=JHMzjVN7xdTcDXrHbF9/iPRINF4mYZjj882VGFEo12SIcWbYUREJN6SQGXnVmJe9L5 YnFSAQH3HkgTqdx9cA6y7atxDDRCDJY3ev7bRmTBcBo8aLKkhD9eBrA8W5GyEJ7Gvprx kPCq1HGlfYCYw6WbUwfv1VXZpXfTZJocpReQ4CWrwUEpHx685es6WYIqMKvAiTw4S7W5 4ctGz4K00T2TPcc6KrTylPDjVVGL31Bw+uHPPdBATamin0+gF+8T9fW0s2EPeIIDjr/d d1H9eaKDUFTd9CEdskGS0FECQ8QjI9CKlU86tH0ClTUC7ofj8kEcWKKIGQ3MMNF8lGpZ hKAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=kQnPY0z4taKHApL77Ffx1d50jLqp8wyhR11FZPBq+qk=; fh=LxD/3wt5nNuJq2DDQ62tsEnWp0DpyIliaf68ZtdOYYo=; b=gJY+ZLAxyGMlwnPwGMml0iuXY2MP9It7VVatgHaZvHfETiGq8W4KiObRHv4HBh5fZA 60r7lQyU0VwewXWGp3rrS9hk8/sQZ8snA6ZYvd26ktFEf/j+0JGmYONPQBIV+giD4/RL GewHgJOehyuH14sbhSdtHnRY/7YXHoy9QkwAzy06I3+61MPEfuBFI8Lupve/Rvxclw8g eAc3ZgtXJJ72kn8yCjneW9DGCVaSrdgOxlQSW04vXzeQ2RuOd3uDR3gr3re4iZhOy+oT HGDal5AU4S0WDNys8+2C4knJ8zbf3jyV3U4AyTx9DixC5T+EldsXzh+l/IYsyDneaw2W R0YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Q2QGNXeD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id u2-20020a170902714200b001befd0512e8si9998055plm.303.2023.09.19.15.55.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 15:55:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Q2QGNXeD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1B1E8807070D; Tue, 19 Sep 2023 13:06:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232066AbjISUGO (ORCPT + 99 others); Tue, 19 Sep 2023 16:06:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229853AbjISUGN (ORCPT ); Tue, 19 Sep 2023 16:06:13 -0400 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1996BAB for ; Tue, 19 Sep 2023 13:06:08 -0700 (PDT) Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-65643a83758so20802036d6.0 for ; Tue, 19 Sep 2023 13:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695153967; x=1695758767; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kQnPY0z4taKHApL77Ffx1d50jLqp8wyhR11FZPBq+qk=; b=Q2QGNXeDEo1JGCIR/XTkVXSMJ5zrG2y68S9uvc3X+n3kKa+z1VXuoOzTf1Dyu0q2dF BNtAAenk9HOoWMQsjmdxLUCxOMuhez6g24dR0FOX1IV81y7geKrOIO35S/rjlPueLowh yQtjt9EPcxV4WNCDql+uhzquXSZ3O/n+kCbJbLBtValLfsuIWhN0udN+1vTLilklMOFl aO2L0Jm48h0ae2dl+cQoIY/1klB5fqn5WqpkYIJV8k9nde9pEqIpLDlsdr/l3F5uaIuy GDCFVzGpFA42R61GodXpl+NhdGrjIOaFBrm6oGwoR/+Iqz+N4IqooKUyyDJDcPHmpm7C UoVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695153967; x=1695758767; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kQnPY0z4taKHApL77Ffx1d50jLqp8wyhR11FZPBq+qk=; b=fJ1EON4yIIeB6ECdBA3ApJ9VM3P+m4T96ldRe3ZacPWgC5jJoZXQuFnrtYGKvV07PB 24H3n9HHA3XMtPLpnfn/jDBx4OD2o4JSJbE0wCAKdWpubasbKL4il0KTaVOZiYonGVWF Q48pIE6h9SPfBSGsefAAGqJGTv3YqU5d4Jozcdo0ZeRlj+YaRzLovxA2Udf5eoC0zN8p rERBDtLAyaV/PIvzcB5dp8EPJ4v7CUFPUbdNmfwwojCnyL/MsVz4QZnvnKcGzc9Eo7zM 0RTJo/X/UWslXcQgqS8bc4LuJddNXV7z1izoizUhB78rcyh36vi9auI/4fZ2nrXp3G0p CH4Q== X-Gm-Message-State: AOJu0Yy4cDJfjHGwOCvUZJw+rghbQbP3BwkoiJhCdGMXr88S8xFrh65m f0OQKzduKwQec4ilkt586hZbGvjoCMmMs0PlUIAWgg== X-Received: by 2002:a0c:e304:0:b0:658:4cae:b43a with SMTP id s4-20020a0ce304000000b006584caeb43amr217436qvl.4.1695153967060; Tue, 19 Sep 2023 13:06:07 -0700 (PDT) MIME-Version: 1.0 References: <202309192257.IAbw1lnx-lkp@intel.com> In-Reply-To: From: Nick Desaulniers Date: Tue, 19 Sep 2023 13:05:52 -0700 Message-ID: Subject: Re: warning: unknown warning option '-Wrestrict' To: Philip Li Cc: kernel test robot , Masahiro Yamada , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Nathan Chancellor Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 13:06:16 -0700 (PDT) On Tue, Sep 19, 2023 at 7:56=E2=80=AFAM Philip Li wro= te: > > On Tue, Sep 19, 2023 at 10:40:57PM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.= git master > > head: 2cf0f715623872823a72e451243bbf555d10d032 > > commit: feb843a469fb0ab00d2d23cfb9bcc379791011bb kbuild: add $(CLANG_FL= AGS) to KBUILD_CPPFLAGS > > date: 4 months ago > > config: um-allnoconfig (https://download.01.org/0day-ci/archive/2023091= 9/202309192257.IAbw1lnx-lkp@intel.com/config) > > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.gi= t 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) > > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/arc= hive/20230919/202309192257.IAbw1lnx-lkp@intel.com/reproduce) > > > > If you fix the issue in a separate patch/commit (i.e. not just a new ve= rsion of > > the same patch/commit), kindly add following tags > > | Reported-by: kernel test robot > > | Closes: https://lore.kernel.org/oe-kbuild-all/202309192257.IAbw1lnx-l= kp@intel.com/ > > > > All warnings (new ones prefixed by >>): > > Sorry for the false report. Kindly ignore this. No worries, I just checked `make LLVM=3D1 arch=3Dum -j128 allnoconfig all` and had no issue. > > > > > >> warning: unknown warning option '-Wrestrict' [-Wunknown-warning-opti= on] > > >> warning: unknown warning option '-Wformat-overflow'; did you mean '-= Wshift-overflow'? [-Wunknown-warning-option] > > >> warning: unknown warning option '-Wformat-truncation' [-Wunknown-war= ning-option] > > >> warning: unknown warning option '-Wstringop-overflow'; did you mean = '-Wshift-overflow'? [-Wunknown-warning-option] > > arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for = function 'foo' [-Wmissing-prototypes] > > 17 | void foo(void) > > | ^ > > arch/x86/um/user-offsets.c:17:1: note: declare 'static' if the funct= ion is not intended to be used outside of this translation unit > > 17 | void foo(void) > > | ^ > > | static > > 5 warnings generated. > > error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warnin= g-option] > > error: unknown warning option '-Wformat-overflow'; did you mean '-Ws= hift-overflow'? [-Werror,-Wunknown-warning-option] > > error: unknown warning option '-Wformat-truncation' [-Werror,-Wunkno= wn-warning-option] > > error: unknown warning option '-Wstringop-overflow'; did you mean '-= Wshift-overflow'? [-Werror,-Wunknown-warning-option] > > make[2]: *** [scripts/Makefile.build:252: scripts/mod/empty.o] Error= 1 > > error: unknown warning option '-Wrestrict' [-Werror,-Wunknown-warnin= g-option] > > error: unknown warning option '-Wformat-overflow'; did you mean '-Ws= hift-overflow'? [-Werror,-Wunknown-warning-option] > > error: unknown warning option '-Wformat-truncation' [-Werror,-Wunkno= wn-warning-option] > > error: unknown warning option '-Wstringop-overflow'; did you mean '-= Wshift-overflow'? [-Werror,-Wunknown-warning-option] > > make[2]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-of= fsets.s] Error 1 > > make[2]: Target 'scripts/mod/' not remade because of errors. > > make[1]: *** [Makefile:1286: prepare0] Error 2 > > make[1]: Target 'prepare' not remade because of errors. > > make: *** [Makefile:226: __sub-make] Error 2 > > make: Target 'prepare' not remade because of errors. > > > > -- > > 0-DAY CI Kernel Test Service > > https://github.com/intel/lkp-tests/wiki > > > --=20 Thanks, ~Nick Desaulniers