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

Adapt embedded llvm-ar to LLVM 5.0 final #2349

Merged
merged 1 commit into from Sep 26, 2017
Merged

Conversation

kinke
Copy link
Member

@kinke kinke commented Sep 25, 2017

It was based on early LLVM 5.0, and there's been one notable change in the meantime, see https://reviews.llvm.org/D33575. I think @joakim-noah mentioned some issues wrt. object names in static libs. Edit: And @JohanEngelen something wrt. object names and LTO?

@joakim-noah
Copy link
Contributor

joakim-noah commented Sep 26, 2017

This patch gets rid of the paths and fixes the issue I had with llvm 5.0, tested and confirmed locally.

@kinke kinke merged commit e8bfc4d into ldc-developers:master Sep 26, 2017
@kinke kinke deleted the llvm-ar branch September 26, 2017 18:04
@JohanEngelen
Copy link
Member

JohanEngelen commented Sep 26, 2017

LTO on OSX has troubles with same-name objects in archives indeed. But it's a linker issue (quite sure), perhaps with XCode 9, the problem is gone. Can't test right now though :/

Edit: or perhaps it did have to do with how we create the phobos archive... Will be testing again soon. Editedit: nope, still doesn't work with LLVM5 + XCode 8. Needs an LLVM fix or linker fix.

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

Successfully merging this pull request may close these issues.

None yet

3 participants