-
Notifications
You must be signed in to change notification settings - Fork 236
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
DED_LDFLAGS tomfoolery for macOS 10.13 #230
Conversation
1e71941
to
d588065
Compare
Thanks for the patch! Definitely a lot of good ideas in here. I will take a closer look at this tomorrow! |
It seems this patch doesn't work against Erlang 17 (tried it against 17.5.6.9) |
I don't know how it was working before, but after a reboot it wasn't even working for 20.1. It turns out that This is only a big deal because otp's |
@kpy3 I was able to build 17.5.6.9 after this last commit. |
This whole thread is making me 😢 Why can't we have nice things 🍎 ???!!! |
@joedevivo tried updated PR (with #232) and it seems to work now. The only strange thing I have to notice is
My build flags are: Any thoughts on this? |
As explained in #230, DED_LDFLAGS must be set correctly for clang 9 to compile various OTP applications correctly including crypto. This patch reworks #230 a little bit so that it's a tiny bit more generalized, in case we run across another situation where this needs to be done for a particular operating system.
Thanks for the patch, I am closing this in favor of #234 |
As explained in kerl#230, DED_LDFLAGS must be set correctly for clang 9 to compile various OTP applications correctly including crypto. This patch reworks kerl#230 a little bit so that it's a tiny bit more generalized, in case we run across another situation where this needs to be done for a particular operating system.
My old builds on an upgraded laptop were giving me an error like the one here. They fixed it in erlang/otp#1501, but even backported to maintenance branches, any versioned source tarball won't be able to build SSL because the
DED_LDFLAGS
are no longer compatible.I haven't gone back far enough to check, but this definitely works on OTP 20.1. I'll test it on more builds throughout the day, but I thought I'd get it into your hands sooner than later.