-
Notifications
You must be signed in to change notification settings - Fork 142
erlang 23.3.4.20 #1413
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
base: master
Are you sure you want to change the base?
erlang 23.3.4.20 #1413
Conversation
|
Thanks for working on this.
Took 76 minutes on a 1.33Ghz PowerBook G4 with GCC 4.0.1 on Tiger. |
|
Ok, I hit the issue on Leopard when attempting to build it with GCC 4.2. hmm, reattempting with ld64 added as build dep. |
Interesting - when I was building this a few weeks ago, what I ran into was that Leopard Intel and Snow Leopard Intel needed GCC 4.4, but that other versions could actually build with the OS-default GCC or GCC 4.4. My notes on that are here jcgraybill#1 (comment). Let me try doing a cleaner run of builds on that now, to see if that still holds. I also tried But since it's off by default, it looks like it still depends on FIPS symbols even if support is disabled? |
|
Indeed, as you reported,
|
Yes, I get the impression the function was used for detecting if FIPS was available. |
Looks like you built with GCC 4.2 via apple-gcc42. Either unlink or uninstall apple-gcc42 or pass
Yep, though I shared the error when it comes to linking, it warns when building |
|
I was able to bodge past the issue on 10.5 by initialising a bunch of variables and GCC 4.2 was happy to compile Looks like there's a different issue on 10.6 with the same file ( |
Nice! I don't know whether the HiPE issue is HiPE-specific, or is symptomatic of a broader incompatiblity in |
🤦🏻♂️ Looks like I was moving too fast there. Indeed, without apple-gcc42, |
I think my change was the culprit since invoking |
|
Oh, and I had meant to answer this:
Tiger PowerPC: |
Hi @mistydemeo and @sevan,
I've been looking at which versions of
erlang, and packages that use it, run on old Mac OS X versions. The conclusion is that it would be possible to upgrade Tigerbrew'serlangto 23.3.4.20 - which is a patch release from March 2024. (Erlang 23 itself was released in 2020).Here's a PR for that version. It also removes some build options and config flags that aren't used any longer. This version of
erlangmust be built with at leastgcc-4.4, and tbh I'm not sure I specified that in the right way in this formula.Offering this version would mean some tradeoffs in support of packages that use
erlang. Several can or must be upgraded themselves to newer versions to stay compatible. Some projects that stopped receiving patches a long time ago have no compatible version available, and would need to be deprecated. On the other hand, support increased for things likerabbitmq. It's possible that this would enable adding a Gleam package to Tigerbrew, but I haven't looked into that too deeply.I'll submit an accompanying draft PR that includes the best updates I've been able to find for everything that uses
erlang. If you decide to merge thiserlangversion upgrade, I'll be happy to submit each of those as individual follow-on PRs.