rbowler / spinhawk

spinhawk is the repository for the production-quality version (release 3.xx) of the Hercules mainframe virtualization platform
Other
101 stars 42 forks source link

aarch64 support #113

Open K2IE opened 1 month ago

K2IE commented 1 month ago

The configure script does not support aarch64 architecture.

K2IE commented 4 weeks ago

$ sh autogen.sh Note: if you do not see a 'All processing sucessfully completed.' message when this script completes, then something went wrong and you should examine the output to try and determine what it was that went wrong.

aclocal... OK. (25% done) autoheader... OK. (50% done) automake... OK. (75% done) autoconf... OK. (100% done)

All processing sucessfully completed.

You may now run ./configure in order to create a custom Makefile that is suitable for your platform and environment.

$ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/dan/git/spinhawk/autoconf/missing: Unknown --is-lightweight' option Try/home/dan/git/spinhawk/autoconf/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... ./autoconf/config.guess: unable to guess system type

This script, last modified 2003-07-02, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (./autoconf/config.guess) is already up to date, please send the following data and any information you think might be pertinent to config-patches@gnu.org in order to provide the needed information to handle your system.

config.guess timestamp = 2003-07-02

uname -m = aarch64 uname -r = 6.6.51+rpt-rpi-v8 uname -s = Linux uname -v = #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08)

/usr/bin/uname -p = unknown /bin/uname -X =

hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = aarch64 /usr/bin/oslevel = /usr/convex/getsysinfo =

UNAME_MACHINE = aarch64 UNAME_RELEASE = 6.6.51+rpt-rpi-v8 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) configure: error: cannot guess build type; you must specify one $

wrljet commented 4 weeks ago

The problem here is the config.{guess,sub} from the GNU config project is too old to recognize your system (which I'm assuming is a Raspberry Pi?).

You can get newer config.{guess,sub} from GNU config project

Copy those two files into your spinhawk autoconf directory and rerun ./configure.

Bill

K2IE commented 4 weeks ago

This suggestion does resolve the issue. I was able to build on a Raspberry Pi 4.

uname -a

Linux vm370 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux