From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4996B3858C5F; Thu, 2 Nov 2023 13:41:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4996B3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1698932496; bh=s10GcMTN4B1C3ihsM+7SHCsrposXpuZP8xkShuOi7NM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=d8XWT03EQSyRXttTaW/j0aBrS/gqvTQRWozsb7X6I1tWd5bqvq2PFWlOTZuEzUTf8 sF7uvFWDDeaPTG/PoTT6tSf6o+FNdsApgsRnIHNXt9+ebzP7MyW2uZWxaJEtyrfAk9 qTTpwu4UVQ7SiARlVIdvuV906CbCZMNZCe8Q//iQ= From: "connor.baker at tweag dot io" To: glibc-bugs@sourceware.org Subject: [Bug math/30909] aarch64: using intrinsic vector types in math-vector.h breaks C-parsing tools Date: Thu, 02 Nov 2023 13:41:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.38 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: connor.baker at tweag dot io X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30909 Connor Baker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |connor.baker at tweag dot = io --- Comment #2 from Connor Baker --- Adding some additional context: We're running into this issue in Nixpkgs: https://github.com/NixOS/nixpkgs/pull/264599#pullrequestreview-1707381631. The GLIBC 2.38 update introduces intrinsics for `aarch64-linux` in `math.h`. NVCC (NVIDIA's CUDA Compiler) declares itself to be the same compiler as its host compiler. This causes inclusion of unsupported `aarch64-linux` intrins= ics. NVCC is now unable to compile any CUDA file for `aarch64-linux` because it = does not support these intrinsics: https://forums.developer.nvidia.com/t/nvcc-fails-to-build-with-arm-neon-ins= tructions-cpp-vs-cu/248355/2. I'll be submitting the same patch I've made for Nixpkgs. --=20 You are receiving this mail because: You are on the CC list for the bug.=