Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp302722rdb; Fri, 6 Oct 2023 04:12:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6CEdCTDCs0YM688vk+wE/LLUdBmdkRigrs4XsIZV6RKuRsR61K64JIC+pL1G/hjCO1Tkp X-Received: by 2002:a17:90b:4b8b:b0:274:98ae:d72f with SMTP id lr11-20020a17090b4b8b00b0027498aed72fmr7716682pjb.38.1696590764953; Fri, 06 Oct 2023 04:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696590764; cv=none; d=google.com; s=arc-20160816; b=Cd5jSEvpM06ejPgJf2leO7X3wGQxUp/k4hGWprhxwRidHolzgqEE8TeINf1TXhsZmU i+NGi3/FTn+sOeZw1tF+Giq9WGLOb7J7mrWuRdXuAVrxUwPMcqVWI0p+zE1PyYY+eV5p xtbUg/8H6HZDNtqjWLOP8dkOnEbcOHexUeCl4ABbjSY5RcQk6feacfWtfhK0a5Djm3iy Zbufa5/Nq+JrihxoCLxT5pHeGht4qgeHu9BEGJGRwDlM3oVM8EFLy/Zsad6hWT6HX458 JO23zNh+CuNC4vETFP1je/nsbpOb4ZiM1NAjdW/AhXWTurpWeanzFOkELc5lAEZpn7wC 6xXA== 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:dkim-signature; bh=2id1/+9flOvIccMuyVXeYT1CBOnL0U83OznUMHRoXl0=; fh=X3TQHsFpueiZDkQ5OXPEwOTHj6otUtlvmGur5HwheEU=; b=M/em2KzyXRnV6ektJYjRPDu4wYNqmY+aQU3YW1F2tCI7t+a194WSdzAqegSGo62Hs1 hOEMZ0ochJ4qoRGbdql+r9qGSpdeDe3zGSIvVpb4d6xlNNYX7+DbGPjUY/SkYuyI+63b Lk0klHHNTrxpWhJZu0VXIkDyjsaP9cg9hZmpXwULZ4NvLd6ojIDSof4QFgLh//XwAHvP wVkkoI7I3i5U9gwtVwvHnkJB0GmMXu07ZtsZWNBr9DfLc/QrWaSXbnOWF+fswLFP5Zxc lzTXTDMTK3Qc+dL1Mftx85YcKgWBHqILyC8DIVGxXZdjYknnJWRyzfffj3Ubp3nOvclS tg1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="aknUV9/s"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id i4-20020a17090a974400b00276e95d7657si5625929pjw.33.2023.10.06.04.12.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 04:12:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="aknUV9/s"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 6D74380A8541; Fri, 6 Oct 2023 04:12:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbjJFLMe (ORCPT + 99 others); Fri, 6 Oct 2023 07:12:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231915AbjJFLMd (ORCPT ); Fri, 6 Oct 2023 07:12:33 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84BDEF0; Fri, 6 Oct 2023 04:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=2id1/+9flOvIccMuyVXeYT1CBOnL0U83OznUMHRoXl0=; b=aknUV9/slsQKLvyMXTeYIafutn d6ts337l+E35PCRYrfxMyaPlytpaEPSfH0BmQkP1wZlNOo5t5sYO8CoXdyHATlbNvmGfM+9GjnjP+ bm2ibTmEaLSUSwVmndCxEyV0qUb5maBUkbulCo9gFYOwD2hOS+0E858Jc6IiCsjk4sF+Nq51Ct7ib SQDgcsFzCtKzJdqmgOnTcgov2/b3I3J6U/UXdHcjKqVbJWQkwdpZr4POZmQLAWNbNCAK7UUAf2Xnx BMFwlKcp9T3Bqp7GbxxPH/ojJFZ4NTqRpXHlB7XFYzaBUAT5VtC+G8qU1t0ZGk4Z1wnxKhA8wejo7 brKVy4kQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qoiku-00EzA1-NW; Fri, 06 Oct 2023 11:12:28 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 6301D300392; Fri, 6 Oct 2023 13:12:28 +0200 (CEST) Date: Fri, 6 Oct 2023 13:12:28 +0200 From: Peter Zijlstra To: Muhammad Usama Anjum Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, x86@kernel.org Subject: Re: [tip: locking/core] locking/futex/selftests: Remove duplicate ABI defines Message-ID: <20231006111228.GD36277@noisy.programming.kicks-ass.net> References: <20231006095539.1601385-1-usama.anjum@collabora.com> <169658834039.3135.4395839213523782496.tip-bot2@tip-bot2> <20231006104325.GC36277@noisy.programming.kicks-ass.net> <1b9a4e52-cfa3-4f56-b259-41c94abed362@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1b9a4e52-cfa3-4f56-b259-41c94abed362@collabora.com> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,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 howler.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 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 04:12:41 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 06, 2023 at 04:05:31PM +0500, Muhammad Usama Anjum wrote: > cd /linux_mainline/tools/testing/selftests/../../.. That's very odd way of writing: cd /linux_mainline/ > make headers This does a build without O=, I can't do that. As in, one must not mix O= and non O= builds, and since I have a ton of O= output dirs on, I simply can't do this. > make: *** [../../lib.mk:81: kernel_header_files] Error 1 > ➜ functional (06bc8fe4bfc4b) ✗ (cd $mainline && make headers) > /dev/null > ➜ functional (06bc8fe4bfc4b) ✗ make > gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ > futex_wait_timeout.c -lpthread -lrt -o > /linux_mainline/tools/testing/selftests/futex/functional/futex_wait_timeout root@noisy:/usr/src/linux-2.6# cd tools/testing/selftests/futex/functional/ root@noisy:/usr/src/linux-2.6/tools/testing/selftests/futex/functional# make gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ futex_wait_timeout.c -lpthread -lrt -o /mnt/hirez/usr/src/linux-2.6/tools/testing/selftests/futex/functional/futex_wait_timeout In file included from futex_wait_timeout.c:20: ../include/futex2test.h:18:47: warning: ‘struct futex_waitv’ declared inside parameter list will not be visible outside of this definition or declaration 18 | static inline int futex_waitv(volatile struct futex_waitv *waiters, unsigned long nr_waiters, Because noisy runs a really old userspace (buster)..