Skip to content

[Bug]: Unable to build on MacOS, ARM64  #1905

Open
@ckeshava

Description

@ckeshava

Describe the issue

Hello!
An open source project 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 <username> 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions