Clean up packages, produced by illumos-gate job:
svcadm disable svc:/jenkins:default
cd /jenkins/jobs/illumos-gate/workspace/components/openindiana/illumos-gate/
rm -fr build/i386/pkgre*
rm -fr illumos-gate/packages/i386/nightly*| configure: processing command line | |
| configure: | |
| configure: build.configure-args := ['--prefix=/usr', '--mandir=/usr/share/man', ' ... | |
| configure: install.prefix := /usr | |
| configure: install.mandir := /usr/share/man | |
| configure: install.bindir := /usr/bin | |
| configure: install.libdir := /usr/lib | |
| configure: install.docdir := /usr/share/doc/rust-1.91.1 | |
| configure: install.datadir := /usr/share | |
| configure: build.rustc := /usr/bin/rustc |
| #!/usr/bin/bash | |
| set -ex | |
| ZONE=$1 | |
| IP_ADDRESS_CIDR="${2}/16" | |
| NICNAME="${ZONE}0" | |
| INTERNALSTUB="oinetint0" | |
| GATEWAY="10.1.0.1" | |
| RAM="16G" | |
| VCPUS="8" |
Clean up packages, produced by illumos-gate job:
svcadm disable svc:/jenkins:default
cd /jenkins/jobs/illumos-gate/workspace/components/openindiana/illumos-gate/
rm -fr build/i386/pkgre*
rm -fr illumos-gate/packages/i386/nightly*| static inline void u_thread_setname( const char *name ) | |
| { | |
| #if defined(HAVE_PTHREAD) | |
| #if DETECT_OS_LINUX || DETECT_OS_CYGWIN | |
| int ret = pthread_setname_np(pthread_self(), name); | |
| if (ret == ERANGE) { | |
| char buf[16]; | |
| const size_t len = MIN2(strlen(name), ARRAY_SIZE(buf) - 1); | |
| memcpy(buf, name, len); | |
| buf[len] = '\0'; |
| diff --git a/components/openindiana/gfx-drm/Makefile b/components/openindiana/gfx-drm/Makefile | |
| index 7ab7d7e199..7acd07c379 100644 | |
| --- a/components/openindiana/gfx-drm/Makefile | |
| +++ b/components/openindiana/gfx-drm/Makefile | |
| @@ -20,8 +20,8 @@ COMPONENT_NAME= gfx-drm | |
| COMPONENT_SRC= $(COMPONENT_NAME) | |
| GIT=git | |
| -GIT_REPO=https://github.com/illumos/gfx-drm.git | |
| -GIT_BRANCH=master |
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
| # 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" ] |
| #!/bin/ksh93 | |
| set -e | |
| DISK=$PWD/qemu-setup/illumos-disk.img | |
| POOL=armpool | |
| MNT=/mnt | |
| ROOTFS=ROOT/braich | |
| ROOT=$MNT/$ROOTFS | |
| DISKSIZE=8g |