All notable changes to this project will be documented in this file.
- Distribute only 64 bit libraries and binaries
#!/bin/ksh93 | |
set -e | |
DISK=$PWD/qemu-setup/illumos-disk.img | |
POOL=armpool | |
MNT=/mnt | |
ROOTFS=ROOT/braich | |
ROOT=$MNT/$ROOTFS | |
DISKSIZE=8g |
# This file allows any cargo project to cross compile. | |
# Adjust paths to the tools as needed. | |
# place unser .cargo/config inside the project. | |
[target.aarch64-unknown-illumos] | |
linker = "/var/lib/abuild/arm64-gate/build/cross/bin/aarch64-unknown-solaris2.11-gcc" | |
rustflags = [ "-Clink-arg=--sysroot=/var/lib/abuild/arm64-gate/build/sysroot" ] |
See https://gist.github.com/Toasterson/90d19ecf4e0b69cfbcd9566a7c098eb8 for the steps.
The problem seems to come from gcc but I have no clue what could be wrong with aarch_aapcs64.s
error: failed to run custom build command for `psm v0.1.21`
Caused by:
process didn't exit successfully: `/var/lib/abuild/rust/build/x86_64-unknown-illumos/stage1-rustc/release/build/psm-61c9c6ef89c427d5/build-script-build` (exit status: 1)
--- stdout