haskell.nix
haskell.nix copied to clipboard
Warning spam in aarch64-darwin
While building on macOS this message:
'apple-a7' is not a recognized processor for this target (ignoring processor)
appears many times.
My research shows that this is because something is passing some -march
flag to clang somewhere and it is not regocnising the name of the processor, but i'm not sure where to go from here.
I've seen this occasionally as well (not in my projects though), this should not happen, picking apple-a7
is wrong. Do you have a reproducer for this?
It happens here: https://github.com/Sciencentistguy/AdventOfCode/tree/9c242a0941c5f6d7fd128bc0b08392cab4b0e341/2021/Haskell
This is on an M1 Max Macbook Pro.
Happens on my M1 Macbook Pro (2020) as well. I get tons of those messages
I'm getting this as well.
In the ghc source, I find this line in the generated llvm-targets
:
40:,("aarch64-apple-darwin", ("e-m:o-i64:64-i128:128-n32:64-S128", "apple-a7", "+fp-armv8 +neon +crypto +zcm +zcz +sha2 +aes"))
Maybe that's a clue?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.