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
Compiling on macOS 12.0 Monterey fails #7657
Comments
I know this is a macOS pre-release, so you can close this if you expect the final release to be unaffected. |
For all we know that might just as well be a compiler/tool set problem right? |
Yeah, it could be anything. Although I am using the latest versions of all parts. |
Still, without a better identification of what the problem is I don't know what we can do. The exact same code builds on a huge amount of platforms and compilers without that problem. |
Assuming it was built from source using
This was using ld64-710.1 from Xcode 13 beta 4. Running the same command with ld64-650.9 from Xcode 12 works fine (only emitting the hidden symbol warning). Same with using Xcode 12 for the entire build. |
|
RfidResearchGroup/proxmark3#1485 Those links suggest that the packed attribute might be related (arm64 instead of amd64 but same toolchain). |
Did they ship any updated tools? Does this problem remain? If this is a toolset problem, shouldn't this problem also be visible in other projects? Anyone seen that? |
I saw it when compiling https://github.com/Snaipe/Criterion/ |
They didn't ship updated tools yet, the problem remains |
FWIW, I just installed the Monterey RC + Xcode 13.1 RC on my M1 Mac, updated the command line tools, downloaded the latest curl source code, made a new configure script, and did this:
And it built and ran correctly, with or without the |
The issue only affects x86_64. |
The change in 20e980f is odd, it changes the type of |
How it is now matches how Heimdal (the implementation Apple use) and krb5 implementations do it: https://opensource.apple.com/source/Heimdal/Heimdal-597.140.2/lib/gssapi/mech/gss_oid.c.auto.html |
Thanks for the examples. I'm surprised it ever worked before then. |
It worked just fine before too. In the old code: static char spnego_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
gss_OID_desc Curl_spnego_mech_oid = { 6, &spnego_oid_bytes }; The The difference now being that the xcode tools don't go nuts on this version. |
I did this
After discovering that the Homebrew build (on 11.0) curl was very slow when running
curl --version
I tried reinstalling curl from source. This failed with the following error:I expected the following
A successful build, as it would on macOS 11.0.
curl/libcurl version
curl: stable 7.78.0
operating system
The text was updated successfully, but these errors were encountered: