abseil / abseil/abseil-cpp

[Bug]: Unable to build on MacOS, ARM64

Aperta
#1,905 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
18.1k
Fork
3.2k
Merge medio
20h 36m
PR unite (30g)
1

Descrizione

### Describe the issue

Hello!
An [open source project](https://github.com/XRPLF/rippled) makes use of the abseil dependency. I'm downloading this version of abseil from the conancenter:
`abseil/20230802.1:bf4c190a2a11c2e8ee87f448eac6d5d97f23aca1 - Build`

I get the below error:
```
[ 11%] Building CXX object absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o
[ 11%] Built target strerror
c++: error: unsupported option '-msse4.1' for target 'arm64-apple-darwin24.5.0'
make[2]: *** [absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/internal/randen_hwaes.cc.o] Error 1
make[1]: *** [absl/random/CMakeFiles/random_internal_randen_hwaes_impl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```

This is the environment of my machine:
```
➜ .build_3 git:(abcd) ✗ uname -a
Darwin 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000 arm64
```

Do you have any suggestions to resolve this issue? Previously, I have not run into any issue with abseil, however, that could be because I had downloaded the relevant files into my local cache.

Were there any recent updates to the version of abseil in the conancenter?

### Steps to reproduce the problem

This webpage will help you build the rippled project: https://github.com/XRPLF/rippled/blob/develop/BUILD.md

Apologies, I don't have a smaller project that can isolate this issue.

### What version of Abseil are you using?

abseil/20230802.1:bf4c190a2a11c2e8ee87f448eac6d5d97f23aca1

### What operating system and version are you using?

already provided in the issue description

### What compiler and version are you using?

apple-clang v16.0

### What build system are you using?

cmake version 3.31.5

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.