VirtualBox

Changeset 4864 in vbox for trunk/src


Ignore:
Timestamp:
Sep 17, 2007 6:35:03 PM (17 years ago)
Author:
vboxsync
Message:

Disable optimization for xptcstubs_x86_solaris.cpp as we're SIGSEGV'ing on a 1 pointer somewhere in PrepareAndDispatch. Probably GCC bug. Frame pointers, thank you.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r4847 r4864  
    3636TEMPLATE_XPCOM_CXXFLAGS.l4         = -fno-exceptions -nostdinc
    3737TEMPLATE_XPCOM_CXXFLAGS.linux      = -pthread
     38TEMPLATE_XPCOM_CXXFLAGS.solaris    = -fno-omit-frame-pointer # for now anyway.
    3839TEMPLATE_XPCOM_CFLAGS              = -pipe -Wall -Wno-unused -Wno-parentheses -Wno-uninitialized $(VBOX_GCC_fvisibility-hidden)
    3940TEMPLATE_XPCOM_CFLAGS.debug        = -fno-inline
     
    4243TEMPLATE_XPCOM_CFLAGS.l4           = -nostdinc
    4344TEMPLATE_XPCOM_CFLAGS.linux        = -pthread -ansi
     45TEMPLATE_XPCOM_CFLAGS.solaris      = -fno-omit-frame-pointer # for now anyway.
    4446TEMPLATE_XPCOM_DEFS                = MOZILLA_CLIENT=1 NDEBUG=1 _IMPL_NS_COM \
    4547                                     XPCOM_DLL_BASE=\"$(basename $(notdir $(LIB_XPCOM)))\" \
     
    992994VBox-xpcom-xptcall_SOURCES.solaris.x86 = xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_solaris.cpp \
    993995                                         xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp
     996xpcom/reflect/xptcall/src/md/unix/xptcstubs_x86_solaris.cpp_CXXFLAGS = -O0
     997# -O0 works fine, while -O1 doesn't. The gcc man page can't be listing all the -f*
     998# stuff that -O1 enables, because when using the options without -O1, it's -fomit-frame-pointer
     999# that triggers is, while -O1 -fno-omit-frame-pointer does not work. Anyway, it's probably a gcc/mozila
     1000# bug and it's not worth investigating as I'm not the maintainger of the solaris gcc port. [bird, 2007-09-17]
     1001
    9941002
    9951003VBox-xpcom-proxy_TEMPLATE = XPCOM
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