From nobody Sat Apr 26 18:25:40 2025 X-Original-To: freebsd-current@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 4ZlJ6x488sz5tZjV for ; Sat, 26 Apr 2025 18:25:45 +0000 (UTC) (envelope-from jgopensource@proton.me) Received: from mail-24417.protonmail.ch (mail-24417.protonmail.ch [109.224.244.17]) (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 "protonmail.com", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZlJ6w6DmBz45ZL for ; Sat, 26 Apr 2025 18:25:44 +0000 (UTC) (envelope-from jgopensource@proton.me) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proton.me header.s=protonmail header.b=SVItRQlG; dmarc=pass (policy=quarantine) header.from=proton.me; spf=pass (mx1.freebsd.org: domain of jgopensource@proton.me designates 109.224.244.17 as permitted sender) smtp.mailfrom=jgopensource@proton.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1745691942; x=1745951142; bh=oVO9YFGlH9/vI9nxZGJuIm7ZpLZTIRBq0N4QlhM1xAw=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=SVItRQlGcbAicJhw59RZ7t5kZ8cLS/BY9b4lxzoCtCdAa9kbn8rqWniUWUMKOSrRs O2onPX/rSieXIItKCMh9bI4Ab+jgs7F/pNemSl/EKPGann8UuDEE66Q9xvr2Rj3fHs GLmVS489xbUbdEzVwEZbUKYD0eHQDZOPS0dyTTboEp7rfEAhJ7a6QUVnKQtCLnioY7 L7Y0d32GJxl8R7Z2ZlyyXsmTyHrZTwfAhOnPsiUxjVZ2EZKwnM4RTC48HYvSeYLrl1 9i10+q48eImKu0tAd77hsXTvdsUq6CDsGiEmLx6ePCUhVL4ZUgbgMEgz4MlhBurYOj aBnjSrFQC1+Ng== Date: Sat, 26 Apr 2025 18:25:40 +0000 To: "freebsd-current@freebsd.org" From: Jordan Gordeev Subject: C++ programs fail to build with -fmodules Message-ID: Feedback-ID: 125078299:user:proton X-Pm-Message-ID: d32a150dbba849c357a01cc4178b875f93fbf97a List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-4.40 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[proton.me,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[109.224.244.17:from]; R_SPF_ALLOW(-0.20)[+ip4:109.224.244.0/24:c]; R_DKIM_ALLOW(-0.20)[proton.me:s=protonmail]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29676, ipnet:109.224.244.0/22, country:GB]; RCVD_COUNT_ZERO(0.00)[0]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[proton.me:+] X-Rspamd-Queue-Id: 4ZlJ6w6DmBz45ZL X-Spamd-Bar: ---- Programs written in C++ fail to build with -fmodules on 15.0-CURRENT if the= y include the headers , , or any other header th= at includes . The flag -fmodules enables a feature known as clang modules. You can read m= ore about that feature here: https://clang.llvm.org/docs/Modules.html On 14.2 building with -fmodules works. I've filed a problem report about the issue: https://bugs.freebsd.org/bugzi= lla/show_bug.cgi?id=3D286342 Anyone who can help with this issue is welcome to do so. Best regards, Jordan Gordeev