-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[openssl] Build error with arm64-linux triplet #29674
Comments
Please check if this is still an issue. #27261 was merged two days ago. It significantly changed the build for non-windows targets, and it has |
This is still an issue for me with the latest master. I still have this problem with the |
Can you share your version of these lines from CROSS_COMPILE=
CC=$(CROSS_COMPILE)/home/dg0yt/bin/aarch64-linux-gnu-gcc
CXX=$(CROSS_COMPILE)/home/dg0yt/bin/aarch64-linux-gnu-g++ and from
|
buildtrees/openssl/arm64-linux-dbg/Makefile:
buildtrees/openssl/cmake-get-vars-arm64-linux-dbg.cmake.log:
The CROSS_COMPILE variable should be empty but isn't |
|
The |
### Rationale for this change - #34818 pinned vcpkg to a non-release master branch commit. - This was to include unreleased changes, specifically microsoft/vcpkg#29674. ### What changes are included in this PR? This pins vcpkg to the official 2023.04.15 release (commit microsoft/vcpkg@501db0f) ### Are these changes tested? I've successfully test that the following local wheel builds succeed: ```bash $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2014 $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2-28 ``` ### Are there any user-facing changes? I don't believe so * Closes: #35099 Authored-by: Simon Perkins <simon.perkins@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…pache#35430) ### Rationale for this change - apache#34818 pinned vcpkg to a non-release master branch commit. - This was to include unreleased changes, specifically microsoft/vcpkg#29674. ### What changes are included in this PR? This pins vcpkg to the official 2023.04.15 release (commit microsoft/vcpkg@501db0f) ### Are these changes tested? I've successfully test that the following local wheel builds succeed: ```bash $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2014 $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2-28 ``` ### Are there any user-facing changes? I don't believe so * Closes: apache#35099 Authored-by: Simon Perkins <simon.perkins@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…pache#35430) ### Rationale for this change - apache#34818 pinned vcpkg to a non-release master branch commit. - This was to include unreleased changes, specifically microsoft/vcpkg#29674. ### What changes are included in this PR? This pins vcpkg to the official 2023.04.15 release (commit microsoft/vcpkg@501db0f) ### Are these changes tested? I've successfully test that the following local wheel builds succeed: ```bash $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2014 $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2-28 ``` ### Are there any user-facing changes? I don't believe so * Closes: apache#35099 Authored-by: Simon Perkins <simon.perkins@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…pache#35430) ### Rationale for this change - apache#34818 pinned vcpkg to a non-release master branch commit. - This was to include unreleased changes, specifically microsoft/vcpkg#29674. ### What changes are included in this PR? This pins vcpkg to the official 2023.04.15 release (commit microsoft/vcpkg@501db0f) ### Are these changes tested? I've successfully test that the following local wheel builds succeed: ```bash $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2014 $ ARCH=amd64 PYTHON=3.10 archery docker run python-wheel-manylinux-2-28 ``` ### Are there any user-facing changes? I don't believe so * Closes: apache#35099 Authored-by: Simon Perkins <simon.perkins@gmail.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Host Environment
To Reproduce
Steps to reproduce the behavior:
docker build -t openssl-vcpkg-crosscompile:latest .
Failure logs
install-arm64-linux-dbg-out.log :
config-arm64-linux-out.log:
Additional context
For an unknown reason, it seems that
gcc
gets replaced with/usr/bin/aarch64-linux-gnu-gcc
, which results in this error:/bin/sh: 1: aarch64-linux-gnu-/usr/bin/aarch64-linux-gnu-gcc: not found
Edit: In the port Unix/CMakeLists.txt I added
"--cross-compile-prefix=\"\""
to the flags for thePerl configure
custom command and now it works. I think this is a platform problem because I didn't have that problem with an ubuntu based docker image. Feel free to close if you agree.The text was updated successfully, but these errors were encountered: