[vbox-dev] Virtualbox build failure with gcc 5-20150205 [partial PATCH included]

Frank Mehnert frank.mehnert at oracle.com
Mon Apr 13 06:52:45 GMT 2015


Hi Gianfranco,

On Wednesday 08 April 2015 11:17:44 Gianfranco Costamagna wrote:
> >> 3) a build failure that goes away without the "-O" flag, but needs to be
> >> fixed :) (I do not have time/knowledge/resources to properly fix this)
> >> 
> >> [...]
> >> /virtualbox-4.3.22-dfsg/src/libs/xpcom18a4/xpcom/reflect/xptcall/src/md/u
> >> ni
> >> x/xptcinvoke_x86_64_linux.cpp:211:1: error: unable to find a register to
> >> spill }
> >> ^
> >> [...]
> >
> >That one will be more complicated and so far it looks to me like a
> >regression in gcc.
> 
> Since this was the latest showstopper for gcc-5 building I opened a ticket
> on gcc bugtracker.
> 
> In less than *two* hours (I have never seen such efficiency) they bisected
> the source and found the responsible commit
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65693
> https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=218248
> 
> I hope to see a patch in the coming hours :)

I was able to build the most recent VirtualBox sources using gcc-5 20150410
from Debian experimental without applying any further patches. A few days
ago we fixed a couple of warnings in the VirtualBox source code (see for
example r55192).

I hesitate to change the configure script to allow gcc-5 as compiler for now,
maybe we do this for the final 5.0 release.

Frank
-- 
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher




More information about the vbox-dev mailing list