From nobody Wed Dec 04 20:38:31 2024 X-Original-To: ports-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 4Y3Tr802jFz5g9dB for ; Wed, 04 Dec 2024 20:38:32 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3Tr75Mj7z4HZ8 for ; Wed, 4 Dec 2024 20:38:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733344711; 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=2mK1S5l6rGJ/oJKWAZb7PpoviqmCtLmgln01COL9pMg=; b=WJx0j/Nh0U7pY0iSz6zh3s96IEbcsQoKFPcF39WfEdxyhW/N0DbGBo9CTtFwoUoOX2xKsO NAESM4BNJVQ2lYwDXPXaJSdFpb8AaNnmgE6KqY91a2AQAOmLs2d0DVLqoTf5S9xje4heyt aDAYtCK8F0J46S4udV2521iyq67MChhAuJ/nTtUUkYXyEJgx4j3dJGIy5nV1D+iCC9/bD+ Fnx7ZP/aqxjMrxuY3Pxw7soUjbTcPR471FxL80xlV3k+vGMhRz3LiaQJwQomwsAF89p/hy hMxmOxYF8D9MvZ1AdNUzVLdotCf1xneUkzA0OYSR045awDSKMQsg6ks5ca9deQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733344711; a=rsa-sha256; cv=none; b=OkkDC3kb49DeACg40KdqCDALALY4aykVf8+5S1wB2Fhcuq6+7RQV/jj1V6bLKfiNI15LfK +tOYyuCDeHI+QkxfiyBbC+2d3uFj1ysAEog4iW/2IAEVk2BxNoviFUy//7IMquQfnSro1z b8pkqM46hj/MjUxY+9RlLMCcHfOxpe03kAJirWTDlaRG/Zcg+s+e7S5vHpx4oiuxzvGP0l 1gt9o2MSqkE+BpU6H8DbpCG9EJrkBQIvq3KQeMr1Pgyu6JHO2D2hwHT0O9b6miZTHDHI7f dyAFS5OY/99HC3bTQow6V2HPMKjxjuS/68EEcuvZW/z74R+XHWmj6K0UVllgAg== 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 4Y3Tr73M84zN6w for ; Wed, 4 Dec 2024 20:38:31 +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 4B4KcVE3054719 for ; Wed, 4 Dec 2024 20:38:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B4KcVOl054718 for ports-bugs@FreeBSD.org; Wed, 4 Dec 2024 20:38:31 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: ports-bugs@FreeBSD.org Subject: [Bug 283134] lang/ldc: build against llvm 15 only Date: Wed, 04 Dec 2024 20:38:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acm@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283134 Bug ID: 283134 Summary: lang/ldc: build against llvm 15 only Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org During the exp-run for bug 283013 ("update LLVM_DEFAULT to 18") it turned out that lang/ldc fails to build, with an error similar to: -- Found LLVM: /usr/local/llvm18 (found suitable version "18.1.8", minimum required is "15.0") -- Using LLVM Version 18.1 -- LDC version identifier: 1.39.0 -- -- Building LDC with dynamic compilation support (LDC_DYNAMIC_COMPILE): = OFF -- -- Building LDC with integrated LLD linker (LDC_WITH_LLD): ON -- -- Building LDC with enabled assertions (LDC_ENABLE_ASSERTIONS): OFF CMake Error at cmake/Modules/ExtractDMDSystemLinker.cmake:42 (message): Failed to link empty D program using '/wrkdirs/usr/ports/lang/ldc/work/ldc2-1.39.0-freebsd-x86_64/bin/ldmd2 -wi': ld-elf.so.1: Shared object "libLLVM-15.so" not found, required by "ldmd2" Call Stack (most recent call first): CMakeLists.txt:630 (include) The issue is that the prebuilt bootstrap D compiler is linked against libLLVM-15.so: $ ldd /wrkdirs/usr/ports/lang/ldc/work/ldc2-1.39.0-freebsd-x86_64/bin/ldc2 /wrkdirs/usr/ports/lang/ldc/work/ldc2-1.39.0-freebsd-x86_64/bin/ldc2: libLLVM-15.so =3D> /usr/local/llvm15/lib/libLLVM-15.so (0x2643fb200= 000) libthr.so.3 =3D> /lib/libthr.so.3 (0x2643f91d6000) libm.so.5 =3D> /lib/libm.so.5 (0x2643faa83000) libc++.so.1 =3D> /lib/libc++.so.1 (0x2643f9b25000) libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0x264403214000) libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x264403624000) libc.so.7 =3D> /lib/libc.so.7 (0x264403837000) libexecinfo.so.1 =3D> /usr/lib/libexecinfo.so.1 (0x264404122000) librt.so.1 =3D> /lib/librt.so.1 (0x2644021d0000) libz.so.6 =3D> /lib/libz.so.6 (0x26440493d000) libzstd.so.1 =3D> /usr/local/lib/libzstd.so.1 (0x264405463000) libsys.so.7 =3D> /lib/libsys.so.7 (0x264406507000) libelf.so.2 =3D> /lib/libelf.so.2 (0x2644071b8000) [vdso] (0x2643f8a63000) Therefore, this port cannot really build against any other package than devel/llvm15. --=20 You are receiving this mail because: You are the assignee for the bug.=