VirtualBox

Changeset 55044 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 31, 2015 4:37:20 PM (10 years ago)
Author:
vboxsync
Message:

test for unresolved symbols in VMMGC.gc

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r54823 r55044  
    751751
    752752
     753#
     754# Test for undefined symbols.
     755#
     756if1of ($(SYSMODS),VMMRC)
     757 test-undef-rc:: $(PATH_TARGET)/undef-rc.run
     758 OTHERS      += $(PATH_TARGET)/undef-rc.run
     759 CLEANS      += $(PATH_TARGET)/undef-rc.run
     760 $(PATH_TARGET)/undef-rc.run: \
     761                $$(VMMRC_1_TARGET)
     762 ifn1of ($(KBUILD_TARGET), linux solaris)
     763 else
     764        $(call MSG_L1,VMM: Testing for undefined symbols in VMMRC using nm...)
     765        $(QUIET)nm $^  2> /dev/null \
     766                | $(SED) -n \
     767                        -e '/^[0-9a-f][0-9a-f]* [^U] .*/d' \
     768                        -e 's/^[0-9a-f][0-9a-f]* //' \
     769                        -e 's/ *U //' \
     770                        \
     771                        -e '/^g_VM\>/d'\
     772                        -e '/^g_CPUM\>/d'\
     773                        -e '/^g_Logger\>/d'\
     774                        -e '/^g_RelLogger\>/d'\
     775                        -e '/^g_TRPM\>/d'\
     776                        -e '/^g_TRPMCPU\>/d'\
     777                        -e '/^g_pSUPGlobalInfoPage\>/d'\
     778                        -e '/^g_trpmHyperCtxCore\>/d' \
     779                        -e '/^g_trpmGuestCtxCore\>/d' \
     780                        \
     781                        -e 's/\(.*\)$(DOLLAR)/  Undefined symbol: \1/' \
     782                        -e 'p' \
     783                        -e 'q 1'
     784 endif
     785        $(QUIET)$(APPEND) -t $@
     786endif
     787
    753788include $(FILE_KBUILD_SUB_FOOTER)
    754789
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r53902 r55044  
    529529# Some handcrafted support targets for tstAsmStructs.
    530530#
    531 
    532 ifeq ($(KBUILD_HOST),win)
    533  ifndef TOOL_MINGW32
    534   include $(KBUILD_PATH)/tools/MINGW32.kmk
    535  endif
    536  VBOX_NM ?= $(PATH_TOOL_MINGW32)/bin/nm.exe -p
    537 else
    538  VBOX_NM ?= nm -p
    539 endif
    540 
    541531MY_ASA_ASM_STUFF = \
    542532                $(addprefix -D, \
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