From nobody Fri May 10 14:55:22 2024 X-Original-To: haskell@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 4VbYXv4lhNz5Jyjc for ; Fri, 10 May 2024 16:01:51 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VbYXt6Y8Jz4vKt for ; Fri, 10 May 2024 16:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715356910; a=rsa-sha256; cv=none; b=cYWuyu8FUF+Ki1Xmjq+sfJxq0yCORdSwmMIvAKNUIrxJfyzfjHMWey6498hlpKiqjMEUIp /AgPKhYReWdjfc6/w023DJvziXBQAyq+fdcY07kN/vzQ9YNyE1+D3SyVLJpHeaFAidFDak ugiBXxstENgwfaYLL3JGZPRYb1x6FnxTl0p9ETSSUczRsQ1xT4tR3+XYGnD318kY+DsH6G Zoe0Rwjo0mRUmzp/VkrDO9os128t5DDB93HrHhLpahbuhHgnsyMokCRFSbLTnVaF0qN75P tMNbpDkZYR4uBVjWA97MW1y/xl+wituGHEUQzokUIV8Sf6vDKZM1/YXdrocW2A== 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=1715356910; 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: in-reply-to:in-reply-to:references:references; bh=7LItse3PMkY9gr1FcPv+4QuIitg30zCoUk5czzGumlM=; b=YlBOCnASsIu/1NxhmjqdaJBWrSliEL/nTRJCgGOyzmNl+1oEjO28BvaBUKItxkoOZPzpBw uqnU/SEZDbDwTeUsA9x+OZXZPcxDOHXn4wktPYqT0gKuIug1eXEPkjxDQcECjzMp+uJ88M 3KhYVgqmdepy/ifyqyUfFOo5fWXXgM9901NNAq6Zvsw1guuu/YosrjJ66mjCyFOtqibCf/ usHVeZlL0/0FLkj0goFLE/Hxfknqu6w6mTtKZzQcau+yIP3nPsJ8Ij0OcfGXxBS4kz4vJP gRWyltfPWAOUaGN8/KS1B506doz1Q2qNVcQ5k++GesCOfATB6gn3ddoz34dluw== 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 4VbYXt68FDzkZ5 for ; Fri, 10 May 2024 16:01:50 +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 44AG1kDr044433 for ; Fri, 10 May 2024 16:01:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44AEtPrx034362 for haskell@FreeBSD.org; Fri, 10 May 2024 14:55:25 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: haskell@FreeBSD.org Subject: [Bug 278895] lang/ghc: fails to build when base built WITH_LLVM_BINUTILS Date: Fri, 10 May 2024 14:55:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: blocked cc Message-ID: In-Reply-To: References: 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: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278895 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |258872 CC| |emaste@freebsd.org Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258872 [Bug 258872] [exp-run] WITH_LLVM_BINUTILS --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri May 10 14:54:11 2024 X-Original-To: haskell@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 4VbYY239Yrz5JySF for ; Fri, 10 May 2024 16:01:58 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VbYY14Spmz4vrv for ; Fri, 10 May 2024 16:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715356917; a=rsa-sha256; cv=none; b=wcKm0J7iYejzXBkg9HYdgesndtUpLY49hJtF9H4V4KD3FJEi5jv6IRH3rOmlgp2psH6+8H qViGL2hihyGUmHehCG0T+K0HhQHsEIzCuVign+ASI0B5yUIZIcpFJ94YyMf4PHDZjgYOzX H2yMeZYj8bRb+aMZ1WXhlcquVCHPgUOxtWw/E6lvkL6D6Jyba5PwwnggaEI34+ey7ElnJc vzW28sOCTW0hA5GiQ5xn4p1IrXjqI6CCtd05+4qwwaddhAyOoyg5FYsn8EfnvhwdSsAEb/ gBcOg8G3HnOUXjyRBp7LJad7mk7S7+kmT/oYuluqrOhx30onJbrAmqHHYRQ0PQ== 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=1715356917; 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=TqwaE1hLgI9xf0IsBH8nHxvHSZCzzF1pD4b38eH8GRU=; b=U2qz5q1bkxOVUrlEvXYTgDcxgbdg/cmfDWpIwtZ/EmQXA5BeUl16OJKRD3+9qf/kwi1Z5O uwWy8Jp3iAX0NX4Rg22UMeJvNUb5feHCYBGVSKg8cYEsSecoqEiyqPGWqZ0N80ePVVth6s Pvfv10i0Lp/pKtpe+6wZvOBw4iURy/jZ92dcBsHteUgGjh4+BsmFA55CDoJO0PwWtp05Pr Jb9CL0PgoglyKhdYsnG3WIjTBvT+JGsSwKq0sUzQ0xHdGrYMlKBqOOp/YAveVQLuldq/+i 0Q+czgc+hGCWVtHKT5Ug4p0WxxhTcXjaI2mR4tVDt9SD2gj81nr7lKyNaJohhA== 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 4VbYY145RLzkcY for ; Fri, 10 May 2024 16:01:57 +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 44AG1kGf044433 for ; Fri, 10 May 2024 16:01:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44AEsabS031587 for haskell@FreeBSD.org; Fri, 10 May 2024 14:54:36 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: haskell@FreeBSD.org Subject: [Bug 278895] lang/ghc: fails to build when base built WITH_LLVM_BINUTILS Date: Fri, 10 May 2024 14:54:11 +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 Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@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: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278895 Bug ID: 278895 Summary: lang/ghc: fails to build when base built WITH_LLVM_BINUTILS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: haskell@FreeBSD.org Reporter: emaste@freebsd.org Flags: maintainer-feedback?(haskell@FreeBSD.org) Assignee: haskell@FreeBSD.org I expect to switch to LLVM binutils for FreeBSD 15, and ports that fail to build will need to either be fixed, or depend on the binutils package. See build log in https://pkg-status.freebsd.org/gohan04/data/mainamd64PR258872-default-foo/2= 024-04-01_17h03m03s/logs/errors/ghc-9.6.4_1.log Command line: _build/stage0/bin/ghc -Wall -Wcompat -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage1/lib/package.conf.d' '-this-unit= -id runghc-9.6.4' '-package-id base-4.18.2.0' '-package-id directory-1.3.8.1' '-package-id filepath-1.4.200.1' '-package-id process-1.6.17.0' '-package-id unix-2.8.4.0' -i -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/utils/runghc/bui= ld -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/utils/runghc/bui= ld/runghc/autogen -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/utils/runghc -Irts/include -I_build/stage1/utils/runghc/build -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/process/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/proces= s/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/directory -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/direct= ory/build -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/unix/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/unix/b= uild/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/time/lib/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/time/b= uild/lib/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/bytestring/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/bytest= ring/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/base/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/base/b= uild/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/ghc-bignum/include/ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/ghc-bi= gnum/build/include/ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/ghc-bignum/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/ghc-bi= gnum/build/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/rts/inclu= de -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/rts/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/rts/@FFIIncludeDir@ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/rts/build/@FFIIn= cludeDir@ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/rts/@LibdwIncludeDir@ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/rts/build/@Libdw= IncludeDir@ -optP-include -optP_build/stage1/utils/runghc/build/runghc/autogen/cabal_macros.h -optc--target=3Dx86_64-portbld-freebsd -outputdir _build/stage1/utils/runghc/build -dynamic -optl-Wl,-rpath,$ORIGIN/../lib/x86_64-freebsd-ghc-9.6.4 -optl-Wl,-rpath,$ORIGIN/../../../lib/x86_64-freebsd-ghc-9.6.4 -optl-Wl,-zor= igin -fno-use-rpaths -no-auto-link-packages -rtsopts -Wnoncanonical-monad-instan= ces -optc-Wno-unknown-pragmas -optP-Wno-nonportable-include-path _build/stage1/utils/runghc/build/Main.dyn_o -o _build/stage1/bin/runghc -O2 -H32m -XHaskell2010 -no-global-package-db -package-db=3D/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inpl= ace/package.conf.d -ghcversion-file=3Drts/include/ghcversion.h -ghcversion-file=3Drts/include/ghcversion.h =3D=3D=3D> Command failed with error code: 1 ld.lld: error: undefined symbol: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_info >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.text+0x2730) >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.text+0x2878) >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.text+0x2B10) >>> referenced 3 more times ld.lld: error: undefined symbol: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_closure >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.data+0x710) ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziProcessziCommon_getProcessID1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_zdwinstallHandler_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_keyboardSignal1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_zdwinstallHandler_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_keyboardTermination1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_Ignore_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_signalProcessGroup2_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziProcessziCommon_getProcessGroupIDOf2_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/process/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_readSymbolicLink1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_readSymbolicLink1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_changeWorkingDirectory= 1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_changeWorkingDirectory= 1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_removeDirectory1_closu= re >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_removeDirectory1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_createDirectory1_closu= re >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_createDirectory1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/= inplace/../libraries/directory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: too many errors emitted, stopping now (use --error-limit=3D0= to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) `clang' failed in phase `Linker'. (Exit code: 1) Command failed Build failed. *** Error code 1 It's a bit difficult to understand what is failing because searching for "error: " in the build log returns > 1000 matches. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri May 10 14:54:11 2024 X-Original-To: haskell@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 4VbYY22pm4z5Jyjh for ; Fri, 10 May 2024 16:01:58 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VbYY14KnGz4vbL for ; Fri, 10 May 2024 16:01:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715356917; a=rsa-sha256; cv=none; b=afK+E6Zb7pcU665lYGKqIfb1tnnlJ5T9znHlIBnzrYDjuQObEfN+a/4hNuBN7Qm0GQtFOv qDmZASOTKh1DsyiFijq/ZEFQ2ygVIiYC/8FcuCGCb8Gf6OQD+fwcwGq/AaCnWswlWdarqC FHPvQyW2p5Bg0Fch7reLegWcbk0fwHiBkpz1rPn+SQ9J1UMzXXdoY71CwpaWSX50GQ31f2 qJ3tcSghxQXpmGlBNdMADAuSf60nwyGHw8J4Tox+G61wPbS2TD5Y6gdmT1mocZlF4Ni603 goXUPB7SInXtIB4xCg0ftqDIG7zYQXuPSqiqiZgsF0TxHW6IBO5doeHy4o0Vfw== 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=1715356917; 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: in-reply-to:in-reply-to:references:references; bh=iwzPAiVa22G+upPPfAwNE2GARpqcTdl8+1pL7FBEDYk=; b=KaFi3bAhDfyaALEYGi3On7o7vKv5Qa8NLVp2Z8QjFeeKtBToHf7Oldotgw+TAxarfCK4w4 v+9zy65YsgkHMLydHftbWLxNtE1WgtgoZ+jhdHmqTWjyr3zO0dIb7Hpxh6zOVaLwf3qUEu 8IbMhrAdTke9hLmMIuSkwyZUaL2dSqbkdqIWGo/Nr4bJvYzc30a9/OzM7lBW4CyzrH/zJ2 Co0PaDtWJXBF+w+W3w7ESBcQvyrO4abDdKJY6i2/g7rN/goJdJVnJa9zk+PyHDVflFO49g Hb+X3j3NpRPdmC03+65jcN6QVBkOOkRglpNN1ohCf/Ug7xIpgmLuSU4hamcpSw== 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 4VbYY13nKVzkGW for ; Fri, 10 May 2024 16:01:57 +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 44AG1kGd044433 for ; Fri, 10 May 2024 16:01:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44AEsXvZ031322 for haskell@FreeBSD.org; Fri, 10 May 2024 14:54:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: maintainer-feedback requested: [Bug 278895] lang/ghc: fails to build when base built WITH_LLVM_BINUTILS Date: Fri, 10 May 2024 14:54:11 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@FreeBSD.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-haskell (Nobod= y) for maintainer-feedback: Bug 278895: lang/ghc: fails to build when base built WITH_LLVM_BINUTILS https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278895 --- Description --- I expect to switch to LLVM binutils for FreeBSD 15, and ports that fail to build will need to either be fixed, or depend on the binutils package. See build log in https://pkg-status.freebsd.org/gohan04/data/mainamd64PR258872-default-foo/2= 024- 04-01_17h03m03s/logs/errors/ghc-9.6.4_1.log Command line: _build/stage0/bin/ghc -Wall -Wcompat -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -hide-all-packages -no-user-package-db '-package-env -' '-package-db _build/stage1/lib/package.conf.d' '-this-unit= -id runghc-9.6.4' '-package-id base-4.18.2.0' '-package-id directory-1.3.8.1' '-package-id filepath-1.4.200.1' '-package-id process-1.6.17.0' '-package-id unix-2.8.4.0' -i -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/utils/runghc/bui= ld -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/utils/runghc/bui= ld/r unghc/autogen -i/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/utils/runghc -Irts/include -I_build/stage1/utils/runghc/build -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/process/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/proces= s/bu ild/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/directory -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/direct= ory/ build -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/unix/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/unix/b= uild /include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/time/lib/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/time/b= uild /lib/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/bytestring/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/bytest= ring /build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/base/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/base/b= uild /include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/ghc-bignum/include/ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/ghc-bi= gnum /build/include/ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/libraries/ghc-bignum/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/libraries/ghc-bi= gnum /build/include -I/usr/local/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/rts/inclu= de -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/rts/build/include -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/rts/@FFIIncludeDir@ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/rts/build/@FFIIn= clud eDir@ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/rts/@LibdwIncludeDir@ -I/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/rts/build/@Libdw= Incl udeDir@ -optP-include -optP_build/stage1/utils/runghc/build/runghc/autogen/cabal_macros.h -optc--target=3Dx86_64-portbld-freebsd -outputdir _build/stage1/utils/runghc/build -dynamic -optl-Wl,-rpath,$ORIGIN/../lib/x86_64-freebsd-ghc-9.6.4 -optl-Wl,-rpath,$ORIGIN/../../../lib/x86_64-freebsd-ghc-9.6.4 -optl-Wl,-zor= igin -fno-use-rpaths -no-auto-link-packages -rtsopts -Wnoncanonical-monad-instan= ces -optc-Wno-unknown-pragmas -optP-Wno-nonportable-include-path _build/stage1/utils/runghc/build/Main.dyn_o -o _build/stage1/bin/runghc -O2 -H32m -XHaskell2010 -no-global-package-db -package-db=3D/wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inpl= ace/pa ckage.conf.d -ghcversion-file=3Drts/include/ghcversion.h -ghcversion-file=3Drts/include/ghcversion.h =3D=3D=3D> Command failed with error code: 1 ld.lld: error: undefined symbol: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_info >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.text+0x2730) >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.text+0x2878) >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.text+0x2B10) >>> referenced 3 more times ld.lld: error: undefined symbol: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_closure >>> referenced by _build/stage1/utils/runghc/build/Main.dyn_o:(.data+0x710) ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziProcessziCommon_getProcessID1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_zdwinstallHandler_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_keyboardSignal1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_zdwinstallHandler_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_keyboardTermination1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_Ignore_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziSignals_signalProcessGroup2_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziProcessziCommon_getProcessGroupIDOf2_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/p rocess/build/libHSprocess-1.6.17.0-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_readSymbolicLink1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_readSymbolicLink1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_changeWorkingDirectory= 1_cl osure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_changeWorkingDirectory= 1_in fo >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_closure >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziFilesziPosixString_removeLink1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_removeDirectory1_closu= re >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_removeDirectory1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_createDirectory1_closu= re >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: undefined reference due to --no-allow-shlib-undefined: unixzm2zi8zi4zi0_SystemziPosixziDirectoryziPosixPath_createDirectory1_info >>> referenced by /wrkdirs/usr/ports/lang/ghc/work/ghc-9.6.4/_build/stage1/inplace/../librari= es/d irectory/build/libHSdirectory-1.3.8.1-ghc9.6.4.so ld.lld: error: too many errors emitted, stopping now (use --error-limit=3D0= to see all errors) clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) `clang' failed in phase `Linker'. (Exit code: 1) Command failed Build failed. *** Error code 1 It's a bit difficult to understand what is failing because searching for "error: " in the build log returns > 1000 matches.