<div dir="auto">You should definitely file a ticket on the GHC GitLab.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 1, 2021, 1:07 AM Stuart Hungerford <<a href="mailto:stuart.hungerford@gmail.com">stuart.hungerford@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've been trying out the latest GHC (9.2.1) on an m1 Mac running macOS<br>
12.0.1. I'm seeing this error when building an existing project:<br>
<br>
Failed to build wcwidth-0.0.2.<br>
Build log ( /Users/stu/.cabal/logs/ghc-9.2.1/wcwdth-0.0.2-232d390d.log ):<br>
Warning: wcwidth.cabal:47:45: version operators used. To use version operators<br>
the package needs to specify at least 'cabal-version: >= 1.8'.<br>
Warning: wcwidth.cabal:30:45: version operators used. To use version operators<br>
the package needs to specify at least 'cabal-version: >= 1.8'.<br>
Configuring wcwidth-0.0.2...<br>
Preprocessing library for wcwidth-0.0.2..<br>
Building library for wcwidth-0.0.2..<br>
[1 of 1] Compiling Data.Char.WCWidth ( Data/Char/WCWidth.hs,<br>
dist/build/Data/Char/WCWidth.o, dist/build/Data/Char/WCWidth.dyn_o )<br>
<br>
In file included from<br>
/var/folders/2q/ym4rpn7j6v9d6jhpt0wnk03r0000gn/T/ghc7111_0/ghc_3.c:4:0:<br>
error:<br>
<br>
<br>
In file included from<br>
/Users/stu/.ghcup/ghc/9.2.1/lib/ghc-9.2.1/lib/../lib/aarch64-osx-ghc-9.2.1/rts-1.0.2/include/ffi.h:66:0:<br>
error:<br>
<br>
<br>
/Users/stu/.ghcup/ghc/9.2.1/lib/ghc-9.2.1/lib/../lib/aarch64-osx-ghc-9.2.1/rts-1.0.2/include/ffitarget.h:6:10:<br>
error:<br>
     fatal error: 'ffitarget_arm64.h' file not found<br>
  |<br>
6 | #include "ffitarget_arm64.h"<br>
  |          ^<br>
#include "ffitarget_arm64.h"<br>
         ^~~~~~~~~~~~~~~~~~~<br>
1 error generated.<br>
<br>
<br>
Am I missing a package or system library/header that provides that<br>
ffitarget_arm64.h file?<br>
<br>
TIA,<br>
<br>
Stu<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>