There are some differences between the toolchain configured by "configure" and "ghc-toolchain"
After running ./boot && ./configure
on my FreeBSD machine, I got the following:
configure: WARNING:
There are some differences between the toolchain configured by "configure" (hadrian/cfg/default.target) and the toolchain configured by the "ghc-toolchain" program (hadrian/cfg/default.target.ghc-toolchain).
22c22
< { ccLinkProgram = Program { prgPath = "/usr/local/bin/gcc" , prgFlags = ["-fuse-ld=lld","-Wl,--no-as-needed"] }
---
> { ccLinkProgram = Program { prgPath = "/usr/local/bin/gcc" , prgFlags = ["-Wl,--no-as-needed"] }
Don't worry! This won't affect your ghc in any way.
However, in a near future, we will move to configuring toolchains with "ghc-toolchain" by default, so you might have discovered a future bug.
In light of it, if you've spotted this difference, please report a GHC bug at https://www.haskell.org/ghc/reportabug
OS: FreeBSD 14.0-RELEASE