[haiku-development] Re: porting to ARM is a bloody thing

  • From: "Lizbeth Mutterhunt, PhD" <lizbethmutterhunt@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 01 Feb 2021 11:23:12 +0100

Op Montag, 1. Februar 2021 01:01:36 CET schreef Alexander von Gluck IV:

January 31, 2021 3:40 AM, "Lizbeth Mutterhunt, PhD" 
<lizbethmutterhunt@xxxxxxxxx> wrote:
I tried here with an old Vostro 131 by Dell on freeBSD and Virtualbox on,
but after some hours it just breaks down, returning to the Boxes site.
It's going to configure until the gcc/gmp somewhere but with different
reasons for crashing. I tried qemu too, but as not having kvm on freeBSD
it's useless and takes 25 minutes just to boot once.

Plan was to port it for the RasperryPi 4B but I guess we'd be happy if the
Raspi3B does!

So man, do something to make it more stable in virtualization
environments!

after some hours it just breaks down, returning to the Boxes site

I honestly have no idea what you're doing.

It's going to configure until the gcc/gmp somewhere but with different
reasons for crashing.

Could you detail these "crashing"?

I tried qemu too, but as not having kvm on freeBSD it's useless and
takes 25 minutes just to boot once.

This is a FreeBSD limitation and really has nothing to do with us :-)
No, it's the "normal" hyper-v option in the kernel to be compiled into; it was 
the 32bit image I tried out recently but it's this slow when going into grafic 
mode that it wouldn't count. 


I'm having some difficulty translating the above, however I think you're
trying to emulate Haiku with no hardware acceleration (kvm) under
FreeBSD?
No, BSD decided not to take KVM at all as we are having our bhyve as you 
clearly said and of course the XEN-kernel not running because of lack of vt-d 
of my processor (intel celeron)


Haiku (or any operating system) will run *SLOW* without hardware
acceleration.
it's not without acceleration at qemu but nearly as we have still the 
TCV-"accelerator". this is why I decided for VirtualBox; in linux kvm 
supported virtual machines are a dream concerning speed and operationability. 

kvm is mostly a Linux thing and doesn't apply to FreeBSD as far as I know.
You might be looking for this...

https://wiki.freebsd.org/bhyve

Am I step forward now, have to compile it via freeBSD not inside the VM with 
Haiku; going to the point mentioned, here once again:

checking if Link Time Optimisation flag '-flto' is supported...... yes
checking if Link Time Optimisation works with AR=ar... no
checking if Link Time Optimisation works with AR=gcc-ar... no
configure: error: Link Time Optimisation is not supported (see config.log for 
details).
gmake[1]: *** [Makefile:5142: configure-mpfr] Fout 1
gmake[1]: *** Wachten op onvoltooide taken...
config.status: executing libtool commands
config.status: executing include/isl/stdint.h commands
config.status: creating include/isl/stdint.h : _ISL_INCLUDE_ISL_STDINT_H
config.status: executing isl.pc commands
config.status: creating isl.pc.in
config.status: creating isl.pc
config.status: creating isl-uninstalled.pc
config.status: creating isl-uninstalled.sh
gmake[1]: Map '/usr/home/lizbeth/haiku/generated.arm/cross-tools-arm-build/
gcc' wordt verlaten
gmake: *** [Makefile:908: all] Fout 2
ERROR: Building gcc failed.

I installed jam and isl but no difference also with other compile options. 
 
 -- Alex
Lizbeth




Other related posts: