[vbox-dev] 3.2.0beta2/win32/OSE does not build: kmk endless recursion

Knut St. Osmundsen bird at sun.com
Mon May 10 11:39:01 GMT 2010


S. Brandt wrote:
> Hi!
> I'm unable to build the OSE version of the 3.2.0 beta2 (r61317, I'm not sure whether this beta2 has already been replaced).
> 
> Problem: kmk seems to call itself recursively, until memory is exhausted.
> 
> This might have to do with me not using the web service functionality.
> 
> E:/VirtualBox-3.2.0_OSE/src/VBox/Main/webservice/Makefile.kmk:104: VBOX_PATH_GSOAP not found...
> and kmk loops over this and the related messages and make files, until the memory is exhausted.
> 
> No, not web services, taking out
>  include $(PATH_SUB_CURRENT)/webservice/Makefile.kmk
> does not change the situation.
> 
> There is not even an obj/ subdir generated in out/win.x86/release.
> Beta1 did not have this problem.
> 
> Build system unchanged for several VBox versions now.
> Windows XP Pro
> Visual Studio 2005
> DDK 3790.1830 
> DXSDK 2008-08
> PSDK 2003R2
> QT 4.6.2
> MinGW, openssl, curl, SDL, ...
> 
> Full message:
> E:\VirtualBox-3.2.0_OSE>kmk VBOX_ONLY_ADDITIONS=1
> kBuild: Generating E:/VirtualBox-3.2.0_OSE/out/win.x86/release/revision.kmk
> E:/VirtualBox-3.2.0_OSE/out/win.x86/release/revision.kmk.ts matches E:/VirtualBox-3.2.0_OSE/out/win.x86/release/revision
> .kmk - not copied
> kBuild: Generating E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_VERSION_CC            ?= 30303'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_VERSION_CXX           ?= 30303'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_LIBGCC                ?= C:/devel/MinGW5P/bin/../lib/gcc-lib/mingw32/3.3.3/libgcc.a'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-pointer-sign      ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-array_bounds      ?= $(if $(int-ge $(VBOX_GCC_VERSION_CXX),40300),-Wno-array-bounds,)'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wextra                ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wlogical-op           ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-missing-field-initializers?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-pointer-to-int-cast?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-int-to-pointer-cast?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-variadic-macros   ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_Wno-invalid-offsetof  ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_fno-stack-protector   ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_fdiagnostics-show-option ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_mtune-generic         ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_LD_as_needed              ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC_BUGGY_REGPARM         ?= $(int-lt $(VBOX_GCC_VERSION_CC),30400)'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'ifneq ($(VBOX_GCC_VERSION_CC),)'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' ' ifneq ($(int-ge $(VBOX_GCC_VERSION_CC),40000),)'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' '  VBOX_GCC_fvisibility-hidden  ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' ' endif'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'endif'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'ifneq ($(VBOX_GCC_VERSION_CXX),)'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' ' ifneq ($(int-ge $(VBOX_GCC_VERSION_CXX),40000),)'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' '  VBOX_GCC_fvisibility-inlines-hidden ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' ' endif'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'endif'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_PATH_GCC_INCS             ?= '
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC32_VERSION_CC          ?= 30303'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC32_VERSION_CXX         ?= 30303'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC32_LIBGCC              ?= C:/devel/MinGW5P/bin/../lib/gcc-lib/mingw32/3.3.3/libgcc.a'
> kmk_builtin_append 'E:/VirtualBox-3.2.0_OSE/out/win.x86/release/GCCConfig.kmk' 'VBOX_GCC32_Wno-variadic-macros ?= '
> 
> And then on, the messsages repeat forever.
> 

This sounds like a time problem on your system.  Since it looks like
both GCCConfig.kmk and revision.kmk are being updated on each kmk run,
Config.kmk probably has a futuristic timestamp relative to you system
time. "DIR Config.kmk out\win.x86\release\GCCConfig.kmk & TIME" should
easily prove/disprove this theory.


-- 

Kind regards / Mit freundlichen Gruessen / Vennlig hilsen,
  Knut

--

Sun Microsystems GmbH        Knut St. Osmundsen
Werkstrasse 24               Senior Staff Engineer, VirtualBox
71384 Weinstadt, Germany     mailto:bird at sun.com

==================================================
Sitz der Gesellschaft: Sun Microsystems GmbH,
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschäftsführer: Thomas Schroeder, Wolfgang Engels
Vorsitzender des Aufsichtsrates: Martin Haering
==================================================





More information about the vbox-dev mailing list