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

Use -framework for libunwind; disable hardening #173

Merged
merged 4 commits into from
Jul 30, 2024

Conversation

h-vetinari
Copy link
Member

@h-vetinari h-vetinari commented Jul 29, 2024

Backport of #172 (we're slowly inching closer to the pre-18 state of things again) & #174

Fixes #162

needs to be done through `-framework`, attempting to do add
`-L/usr/lib/system -lunwind` to LDFLAGS leads to:
"Link against the umbrella framework 'System.framework' instead"
This has been part of regular libc++.dylib since LLVM 9, see
llvm/llvm-project@cc37af7 & llvm/llvm-project@9523872
@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Hardening modes have been untroduced in libc++ 18.

It might be that checks for some UB are now present but were not
before.

See: https://libcxx.llvm.org/Hardening.html#using-hardening-modes

Signed-off-by: Julien Jerphanion <[email protected]>
@h-vetinari h-vetinari changed the title Use -framework for libunwind Use -framework for libunwind; disable hardening Jul 30, 2024
@h-vetinari h-vetinari marked this pull request as ready for review July 30, 2024 22:04
@h-vetinari h-vetinari added the automerge Merge the PR when CI passes label Jul 30, 2024
@github-actions github-actions bot merged commit f221648 into conda-forge:main Jul 30, 2024
7 checks passed
Copy link
Contributor

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • azure: passed

Thus the PR was passing and merged! Have a great day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the PR when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[osx] libcxx v18.1.8: Failure with ILLEGAL instruction at runtime on dependent project
2 participants