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.=