-
Notifications
You must be signed in to change notification settings - Fork 734
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
Cross compiling fails #277
Comments
rust-lang/cmake-rs#80 seems relevant. |
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this issue
Nov 30, 2019
* Depend on multilib rust, doesn't support rust-bin, see: https://bugs.gentoo.org/701362 * Pass --target to cargo * Build boringssl separately because cargo doesn't cross compile correctly, see: cloudflare/quiche#277 Closes: https://bugs.gentoo.org/701346 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Merged
ghedo
pushed a commit
that referenced
this issue
Dec 3, 2019
Pass 32bit toolchain to cmake for cross-building x86 linux from x86_64 linux. Also CI target is added. Ref: https://github.com/google/boringssl/blob/master/BUILDING.md Fixes #277.
ghedo
pushed a commit
that referenced
this issue
Dec 3, 2019
Pass 32bit toolchain to cmake for cross-building x86 linux from x86_64 linux. Also CI target is added. Ref: https://github.com/google/boringssl/blob/master/BUILDING.md Fixes #277.
ghedo
pushed a commit
that referenced
this issue
Dec 3, 2019
Pass 32bit toolchain to cmake for cross-building x86 linux from x86_64 linux. Also CI target is added. Ref: https://github.com/google/boringssl/blob/master/BUILDING.md Fixes #277.
ghedo
pushed a commit
that referenced
this issue
Dec 3, 2019
Pass 32bit toolchain to cmake for cross-building x86 linux from x86_64 linux. Also CI target is added. Ref: https://github.com/google/boringssl/blob/master/BUILDING.md Fixes #277.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm running an amd64 system trying to cross compile for x86 (which is common for multilib).
Building quiche by running:
cargo build --target=i686-unknown-linux-gnu
results in this build failure:
[snip]
Here's the full build log:
net-libs:quiche-0.1.0:20191127-222131.log
Regardless of the
--target
provided tocargo
, quiche is always building boringssl for the native arch, not the target one.Parameters need to be provided to the boringssl cmake build process so it builds for the cargo provided
--target
arch and not the native arch.The text was updated successfully, but these errors were encountered: