-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
xxhash: Fix 10.7 Lion clang segfault #19899
Conversation
Notifying maintainers: |
Sent upstream too: Cyan4973/xxHash#878 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Normally a build fix does not require a revision increase, but it may be necessary in this case since it affects an installed file.
Is it really not preferable to apply this patch regardless of macOS/compiler version? It looks like it can be applied unconditionally, and I would think doing so is a good idea, in part because those maintaining the port on more recent macOS would notice if it breaks e.g. during updates.
Yes, I think it should be possible to do unconditionally. I agree that less control flow in the portfile helps maintenance. Should we maybe update the revision only for the xxhashlib subport since that is the one that installs the header? The xxhash one should result in identical binaries if it compiled before. |
I agree with this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to reproduce the crash on my 10.7 VM, and can confirm that this patch fixes the issue. Nice work!
@Schamschula Marius, this is blocking other ports from building on 10.7, so it would be great to merge this ASAP. Can you take a look when you get a chance? (The changes are trivial, so it's a 2-minute review at most.)
Maintainer timeout, merging. |
Description
Fixes: https://trac.macports.org/ticket/67963
May supersede #19897
Type(s)
Tested on
macOS 10.7.5 11G63 x86_64
Xcode 4.6.3 4H1503
Verification
Have you
port lint --nitpick
?sudo port test
? (There are none)sudo port -vst install
?