Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1179127rdb; Wed, 1 Nov 2023 13:44:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJfrXLM2LUxqXIIfAsM1K7LWXtct9CHO6u7VjBfghTKstzJON9A+0JdtEAqkngd72R1VBs X-Received: by 2002:a05:6a00:1ad0:b0:692:af9c:d96f with SMTP id f16-20020a056a001ad000b00692af9cd96fmr16376598pfv.1.1698871485737; Wed, 01 Nov 2023 13:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698871485; cv=none; d=google.com; s=arc-20160816; b=jcDFbeWHMXqF+PuOFCQWKY1v3jTQqYrpcb52F/hs2uF7u5j59Ndddl0LL5QG+0/i24 wXAVTxlDD2pOTZsWuASgldkYAVN2e9nJGbbGkIEcDtW4z0AWyj/7CWcolLaPA70OvIQE 7RQ1kEkKepgqXjkDjwOVS+iU8kvvgkzfbNEGGDhfv92o0Twpa2mrhoOpC+anQMKywUzX sIBRQvzuXA1V8hDwaKjIsiQls+XN4BrcVqo/1AIZOoRtOu3quAXaCVORPY156RTwWiiB JDn8LsSXc39H7hKYzMTn8aMPYc4xuR0U6wO4z9mNgOWNwPzHy4U9vqKvNSn/cmHTwNrz xlyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=6aHh4plERYZlnx8pV1RtzrrHe9yd1nfSITsqXEu720Y=; fh=6Ak7sF6YV9KDDDeBY1HWph//7j1qUx2hIvUvA9EtlSc=; b=EO+v9aLIOnZxu6fc0QadD0wj2LyYoQ1OFzAViUkKHpDMV/u/dC5Eaz02xBOgLTFPQY bw8gkdACXGR9RGOT2/MMflzZ4UyfIjK+aE2se2rRIIyC1rUW4SHesj7gUN7XkqJDb5gu tS98bjgmwh0jGsia3TONL5pApy7PJ0qpXSvjcqbSeyaPXJ8QUpUasLMgvK6ijiD6L7ky 8s8dgu9HYUaeyUwlzc9Cj0CGl6yHx8PI5IFhDVlcjiHcZ1mofmmqLWZWO553yJ5rW8nv TGLsTSrffv2gva0N4yp48ODFKQL5vCpgW0EYiQHyzTIEXhWYeglhlC6jjP7jhsTzVhu1 9mxA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id h4-20020a056a001a4400b006bf53d8c758si2358361pfv.363.2023.11.01.13.44.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 13:44:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D78B78026469; Wed, 1 Nov 2023 13:44:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348090AbjKAUoV (ORCPT + 99 others); Wed, 1 Nov 2023 16:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348048AbjKAUoU (ORCPT ); Wed, 1 Nov 2023 16:44:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52A1310D for ; Wed, 1 Nov 2023 13:44:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D932C433C8; Wed, 1 Nov 2023 20:44:17 +0000 (UTC) Date: Wed, 1 Nov 2023 16:44:15 -0400 From: Steven Rostedt To: Mathieu Desnoyers Cc: kernel test robot , Peter Zijlstra , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Rik van Riel Subject: Re: [PATCH] Fix: rseq uapi: Adapt header includes to follow glibc header changes Message-ID: <20231101164415.7f198500@gandalf.local.home> In-Reply-To: References: <20231025214811.2066376-1-mathieu.desnoyers@efficios.com> <202310271556.LunB8KLv-lkp@intel.com> <81d2fd04-572d-48cd-bb5c-9a77937a79a0@efficios.com> <20231027100641.52fbee5d@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Wed, 01 Nov 2023 13:44:38 -0700 (PDT) On Wed, 1 Nov 2023 16:10:04 -0400 Mathieu Desnoyers wrote: > So what is the minimal change required to make things work on your > setup? I just tested with a Debian "testing" chroot (with libc 2.37-12) > and I cannot reproduce your issue. > > Should I just submit a patch that removes "#include " ? > I am really unsure which environments are affected though. > I guess you can drop it :-p When I tried to reproduce it with hand writing 'gcc', I couldn't. But when I did: $ make foo It gave me the error. I was confused for a bit. Then I looked at what my Makefile was doing and what I was doing. The only difference was that the make included: -I. Removing that from the Makefile worked! My Makefile added to the CFLAGS "-I." and I forgot that this directory has a "linux/" directory in it that I used years ago to test kernel functions. The git history shows it was last touched in 2016 (when I was still at Red Hat) Removing -I. now makes everything work. I have no idea why it suddenly stopped working just a few months ago. Maybe something was moved out of the gcc headers so my local headers no longer see it. That is, perhaps the glibc headers moved something out and added a #include to it, where my local headers did not have that change. I don't know and I don't care. Well, at least now I know why I was getting errors on my build, but couldn't find anything on the internet showing why others were not! Sorry for the noise. :-/ -- Steve