VirtualBox

Changeset 106594 in vbox


Ignore:
Timestamp:
Oct 23, 2024 12:28:44 AM (5 weeks ago)
Author:
vboxsync
Message:

Main/webservice: Drop the -RTCsu option in debug builds on win.arm64 to prevent fatal compiler error compiling the 34750 line long function in soapC-4.cpp. jiraref:VBP-1171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r106512 r106594  
    224224TEMPLATE_VBoxWebR3Exe_EXTENDS = VBoxR3Exe
    225225TEMPLATE_VBoxWebR3Exe_DEFS.win += WIN32_LEAN_AND_MEAN $(TEMPLATE_VBoxR3Exe_DEFS.win) # Makes the redefinition warnings go away.
    226 TEMPLATE_VBoxWebR3Exe_CXXFLAGS = $(filter-out $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden), \
     226ifn1of ($(KBUILD_TARGET), win)
     227 TEMPLATE_VBoxWebR3Exe_CXXFLAGS = $(filter-out $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden), \
    227228                $(TEMPLATE_VBoxR3Exe_CXXFLAGS))
    228 ifn1of ($(KBUILD_TARGET), win)
    229229 TEMPLATE_VBoxWebR3Exe_CXXFLAGS += $(VBOX_GCC_Wno-misleading-indentation)
     230else if1of ($(KBUILD_TARGET_ARCH), arm64) # RTCsu blows up on arm64 with fatal error C1053: function too big (soapC-4.cpp).
     231 TEMPLATE_VBoxWebR3Exe_PCHFLAGS.debug = $(filter-out -RTC%,$(TEMPLATE_VBoxR3Exe_PCHFLAGS.debug))
     232 TEMPLATE_VBoxWebR3Exe_CXXFLAGS.debug = $(filter-out -RTC%,$(TEMPLATE_VBoxR3Exe_CXXFLAGS.debug))
    230233endif
    231234if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette