[vbox-dev] Announcement: VirtualBox 5.1.24 released

Larry Finger Larry.Finger at lwfinger.net
Fri Jul 21 00:59:07 GMT 2017


On 07/18/2017 06:30 AM, Klaus Espenlaub wrote:
> Hi,
> 
> today Oracle released VirtualBox 5.1.24, a maintenance release of
> VirtualBox 5.1 which improves stability and fixes regressions.
> 
> See the Changelog at
> 
>    https://www.virtualbox.org/wiki/Changelog
> 
> for a complete list of all changes.
> 
> You can download the binaries here:
> 
>    https://www.virtualbox.org/wiki/Downloads

For gcc7 builds for i586, I find the source needs an additional patch:

Index: 
VirtualBox-5.1.22/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/pxe_preboot.c
===================================================================
--- 
VirtualBox-5.1.22.orig/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/pxe_preboot.c
+++ 
VirtualBox-5.1.22/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/pxe_preboot.c
@@ -262,6 +262,7 @@ pxenv_restart_tftp ( struct s_PXENV_TFTP

         /* Restart NBP */
         rmlongjmp ( pxe_restart_nbp, PXENV_RESTART_TFTP );
+       return 0;
  }

  /* PXENV_START_UNDI


Without this patch gcc7 errors with a "non-void function returns a random 
value". Obviously, the compiler does not know how to process that rmlongjmp() 
call; however, adding that extra line has little effect on the object code.

Larry





More information about the vbox-dev mailing list