haskell.nix icon indicating copy to clipboard operation
haskell.nix copied to clipboard

Warning spam in aarch64-darwin

Open Sciencentistguy opened this issue 3 years ago • 5 comments

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.

Sciencentistguy avatar Jan 18 '22 19:01 Sciencentistguy

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?

angerman avatar Jan 19 '22 03:01 angerman

It happens here: https://github.com/Sciencentistguy/AdventOfCode/tree/9c242a0941c5f6d7fd128bc0b08392cab4b0e341/2021/Haskell

This is on an M1 Max Macbook Pro.

Sciencentistguy avatar Jan 19 '22 12:01 Sciencentistguy

Happens on my M1 Macbook Pro (2020) as well. I get tons of those messages

cptmikx avatar Feb 22 '22 09:02 cptmikx

I'm getting this as well.

asivitz avatar May 04 '22 18:05 asivitz

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?

asivitz avatar May 04 '22 18:05 asivitz

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.

stale[bot] avatar Sep 28 '22 14:09 stale[bot]