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

Unintended linkage to llvm's libunwind via gdal has broken gz-common5 bottles built with Xcode 15 #2639

Closed
9 of 10 tasks
scpeters opened this issue Apr 21, 2024 · 0 comments
Closed
9 of 10 tasks
Labels
broken-bottle A binary bottle needs to be rebuilt

Comments

@scpeters
Copy link
Member

scpeters commented Apr 21, 2024

As mentioned in Homebrew/homebrew-core#164034, there is an issue with the linker in Xcode 15 that causes unintended linking to llvm's libunwind if it is in the library search paths. This widely affects lots of formulae (as noted in Homebrew/homebrew-core#169354 (comment)) to the extent that a workaround is being planned in Homebrew/brew#17104. This currently affects gz-common5 and dependents.

It was tricky to diagnose because it only affects our macOS Ventura bottles, and not Monterey:

Brew linkage test result

+ brew linkage --test gz-common5
Broken dependencies:
  /usr/local/opt/llvm/lib/libunwind.1.dylib (llvm)
Build step 'Execute shell' marked build as failure

Checklist

@scpeters scpeters added the broken-bottle A binary bottle needs to be rebuilt label Apr 21, 2024
scpeters added a commit that referenced this issue Apr 21, 2024
scpeters added a commit that referenced this issue Apr 21, 2024
@scpeters scpeters changed the title Unintended to llvm's libunwind via gdal has broken gz-common5 bottles built with Xcode 15 Unintended linkage to llvm's libunwind via gdal has broken gz-common5 bottles built with Xcode 15 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken-bottle A binary bottle needs to be rebuilt
Projects
None yet
Development

No branches or pull requests

1 participant