VirtualBox

Changeset 106683 in vbox for trunk/src/libs


Ignore:
Timestamp:
Oct 25, 2024 10:28:28 AM (3 months ago)
Author:
vboxsync
Message:

/Config.kmk,*.kmk: Changed the LIBS properties on all templates to LATE_LIBS to help solve library ordering issues. Only tested on win.amd64. jiraref:1253

Location:
trunk/src/libs
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.1.7/Config.kmk

    r106538 r106683  
    376376 TEMPLATE_LibCryptoTstExe_CFLAGS = $(filter-out $(VBOX_GCC_PEDANTIC_C), $(TEMPLATE_VBoxR3TstExe_CFLAGS)) $(VBOX_GCC_NON_PEDANTIC_C)
    377377endif
    378 TEMPLATE_LibCryptoTstExe_LIBS    = $(PATH_STAGE_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB) $(TEMPLATE_VBoxR3TstExe_LIBS)
     378TEMPLATE_LibCryptoTstExe_LATE_LIBS = $(PATH_STAGE_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB) $(TEMPLATE_VBoxR3TstExe_LATE_LIBS)
    379379
    380380
  • trunk/src/libs/softfloat-3e/testfloat/Makefile.kmk

    r106061 r106683  
    6262#
    6363TEMPLATE_VBoxTestFloatExe = Template for building SoftFloat-3e programs.
    64 TEMPLATE_VBoxTestFloatExe_EXTENDS = VBoxTestFloat
    65 TEMPLATE_VBoxTestFloatExe_INST    = $(INST_TESTCASE)
    66 TEMPLATE_VBoxTestFloatExe_LIBS    = \
     64TEMPLATE_VBoxTestFloatExe_EXTENDS   = VBoxTestFloat
     65TEMPLATE_VBoxTestFloatExe_INST      = $(INST_TESTCASE)
     66TEMPLATE_VBoxTestFloatExe_LATE_LIBS = \
    6767        $(VBox-TestFloat_1_TARGET) \
    68         $(TEMPLATE_VBoxTestFloat_LIBS)
     68        $(TEMPLATE_VBoxTestFloat_LATE_LIBS)
    6969
    7070# -wd4098: testfloat.c(438): warning C4098: 'subjFunction_az_extF80_rx': 'void' function returning a value
  • trunk/src/libs/xpcom18a4/Config.kmk

    r106535 r106683  
    165165
    166166# When using IPRT in NSRP or/and using IPRT for logging, link with IPRT.
    167 TEMPLATE_XPComDll_LIBS               += $(LIB_RUNTIME)
     167TEMPLATE_XPComDll_LATE_LIBS          += $(LIB_RUNTIME)
    168168
    169169
     
    182182        $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd \
    183183        .
    184 TEMPLATE_XPComExe_LIBS             = \
     184TEMPLATE_XPComExe_LATE_LIBS        = \
    185185        $(VBox-xpcom-ipcshared_1_TARGET) \
    186186        $(VBoxXPCOM_1_TARGET) \
    187         $(TEMPLATE_XPComDll_LIBS)
    188 TEMPLATE_XPComExe_LIBS.freebsd    = $(LIB_PTHREAD)
    189 TEMPLATE_XPComExe_LIBS.linux       = dl $(LIB_PTHREAD)
     187        $(TEMPLATE_XPComDll_LATE_LIBS)
     188TEMPLATE_XPComExe_LATE_LIBS.freebsd = $(LIB_PTHREAD)
     189TEMPLATE_XPComExe_LATE_LIBS.linux  = dl $(LIB_PTHREAD)
    190190TEMPLATE_XPComExe_LDFLAGS.darwin   = -bind_at_load $(filter-out -current_version -compatibility_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD),$(TEMPLATE_XPComDll_LDFLAGS.darwin))
    191191
     
    233233TEMPLATE_XPComBldProg_LDFLAGS.darwin     = $(TEMPLATE_VBoxAdvBldProg_LDFLAGS.darwin)      -fpascal-strings -fshort-wchar -fno-rtti -fno-exceptions
    234234TEMPLATE_XPComBldProg_ORDERDEPS          = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $($(hdrinst)_1_TARGET))
    235 TEMPLATE_XPComBldProg_LIBS.darwin        = \
     235TEMPLATE_XPComBldProg_LATE_LIBS.darwin   = \
    236236        iconv
    237237
     
    255255TEMPLATE_XPComDll-x86_BLD_TRG_ARCH     = x86
    256256TEMPLATE_XPComDll-x86_DEFS             = $(TEMPLATE_XPComDll_DEFS) VBOX_IN_32_ON_64_MAIN_API
    257 TEMPLATE_XPComDll-x86_LIBS             = $(subst $(LIB_RUNTIME),$(VBOX_LIB_RUNTIME_X86),$(TEMPLATE_XPComDll_LIBS))
     257TEMPLATE_XPComDll-x86_LATE_LIBS        = $(subst $(LIB_RUNTIME),$(VBOX_LIB_RUNTIME_X86),$(TEMPLATE_XPComDll_LATE_LIBS))
    258258
    259259
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r106535 r106683  
    764764 TEMPLATE_XPComIpcDll_DEFS           += IPC_LOGGING
    765765endif
    766 TEMPLATE_XPComIpcDll_LIBS             = $(VBoxXPCOM_1_TARGET) $(TEMPLATE_XPComDll_LIBS)
     766TEMPLATE_XPComIpcDll_LATE_LIBS        = $(VBoxXPCOM_1_TARGET) $(TEMPLATE_XPComDll_LATE_LIBS)
    767767ifneq ($(KBUILD_TARGET),win)
    768768 ifeq ($(filter-out solaris.x86 %.amd64 %.sparc32 %.sparc64,$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)),) ## TODO: cleanup!
     
    780780TEMPLATE_XPComIpcDll-x86_EXTENDS      = XPComIpcDll
    781781TEMPLATE_XPComIpcDll-x86_BLD_TRG_ARCH = x86
    782 TEMPLATE_XPComIpcDll-x86_LIBS         = $(VBoxXPCOM-x86_1_TARGET) $(TEMPLATE_XPComDll-x86_LIBS)
     782TEMPLATE_XPComIpcDll-x86_LATE_LIBS    = $(VBoxXPCOM-x86_1_TARGET) $(TEMPLATE_XPComDll-x86_LATE_LIBS)
    783783
    784784TEMPLATE_XPComIpcExe               = XPCOM IPC executables
     
    836836        $(VBox-xpcom-ipcshared_1_TARGET) \
    837837        $(VBoxXPCOM_1_TARGET) \
    838         $(TEMPLATE_XPComDll_LIBS)
     838        $(TEMPLATE_XPComDll_LATE_LIBS)
    839839
    840840
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