From nobody Fri Apr 25 10:26:03 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZkTWv69wJz5tM1V for ; Fri, 25 Apr 2025 10:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZkTWv4Y70z3QLN for ; Fri, 25 Apr 2025 10:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745576763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TmQpqVrfuwqZvkbremBwls4MAXZXNI8yn7YVUc1nsx0=; b=tLchIT7JHepHtXgISngK+K5y6tN8twgizaexOtqHFCtDSp3F4VmhaBWtrewm4fZC9+Npe5 jTY9Zh/KyGJm0eybGoZhpIwdpNhPIovnh6LjAwc915a+hhnnv2Bxbc8WAVfV1nfS/MSAkL ZaRR6ysTB4Tq2QZGD0N0ODEb3yNwryx6umprnRNVo1kf/oziApEQXQH/k189j4QgOjrILb kHSIPBIsw/dkMGbXVT5849fqvFPK8YacwGKrTzpxp6RbXJC5z0NZFH5iGXT4XBbta7t4rX QmvyShMkByAgjh7NovxmyxKaOfOizVTfP95OwhkNdo7nOW7HjYeA9dVPBlRsiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745576763; a=rsa-sha256; cv=none; b=iuO7qdq+l3dPWcT7BZ+v1wYn7PKxbzwT3LLE5fw2c/+2vYBvSfYGnrK33MxpK1IuGAnHUB 7KYwCK0bX/Y8tj1avYPdwGYyTf0JEw0s4xEDegU5bZ2CPad3QQ6UEwgPE6LojRl3VCk4ye 245sBpUHIkUuEYK4NIFar07qqO4J20q3AsaiLiDyyeIjCqJ3auVEtnb2rLmTR7Qe9f4I3t 86Z/ZNtFaRjhvqGJ2Z9YW/2n27B1Ur8ucWSgdG46ia8qn3HvuUHwNsdvVrXlu+XA4FQsmv 4+NofQPbgJZHOM7CiAAxqZd+uwoRNePnq7YDYKzpVDFo5CzLf7qpKj9Hze2Ddg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745576763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TmQpqVrfuwqZvkbremBwls4MAXZXNI8yn7YVUc1nsx0=; b=cOJYE5JY9pAIQ8nSzGcGfSpHgiFg9qexe7IFn0cyfNq65Wkrvqbz3p4tQhEw+C8L3Mx3b6 Ck6aJhhUscbMRqCjic64NKoiAV/HcTX77Hx0Fj7cAfBtBNdPYO4uWSgCtN6Yr7POy8Jhb1 RnDZCdewIfKjwJVg8eI+uzVRVYTIs+sBLHCokAmZq201DbqUcGj24CpdL+dRdQsHbot525 ukumzeE6AnLK7uYBdXk8Ga4w9gyW12sU8tfchN83be93Ndcw5fA0oBYZ9iANLwF2y3QBSH 3Y4rOOG0Mki0gxVp3yBhqHMQ4F3dJsiv+ifjW3X0FVfHhv+AbW+gBaV+BCcvfw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZkTWv3rrgzXTF for ; Fri, 25 Apr 2025 10:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 53PAQ3UJ027476 for ; Fri, 25 Apr 2025 10:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53PAQ3Vp027475 for bugs@FreeBSD.org; Fri, 25 Apr 2025 10:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 286342] libc++: compiling with -fmodules broken when including Date: Fri, 25 Apr 2025 10:26:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jgopensource@proton.me X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286342 Bug ID: 286342 Summary: libc++: compiling with -fmodules broken when including Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: jgopensource@proton.me The following two-line C++ program fails to compile with -fmodules on FreeB= SD 15.0-CURRENT: #include int main() {} The command executed is: clang++ -fmodules demo.cpp The error message is: /usr/include/c++/v1/locale:730:68: error: use of undeclared identifier 'strtoll_l' Verified on FreeBSD/arm64 15.0-CURRENT, snapshot from 2025-04-22. Without -fmodules the program compiles successfully. On FreeBSD 14.2 with or without -fmodules the program compiles successfully= , so this can be considered a regression. Other headers in libc++ (for example and ) include so the problem affects even programs that don't include directly. --=20 You are receiving this mail because: You are the assignee for the bug.=