Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure on MacOS #225

Open
DRKolev-code opened this issue Nov 18, 2024 · 0 comments
Open

Build failure on MacOS #225

DRKolev-code opened this issue Nov 18, 2024 · 0 comments

Comments

@DRKolev-code
Copy link

DRKolev-code commented Nov 18, 2024

Performing python -m pip install sagemaker-training fails with

clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Isrc/sagemaker_training/c -I/Users/.../work/tmp/sagemaker-training_2/.venv/include -I/Users/.../.pyenv/versions/3.9.18/include/python3.9 -c src/sagemaker_training/c/gethostname.c -o build/temp.macosx-15.0-arm64-3.9/src/sagemaker_training/c/gethostname.o -Wall -shared -export-dynamic -ldl
      clang: error: unknown argument: '-export-dynamic'
      clang: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

For some reason it tries to pass -export-dynamic to the compiler and not the linker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant