You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice how ld-options are passed as -optl flags to GHC which gives them to clang, but previously we were passing them to lld ourselves.
For my case this is not particularly important because the lld errors in the first case won't change depending on this flag, as my lld does not support -x but for users whose lld does support -x, if they specify ld-options with -Wl, the command will fail and Cabal will think that -x is not supported.
Cabal used: 3.14
The text was updated successfully, but these errors were encountered:
Describe the bug
I like having these in my cabal config to suppress some warnings:
This produces (silenced by default) errors on cabal build:
The output seems to indicate we should remove the
-Wl,
fromld-options
. However, if done so we get a different error in another command:Notice how ld-options are passed as
-optl
flags to GHC which gives them toclang
, but previously we were passing them tolld
ourselves.For my case this is not particularly important because the
lld
errors in the first case won't change depending on this flag, as mylld
does not support-x
but for users whoselld
does support-x
, if they specifyld-options
with-Wl
, the command will fail and Cabal will think that-x
is not supported.Cabal used: 3.14
The text was updated successfully, but these errors were encountered: