-
Notifications
You must be signed in to change notification settings - Fork 844
Enables cross-compiling #7786
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
Enables cross-compiling #7786
Conversation
|
my testing consisted of cross-compiling on x86_64 macOS targeting arm64. To test targeting arm64 macOS on x86_64 host, you'll need to build OpenSSL and PCRE (at minimum). I installed my dependencies under For PCRE: For OpenSSL: The environment vars I set along with the host value in testing: (I'm not saying those are required, I just tested with those). This might've addressed some of the issues described in #7754 |
518728c to
2612407
Compare
|
I am getting this error when running configure: |
|
I will take a look at this again. |
1aef416 to
d5b9929
Compare
These changes allow for CompileParseRules to be built and run on host architecture along with cleaning up automake macros that previously prevented crosscompliation
d5b9929 to
624ad51
Compare
| EXEEXT_FOR_BUILD="" | ||
| test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} | ||
| fi | ||
| AC_SUBST(EXEEXT_FOR_BUILD)])dnl |
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.
Any reason for the trailing "dnl"?
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.
That's what's in the upstream repo.
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4
SolidWallOfCode
left a comment
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.
This builds cleanly for me.
|
[approve ci] |
These changes allow for CompileParseRules to be built and run on host architecture along with cleaning up automake macros that previously prevented crosscompliation (cherry picked from commit 852d90d)
|
Cherry-picked to v9.2.x |
* asf/9.2.x: Updated ChangeLog Updated ChangeLog Fix missing unique_lock definition. (apache#8680) Enables crosscompling of ATS (apache#7786) Fix test_QUIC unit test builds. (apache#8678) (apache#8691) Fix Clang 13.0.1 and GCC 12.0.1 Compiler Warnings (apache#8690) url_sig: fix bad cast to pointer of different type (apache#8505)
These changes allow for CompileParseRules to be built and run on host
architecture along with cleaning up automake macros that previously
prevented cross-compilation