Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4561156rwb; Tue, 17 Jan 2023 02:26:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXsBO+qmwNv3I0SAqSRfsOU01fiSA1jMlILljFecHTINpSJbNpCo+RuwE6XgiTfDA8lCvxNE X-Received: by 2002:a17:902:e5cd:b0:192:4ed2:7509 with SMTP id u13-20020a170902e5cd00b001924ed27509mr4088817plf.15.1673951176330; Tue, 17 Jan 2023 02:26:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673951176; cv=none; d=google.com; s=arc-20160816; b=k1bfvBQiKbAN1x3JRsQ0aWBfXDtiN5R+BgVZdNtN7D11U3IPEnK4DMn+i0UoIiaFMH 1nUqGiQ/RBmXUGdv8vMzQV0gMdlajrt5a8WZnQzmN8tS9mxaLygoVwELgS6feqSSnGiG oitNwLRZ2ccf0kq/cvZkHRBdlMCprTa8Plxpp+VBpFY1WB95mceVfQeMJOt95MSUL82J 8i+sBTBd+89gsCCME38fC/r5W2rVdWNGkY6DyihbPffRYIQspjqFdJ37scG+Y5qXRI2M RT6RC5CqzKc4KQ3jm+3HB+rPWLVoHkE/Z/DSgvUPt+nqDizTA4jjotNQYqwa5z3jf4Qr PLeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=fu40KvQods0f8+f4pClm3XB2VIfGWpRE1TO7X5DnksY=; b=k8lyzwipO4/i5mqoKmvYNzGA1XuAnP/N8E1xcl3knEbQ0R66pTvvlSiBzDrGDT8xJz xciIMqHtMK0AZ31JCgOyO+cJrJt4JSusPMDY4w+Xo/HLMAGYtpBiBzvl+fve8Slz8Rdo YdtVPU5XyqG+e3B9+m/N2WcuS4mL1jXo+LWnHTP+WS6WjHYG9pVuOO2SPNsM7zRv4iIB /JxkmPYYivxDkd+FHy4LRooKza2DZWa+RdYdZcWvzFHstKB89bQkVEcPwtuiFuTQSZLQ AKOPXzGWLtwaUumGVvyIdXeGghzCAC41UL0dyaS8Na2vGlWhjyre5nSQ3BYG5J59d5g3 TnZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F337AvHu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a170902bf4200b00192a2923f37si30833881pls.359.2023.01.17.02.26.10; Tue, 17 Jan 2023 02:26:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=F337AvHu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236546AbjAQJPz (ORCPT + 49 others); Tue, 17 Jan 2023 04:15:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236545AbjAQJPa (ORCPT ); Tue, 17 Jan 2023 04:15:30 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3F293CE04; Tue, 17 Jan 2023 01:07:03 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id mp20so27172210ejc.7; Tue, 17 Jan 2023 01:07:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=fu40KvQods0f8+f4pClm3XB2VIfGWpRE1TO7X5DnksY=; b=F337AvHuIwnYmV6Vd1NkpkROLrRrtw3hFucTWByWJwBEdyfpSeSpQl7htMKc5ycrXb jGGq6WYPZbwKGTCn2wFAMccvmGy6+0NlNK1vqTYRv0Wa2BxqeMSu8M0RZ8pD4sj436TK txw73PqxI6pfZLw23NN5Jpf7K8DETEbYVxoz3/+mUO44zZrvJZx/XQzJL7B+bXq0kN2S PA4dk74VsLGMSxTBJ0MqzPejMps8HWRVhPjy397ehx15HyB2pL3IjLru8SF5mVTqCVwr v4Sp+OnJFK95cR24e6KFlLrjaHuAiyYvmSqFffFYOv29Eur9rD0BQ10Z/hvlirUfxQt9 gu8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fu40KvQods0f8+f4pClm3XB2VIfGWpRE1TO7X5DnksY=; b=ccJZ5EvFzOtoy72rT+HoMUCxV9xcbCbfWwQr8lNOYu3MTMt2dWl1XE/IxEmE4zcq/f HlQrQ4bk5B/cqbXJ0bBC+h6TPjN4A8K1y1qqrk3zGPkbfBMI2G/bIaV4qPd6USyX5+Hp 2VDT52epzB3OoC79m+lW1+S8SBeKgmTNVMzp0iA6hg6CCjhFY03KADQwgb+qx49Esb+o 3FGUkJAXOhwYRWUM/LCqQkWZOrWjFO8Ec4LlUZgOmdhvykuKoqzmAS+lYeF75jdFOl0z VgvJUkcyDrH2esk8w8hZTm9r21TuZq2BSTLCgVGnEy5IgjnbpHmR4myrEI5+WnA9dLXb 26cQ== X-Gm-Message-State: AFqh2kpjVED7AGgHAnz0wXIaFtc0Q/Oeg5jn2u8JHGEN/fOVyFGj0tsE sqskKDcCa+AqmwpYaBJlC6F6lgUa51M= X-Received: by 2002:a17:907:d606:b0:86f:b541:cd02 with SMTP id wd6-20020a170907d60600b0086fb541cd02mr2382239ejc.28.1673946421996; Tue, 17 Jan 2023 01:07:01 -0800 (PST) Received: from gmail.com (1F2EF7EB.nat.pool.telekom.hu. [31.46.247.235]) by smtp.gmail.com with ESMTPSA id k22-20020a1709063fd600b00862497eafb2sm6815655ejj.103.2023.01.17.01.07.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 01:07:01 -0800 (PST) Sender: Ingo Molnar Date: Tue, 17 Jan 2023 10:06:48 +0100 From: Ingo Molnar To: Shuah Khan Cc: Mathieu Desnoyers , kernel test robot , Shuah Khan , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Peter Zijlstra , linux-kselftest@vger.kernel.org Subject: Re: [tip:sched/core 7/28] rseq.c:139:37: error: 'AT_RSEQ_ALIGN' undeclared; did you mean 'R_SH_ALIGN'? Message-ID: References: <202301170348.7WLKH1pl-lkp@intel.com> <4449d8b5-b7a5-0f09-5b42-7b70ba00f8f6@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4449d8b5-b7a5-0f09-5b42-7b70ba00f8f6@linuxfoundation.org> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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 * Shuah Khan wrote: > On 1/16/23 13:18, Mathieu Desnoyers wrote: > > On 2023-01-16 14:40, kernel test robot wrote: > > > tree:?? https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core > > > head:?? 79ba1e607d68178db7d3fe4f6a4aa38f06805e7b > > > commit: 03f5c0272d1b59343144e199becc911dae52c37e [7/28] selftests/rseq: Use ELF auxiliary vector for extensible rseq > > > compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 > > > reproduce: > > > ???????? # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=03f5c0272d1b59343144e199becc911dae52c37e > > > ???????? git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > > ???????? git fetch --no-tags tip sched/core > > > ???????? git checkout 03f5c0272d1b59343144e199becc911dae52c37e > > > ???????? make O=/tmp/kselftest headers > > > ???????? make O=/tmp/kselftest -C tools/testing/selftests > > > > > > If you fix the issue, kindly add following tag where applicable > > > | Reported-by: kernel test robot > > > > In order to fix this, I need to change -I../../../../usr/include/ for $(KHDR_INCLUDES) in tools/testing/selftests/rseq/Makefile > > > > I can find 25 odd uses of the same pattern in the kernel selftests. Should I fix them all in one go ? > > kselftest build depends on headers installed in the root directory. > The main makefile enforces this dependency. If this test is being > built without installing headers by itself, I think the scripts that > build individual tests have to makes sure headers are installed first. Why isn't the Makefile saying anything about it & enforcing it? self-tests are usually self-sufficient to build in the individual directories. Thanks, Ingo