New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal passes incorrect --host= when cross-compiling #5887
Labels
Comments
trofi
pushed a commit
to gentoo-haskell/gentoo-haskell
that referenced
this issue
Feb 12, 2019
Starting from haskell/cabal@5ef34786d051d5 Cabal passes --host= to autoconf-based packages. Unfortunately passed value does not match autoconf's tuple. This causes mis-detection of a host and host tools. Bug: haskell/cabal#5887 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
hamishmack
added a commit
to input-output-hk/haskell.nix
that referenced
this issue
Dec 14, 2019
hamishmack
added a commit
to input-output-hk/haskell.nix
that referenced
this issue
Dec 14, 2019
I think I ran into this a few weeks ago… what might be the status of that? |
7 tasks
I tried recently to build base in windows and i've got the same error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Noticed today that ghc-HEAD now fails cross-compilation from linux to windows.
The cause is non-canonical for of the
--host=
passed by Cabal, likely caused by 5ef3478Here is the reproducer:
libraries/base/dist-install/build/config.log shows extra argument:
Note how --host is passed twice:
Cabal should pass
--host=
unmangled. Otherwise${host}-<tool>
toolchain tools would not detect correctly.The text was updated successfully, but these errors were encountered: