From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D576D34BA2C for ; Mon, 13 Oct 2025 01:24:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760318666; cv=none; b=s+AnTfepWLKyEpTZO6AZDreKk2oZYt5Tdv/Th5XCaevSVXWsUttTkTwpnWIoaATpcfnU1P1nNdmJM/7PlfozQY2/mNL4rXFoQ+Q8SmXCgUNqm/TBlIJAnw61tTU8dFK/0QTaJMBRbkIzJrVxLZGXDaMhaLFeNJcFeIEeDh/aRQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760318666; c=relaxed/simple; bh=Zv9tVEJsq3S9yAm+gfE3WY8Ra9Au/I/BrK2Dl5dPqmA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XRnYgGGIlfMullT/hUT2Gy80xE68Ey0/1JNGdMpgdjxDoU0DgvO5SGlmKOC+27QG7ux+8We045kgu7ap1tdGqHzSh1LefiY3WzlB4uD5a+ggvofBVyM19dSfqdxihZckzFm4aJTZfKo6/qZ10tESmG3+8xShO7ZKW3FQ4iw7FH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=r7TKOik8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="r7TKOik8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB5A7C4CEE7; Mon, 13 Oct 2025 01:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760318666; bh=Zv9tVEJsq3S9yAm+gfE3WY8Ra9Au/I/BrK2Dl5dPqmA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=r7TKOik8P1vJuaAUvJLmfI0/37SFj1TCsT7gpgW4a48TQg3pBfVE/X2Gd158zYRJv vokdF5xOVV/yF0AxUjp67lViD8ZoudQTsi8ajpvSjyiIAX0S0BQGMNrIvtvgqQP8+l s+KIUgool6k7kUKJs4W+vloGvh9Q9rqsmcA0Ka9Zq12UOunjZqAdUFYgT7NoHANveJ ghwj2pFi24Hbx1YUGiG2HxTAGY1qrNCJN1N0DbkX1J4D4r/mOanznNzOV1gHUpNfef rv/K4YsSvZqSpFJDIyznF2crPxJVKuXm8bLmONETF74HU8TyhoY9etsgjErkNNUyjR ZjL9tuPSuDA5g== Date: Sun, 12 Oct 2025 18:24:23 -0700 From: Nathan Chancellor To: Jesper Juhl Cc: linux-kernel@vger.kernel.org Subject: Re: Building a allyesconfig kernel fails because macros are being redefined Message-ID: <20251013012423.GA331@ax162> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Oct 13, 2025 at 01:47:54AM +0200, Jesper Juhl wrote: > My current git HEAD is at 3a8660878839faadb4f1a6dd72c3179c1df56787 > > If I do : > make mrproper > make allyesconfig > make -j 33 > it eventually fails with : > > ... > INSTALL libsubcmd_headers > CALL scripts/checksyscalls.sh > CC [U] samples/vfs/test-statx > CC [U] samples/watch_queue/watch_test > In file included from samples/vfs/test-statx.c:23: > usr/include/linux/fcntl.h:160:9: error: ‘AT_RENAME_NOREPLACE’ > redefined [-Werror] > 160 | #define AT_RENAME_NOREPLACE 0x0001 > | ^~~~~~~~~~~~~~~~~~~ > In file included from samples/vfs/test-statx.c:13: > /usr/include/stdio.h:171:10: note: this is the location of the > previous definition > 171 | # define AT_RENAME_NOREPLACE RENAME_NOREPLACE > | ^~~~~~~~~~~~~~~~~~~ > usr/include/linux/fcntl.h:161:9: error: ‘AT_RENAME_EXCHANGE’ redefined [-Werror] > 161 | #define AT_RENAME_EXCHANGE 0x0002 > | ^~~~~~~~~~~~~~~~~~ > /usr/include/stdio.h:173:10: note: this is the location of the > previous definition > 173 | # define AT_RENAME_EXCHANGE RENAME_EXCHANGE > | ^~~~~~~~~~~~~~~~~~ > usr/include/linux/fcntl.h:162:9: error: ‘AT_RENAME_WHITEOUT’ redefined [-Werror] > 162 | #define AT_RENAME_WHITEOUT 0x0004 > | ^~~~~~~~~~~~~~~~~~ > /usr/include/stdio.h:175:10: note: this is the location of the > previous definition > 175 | # define AT_RENAME_WHITEOUT RENAME_WHITEOUT > | ^~~~~~~~~~~~~~~~~~ This is a bug in glibc: https://inbox.sourceware.org/libc-alpha/20250823052706.GA4056405@ax162/ https://sourceware.org/git?p=glibc.git;a=commit;h=1166170d95863e5a6f8121a5ca9d97713f524f49 Cheers, Nathan