Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
I can see Ubuntu provides the iso image of Virtualbox guest addition but when I try to build it from the source code on an arm64 machine, it fails. Am I missing anything?
ubuntu@1pthunderx1-137:~/virtualbox-guest-additions/src/VirtualBox-6.1.6$ ./configure --nofatal --disable-dbus --disable-xpcom --disable-sdl-ttf --disable-pulse --disable-alsa --disable-kmods --build-headless
Checking for environment: ** Cannot determine system!
I made some fixes and went ahead. Now, the code stuck in include/iprt/cdefs.h:
error "Architecture identifier missing / not implemented."
Need to find the value of RT_VALID_PTR in the case of arm64.
ubuntu@1pthunderx1-137:~/virtualbox-guest-additions/src/VirtualBox-6.1.6$ ./configure --nofatal --disable-dbus --disable-xpcom --disable-sdl-ttf --disable-pulse --disable-alsa --disable-kmods --build-headless
Checking for environment: ** Cannot determine system!
I made some fixes and went ahead. Now, the code stuck in include/iprt/cdefs.h:
error "Architecture identifier missing / not implemented."
Need to find the value of RT_VALID_PTR in the case of arm64.
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
Where did you get the idea that anything from VirtualBox would work with ARM?
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
I have seen the virtualbox-guest-additions-iso binary package in Ubuntu arm64. I can also install it on arm64 machine by "sudo apt-get install virtualbox-guest-additions-iso".
Could you tell what is the use of this package?
Could you tell what is the use of this package?
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
Ask Ubuntu - they include a fork of the GAs in the Ubuntu standard distro for reasons of their own. I imagine the source code contains lots of thing that aren't needed on ARM64.
And to be clear: VirtualBox is a virtualization supervisor, not a CPU simulator. An ARM64 doesn't even have those features to supervise, besides having a completely different instruction set and architecture.
And to be clear: VirtualBox is a virtualization supervisor, not a CPU simulator. An ARM64 doesn't even have those features to supervise, besides having a completely different instruction set and architecture.
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
We are trying to port the available source code for Virtualbox-guest-additions on arm64. Are there some virtualization concepts due to which it's not possible? Are we missing anything?
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
What benefits do you expect from the VirtualBox Guest Additions on arm64 when VirtualBox itself doesn't work on ARM?
You cannot run VirtualBox on ARM and therefore also no VirtualBox with an guest os built for ARM.
You cannot run VirtualBox on ARM and therefore also no VirtualBox with an guest os built for ARM.
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
Why is it not possible to port VirtualBox on arm64? Is it because of some virtualization concepts?
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
It is a virtualizer which passes through directly the Intel/AMD CPU commands to the host. It isn't a simulator which would simulate an ARM CPU for a guest.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
You need to go do some basic research: a CPU simulator is an ENTIRELY DIFFERENT THING from a virtualizer, and VirtualBox is a virtualizer. You need a CPU simulator to run Intel code on an ARM, because those CPUs have incompatible architectures. That means you need something that is not VirtualBox.Jhankar wrote:Why is it not possible to port VirtualBox on arm64? Is it because of some virtualization concepts?
To be clear: ignoring a few assembler modules that may exist, it should be possible to compile and link VirtualBox for ARM64, but it will do nothing useful, because VirtualBox is a tool which manages certain features of Intel/AMD processors.
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
What are those Intel/Amd specific commands/features through which Virtualizer passes?Martin wrote:It is a virtualizer which passes through directly the Intel/AMD CPU commands to the host. It isn't a simulator which would simulate an ARM CPU for a guest.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Build failure of VirtualBox Guest additions on arm64 machine with Ubuntu
Why do I get the feeling that we're being trolled? The question has now been asked and answered multiple times in multiple ways, so I'm going to lock this topic.
If you still want to know what a hypervisor does, here's a good starting point start: https://en.wikipedia.org/wiki/Hardware_virtualization.
If you still want to know what a hypervisor does, here's a good starting point start: https://en.wikipedia.org/wiki/Hardware_virtualization.