-
-
Notifications
You must be signed in to change notification settings - Fork 6.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
[configure][darwin] fix macos11 sysroot required for compiler tests #18931
Conversation
@fuzzard does not work here, sorry. |
This is my configure call: |
Make sure you run ./bootstrap again |
I did. |
9c899b6
to
5164001
Compare
try now. Had the wrong conclusion on the autoconf call requiring the check. edit: actually, this will be better. The previous one would have led to issues come c++17 checking i believe. |
5164001
to
6005a98
Compare
Getting much further with the latest force-push.
|
db5a61b
to
e6500db
Compare
Give this latest update a whirl @ksooo Jenkins build this please |
649a37b
to
3eaa964
Compare
Jenkins build this please |
Hmm, ...
|
That's a curl failure to download properly. Unrelated to any changes. Try remove the partial tarball and run again |
OKay, now I get while linking python3...
|
Can you run bootstrap+configure again for.me and paste the output of the configure command. Looks like it's not detecting linkage of iconv. It was handling it in my latest test case, but I've force pushed a couple times yesterday |
|
3eaa964
to
86a613a
Compare
refactoring bites me in the ass. Hopefully this should work this time. |
86a613a
to
288a379
Compare
Jenkins build this please |
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.
Tested. Works now. Thank you.
macos 11 throws a linker error when running autoconf compiler/linker checks we need to supply isysroot, however we do not want to pollute CFLAGS/CXXFLAGS/LDFLAGS to permanently have host sysroot, as flags are carried through into platform_XXflags for crosscompilation
288a379
to
23ac152
Compare
jenkins build this please |
1 similar comment
jenkins build this please |
Description
Depends build fix with MacOS 11 host
@ksooo @phunkyfish give this a run if you have time.
Motivation and Context
macos11 throws a linker error when running autoconf compiler/linker tests
we need to supply isysroot, however we do not want to pollute CFLAGS/CXXFLAGS/LDFLAGS with host/target sysroot,
So we clean up after the tests are carried out
How Has This Been Tested?
Locally against target macos and tvos
Screenshots (if appropriate):
Types of change
Checklist: