VirtualBox

Changeset 44473 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 30, 2013 4:37:38 PM (12 years ago)
Author:
vboxsync
Message:

Additions/x11: rework checking missing symbols in the X server drivers and do not accept libc etc. symbols in the XFree86 ones.

Location:
trunk/src/VBox/Additions/x11
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r43588 r44473  
    250250# Check the undefined symbols in the X.Org modules against lists of allowed
    251251# symbols.  Not very elegant, but it will catch problems early.
     252
    252253ifdef VBOX_WITH_TESTCASES
    253254# ifndef VBOX_ONLY_ADDITIONS
     
    264265        $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    265266        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \
    266             "$(vboxmouse_drv_1_STAGE_TARGET)" "$(VBOXMOUSE_SRC_PATH)/undefined" --static
     267            "$(vboxmouse_drv_1_STAGE_TARGET)" --static "$(VBOXMOUSE_SRC_PATH)/undefined"
    267268        $(QUIET)$(APPEND) -t "$@" "done"
    268269     endif
    269270
    270      TESTING += $(vboxmouse_drv_70_0_OUTDIR)/tstvboxmouse70.run
    271      OTHERS += $(vboxmouse_drv_70_0_OUTDIR)/tstvboxmouse70.run
    272 $$(vboxmouse_drv_70_0_OUTDIR)/tstvboxmouse70.run: $$(vboxmouse_drv_70_1_STAGE_TARGET)
    273         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    274         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \
    275             $(vboxmouse_drv_70_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    276         $(QUIET)$(APPEND) -t "$@" "done"
    277 
    278      TESTING += $(vboxmouse_drv_71_0_OUTDIR)/tstvboxmouse71.run
    279      OTHERS += $(vboxmouse_drv_71_0_OUTDIR)/tstvboxmouse71.run
    280 $$(vboxmouse_drv_71_0_OUTDIR)/tstvboxmouse71.run: $$(vboxmouse_drv_71_1_STAGE_TARGET)
    281         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    282         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    283             $(vboxmouse_drv_71_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    284         $(QUIET)$(APPEND) -t "$@" "done"
    285 
    286      TESTING += $(vboxmouse_drv_13_0_OUTDIR)/tstvboxmouse13.run
    287      OTHERS += $(vboxmouse_drv_13_0_OUTDIR)/tstvboxmouse13.run
    288 $$(vboxmouse_drv_13_0_OUTDIR)/tstvboxmouse13.run: $$(vboxmouse_drv_13_1_STAGE_TARGET)
    289         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    290         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \
    291             $(vboxmouse_drv_13_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    292         $(QUIET)$(APPEND) -t "$@" "done"
    293 
    294      TESTING += $(vboxmouse_drv_14_0_OUTDIR)/tstvboxmouse14.run
    295      OTHERS += $(vboxmouse_drv_14_0_OUTDIR)/tstvboxmouse14.run
    296 $$(vboxmouse_drv_14_0_OUTDIR)/tstvboxmouse14.run: $$(vboxmouse_drv_14_1_STAGE_TARGET)
    297         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    298         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \
    299             $(vboxmouse_drv_14_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    300         $(QUIET)$(APPEND) -t "$@" "done"
    301 
    302      TESTING += $(vboxmouse_drv_15_0_OUTDIR)/tstvboxmouse15.run
    303      OTHERS += $(vboxmouse_drv_15_0_OUTDIR)/tstvboxmouse15.run
    304 $$(vboxmouse_drv_15_0_OUTDIR)/tstvboxmouse15.run: $$(vboxmouse_drv_15_1_STAGE_TARGET)
    305         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    306         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    307             $(vboxmouse_drv_15_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    308         $(QUIET)$(APPEND) -t "$@" "done"
    309 
    310      TESTING += $(vboxmouse_drv_16_0_OUTDIR)/tstvboxmouse16.run
    311      OTHERS += $(vboxmouse_drv_16_0_OUTDIR)/tstvboxmouse16.run
    312 $$(vboxmouse_drv_16_0_OUTDIR)/tstvboxmouse16.run: $$(vboxmouse_drv_16_1_STAGE_TARGET)
    313         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    314         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    315             $(vboxmouse_drv_16_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    316         $(QUIET)$(APPEND) -t "$@" "done"
    317 
    318 ifneq ($(KBUILD_TARGET), linux)
    319 
    320      TESTING += $(vboxmouse_drv_17_0_OUTDIR)/tstvboxmouse17.run
    321      OTHERS += $(vboxmouse_drv_17_0_OUTDIR)/tstvboxmouse17.run
    322 $$(vboxmouse_drv_17_0_OUTDIR)/tstvboxmouse17.run: $$(vboxmouse_drv_17_1_STAGE_TARGET)
    323         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    324         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    325             $(vboxmouse_drv_17_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    326         $(QUIET)$(APPEND) -t "$@" "done"
    327 
    328      TESTING += $(vboxmouse_drv_18_0_OUTDIR)/tstvboxmouse18.run
    329      OTHERS += $(vboxmouse_drv_18_0_OUTDIR)/tstvboxmouse18.run
    330 $$(vboxmouse_drv_18_0_OUTDIR)/tstvboxmouse18.run: $$(vboxmouse_drv_18_1_STAGE_TARGET)
    331         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    332         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    333             $(vboxmouse_drv_18_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    334         $(QUIET)$(APPEND) -t "$@" "done"
    335 
    336      TESTING += $(vboxmouse_drv_19_0_OUTDIR)/tstvboxmouse19.run
    337      OTHERS += $(vboxmouse_drv_19_0_OUTDIR)/tstvboxmouse19.run
    338 $$(vboxmouse_drv_19_0_OUTDIR)/tstvboxmouse19.run: $$(vboxmouse_drv_19_1_STAGE_TARGET)
    339         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    340         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    341             $(vboxmouse_drv_19_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    342         $(QUIET)$(APPEND) -t "$@" "done"
    343 
    344      TESTING += $(vboxmouse_drv_110_0_OUTDIR)/tstvboxmouse110.run
    345      OTHERS += $(vboxmouse_drv_110_0_OUTDIR)/tstvboxmouse110.run
    346 $$(vboxmouse_drv_110_0_OUTDIR)/tstvboxmouse110.run: $$(vboxmouse_drv_110_1_STAGE_TARGET)
    347         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    348         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    349             $(vboxmouse_drv_110_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    350         $(QUIET)$(APPEND) -t "$@" "done"
    351 
    352      TESTING += $(vboxmouse_drv_111_0_OUTDIR)/tstvboxmouse111.run
    353      OTHERS += $(vboxmouse_drv_111_0_OUTDIR)/tstvboxmouse111.run
    354 $$(vboxmouse_drv_111_0_OUTDIR)/tstvboxmouse111.run: $$(vboxmouse_drv_111_1_STAGE_TARGET)
    355         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    356         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    357             $(vboxmouse_drv_111_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    358         $(QUIET)$(APPEND) -t "$@" "done"
    359 
    360      TESTING += $(vboxmouse_drv_112_0_OUTDIR)/tstvboxmouse112.run
    361      OTHERS += $(vboxmouse_drv_112_0_OUTDIR)/tstvboxmouse112.run
    362 $$(vboxmouse_drv_112_0_OUTDIR)/tstvboxmouse112.run: $$(vboxmouse_drv_112_1_STAGE_TARGET)
    363         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    364         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    365             $(vboxmouse_drv_112_1_STAGE_TARGET) $(VBOXMOUSE_SRC_PATH)/undefined
    366         $(QUIET)$(APPEND) -t "$@" "done"
    367 
    368 endif # neq ($(KBUILD_TARGET),linux)
     271##
     272# Using the extra expansion to replace $(ver) before eval, thus everything
     273# else needs escaped dollars.
     274     define def_vboxmouse_test
     275      TESTING += $$(vboxmouse_drv$(ver)_0_OUTDIR)/tstvboxmouse$(ver).run
     276      OTHERS  += $$(vboxmouse_drv$(ver)_0_OUTDIR)/tstvboxmouse$(ver).run
     277      $$$$(vboxmouse_drv$(ver)_0_OUTDIR)/tstvboxmouse$(ver).run: $$$$(vboxmouse_drv$(ver)_1_STAGE_TARGET)
     278        $$(QUIET)$$(call MSG_L1,Checking for unresolved symbols in $$<)
     279        $$(QUIET)$$(ASH) $$(PATH_ROOT)/src/bldprogs/checkUndefined.sh $$(KBUILD_HOST)  \
     280                $$(vboxmouse_drv$(ver)_1_STAGE_TARGET) $$(VBOXMOUSE_SRC_PATH)/undefined $$(VBOXMOUSE_SRC_PATH)/undefined_extra
     281        $$(QUIET)$$(APPEND) -t "$$@" "done"
     282    endef
     283
     284     $(foreach ver, _70 _71 _13 _14 _15 _16, $(eval $(def_vboxmouse_test)))
     285
     286     ifneq ($(KBUILD_TARGET), linux)
     287      $(foreach ver, _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxmouse_test)))
     288
     289     endif # neq ($(KBUILD_TARGET),linux)
    369290
    370291    endif # ! VBOX_ONLY_SDK
  • trunk/src/VBox/Additions/x11/vboxmouse/undefined

    r40342 r44473  
    88VErrorF
    99Xalloc
    10 _ITM_registerTMCloneTable
    11 _ITM_deregisterTMCloneTable
    12 _Jv_RegisterClasses
    13 ___errno
    14 __cxa_finalize
    15 __deregister_frame_info_bases
    16 __divdi3
    17 __errno_location
    18 __fxstat64
    19 __gmon_start__
    20 __iob
    21 __moddi3
    22 __register_frame_info_bases
    23 __stack_chk_fail
    24 __udivdi3
    25 __umoddi3
    26 __xstat64
    2710calloc
    2811chdir
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r44471 r44473  
    344344# Check the undefined symbols in the X.Org modules against lists of allowed
    345345# symbols.  Not very elegant, but it will catch problems early.
     346
    346347ifdef VBOX_WITH_TESTCASES
    347348# ifndef VBOX_ONLY_ADDITIONS
     
    352353     VBOXVIDEO_SRC_PATH := $(PATH_SUB_CURRENT)
    353354
    354 if 0
    355 ##
    356 # Using the extra expansion to replace $(ver) before eval, thus everything
    357 # else needs escaped dollars.
    358 define def_vboxvideo_test
    359 TESTING += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
    360 OTHERS  += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
    361 $$$$(vboxvideo_drv_$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run: $$$$(vboxvideo_drv$(ver)_1_STAGE_TARGET)
    362         $$(QUIET)$$(call MSG_L1,Checking for unresolved symbols in $$<)
    363         $$(QUIET)$$(ASH) $$(PATH_ROOT)/src/bldprogs/checkUndefined.sh $$(KBUILD_HOST)  \
    364             $$(vboxvideo_drv$(ver)_1_STAGE_TARGET) $$(VBOXVIDEO_SRC_PATH)/undefined --static
    365         $$(QUIET)$$(APPEND) -t "$$@" "done"
    366 endef
    367 ver :=
    368 $(eval $(def_vboxvideo_test))
    369 $(foreach ver, _70 _71 _13 _14 _15 _16 _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxvideo_test)))
    370 
    371 else  # old
    372 
    373355     ifeq ($(KBUILD_TARGET),linux)
    374356      TESTING += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run
     
    376358$$(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run: $$(vboxvideo_drv_1_STAGE_TARGET)
    377359        $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    378         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    379             $(vboxvideo_drv_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined --static
     360        $(QUIET)$(ASH) $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
     361            $(vboxvideo_drv_1_STAGE_TARGET) --static $(VBOXVIDEO_SRC_PATH)/undefined
    380362        $(QUIET)$(APPEND) -t "$@" "done"
    381363     endif
    382364
    383      TESTING += $(vboxvideo_drv_70_0_OUTDIR)/tstvboxvideo70.run
    384      OTHERS += $(vboxvideo_drv_70_0_OUTDIR)/tstvboxvideo70.run
    385 $$(vboxvideo_drv_70_0_OUTDIR)/tstvboxvideo70.run: $$(vboxvideo_drv_70_1_STAGE_TARGET)
    386         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    387         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    388             $(vboxvideo_drv_70_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    389         $(QUIET)$(APPEND) -t "$@" "done"
    390 
    391      TESTING += $(vboxvideo_drv_71_0_OUTDIR)/tstvboxvideo71.run
    392      OTHERS += $(vboxvideo_drv_71_0_OUTDIR)/tstvboxvideo71.run
    393 $$(vboxvideo_drv_71_0_OUTDIR)/tstvboxvideo71.run: $$(vboxvideo_drv_71_1_STAGE_TARGET)
    394         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    395         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    396             $(vboxvideo_drv_71_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    397         $(QUIET)$(APPEND) -t "$@" "done"
    398 
    399      TESTING += $(vboxvideo_drv_13_0_OUTDIR)/tstvboxvideo13.run
    400      OTHERS += $(vboxvideo_drv_13_0_OUTDIR)/tstvboxvideo13.run
    401 $$(vboxvideo_drv_13_0_OUTDIR)/tstvboxvideo13.run: $$(vboxvideo_drv_13_1_STAGE_TARGET)
    402         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    403         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    404             $(vboxvideo_drv_13_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    405         $(QUIET)$(APPEND) -t "$@" "done"
    406 
    407      TESTING += $(vboxvideo_drv_14_0_OUTDIR)/tstvboxvideo14.run
    408      OTHERS += $(vboxvideo_drv_14_0_OUTDIR)/tstvboxvideo14.run
    409 $$(vboxvideo_drv_14_0_OUTDIR)/tstvboxvideo14.run: $$(vboxvideo_drv_14_1_STAGE_TARGET)
    410         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    411         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    412             $(vboxvideo_drv_14_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    413         $(QUIET)$(APPEND) -t "$@" "done"
    414 
    415      TESTING += $(vboxvideo_drv_15_0_OUTDIR)/tstvboxvideo15.run
    416      OTHERS += $(vboxvideo_drv_15_0_OUTDIR)/tstvboxvideo15.run
    417 $$(vboxvideo_drv_15_0_OUTDIR)/tstvboxvideo15.run: $$(vboxvideo_drv_15_1_STAGE_TARGET)
    418         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    419         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    420             $(vboxvideo_drv_15_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    421         $(QUIET)$(APPEND) -t "$@" "done"
    422 
    423      TESTING += $(vboxvideo_drv_16_0_OUTDIR)/tstvboxvideo16.run
    424      OTHERS += $(vboxvideo_drv_16_0_OUTDIR)/tstvboxvideo16.run
    425 $$(vboxvideo_drv_16_0_OUTDIR)/tstvboxvideo16.run: $$(vboxvideo_drv_16_1_STAGE_TARGET)
    426         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    427         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    428             $(vboxvideo_drv_16_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    429         $(QUIET)$(APPEND) -t "$@" "done"
    430 
    431      TESTING += $(vboxvideo_drv_17_0_OUTDIR)/tstvboxvideo17.run
    432      OTHERS += $(vboxvideo_drv_17_0_OUTDIR)/tstvboxvideo17.run
    433 $$(vboxvideo_drv_17_0_OUTDIR)/tstvboxvideo17.run: $$(vboxvideo_drv_17_1_STAGE_TARGET)
    434         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    435         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    436             $(vboxvideo_drv_17_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    437         $(QUIET)$(APPEND) -t "$@" "done"
    438 
    439      TESTING += $(vboxvideo_drv_18_0_OUTDIR)/tstvboxvideo18.run
    440      OTHERS += $(vboxvideo_drv_18_0_OUTDIR)/tstvboxvideo18.run
    441 $$(vboxvideo_drv_18_0_OUTDIR)/tstvboxvideo18.run: $$(vboxvideo_drv_18_1_STAGE_TARGET)
    442         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    443         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    444             $(vboxvideo_drv_18_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    445         $(QUIET)$(APPEND) -t "$@" "done"
    446 
    447      TESTING += $(vboxvideo_drv_19_0_OUTDIR)/tstvboxvideo19.run
    448      OTHERS += $(vboxvideo_drv_19_0_OUTDIR)/tstvboxvideo19.run
    449 $$(vboxvideo_drv_19_0_OUTDIR)/tstvboxvideo19.run: $$(vboxvideo_drv_19_1_STAGE_TARGET)
    450         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    451         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    452             $(vboxvideo_drv_19_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    453         $(QUIET)$(APPEND) -t "$@" "done"
    454 
    455      TESTING += $(vboxvideo_drv_110_0_OUTDIR)/tstvboxvideo110.run
    456      OTHERS += $(vboxvideo_drv_110_0_OUTDIR)/tstvboxvideo110.run
    457 $$(vboxvideo_drv_110_0_OUTDIR)/tstvboxvideo110.run: $$(vboxvideo_drv_110_1_STAGE_TARGET)
    458         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    459         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    460             $(vboxvideo_drv_110_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    461         $(QUIET)$(APPEND) -t "$@" "done"
    462 
    463      TESTING += $(vboxvideo_drv_111_0_OUTDIR)/tstvboxvideo111.run
    464      OTHERS += $(vboxvideo_drv_111_0_OUTDIR)/tstvboxvideo111.run
    465 $$(vboxvideo_drv_111_0_OUTDIR)/tstvboxvideo111.run: $$(vboxvideo_drv_111_1_STAGE_TARGET)
    466         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    467         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    468             $(vboxvideo_drv_111_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    469         $(QUIET)$(APPEND) -t "$@" "done"
    470 
    471      TESTING += $(vboxvideo_drv_112_0_OUTDIR)/tstvboxvideo112.run
    472      OTHERS += $(vboxvideo_drv_112_0_OUTDIR)/tstvboxvideo112.run
    473 $$(vboxvideo_drv_112_0_OUTDIR)/tstvboxvideo112.run: $$(vboxvideo_drv_112_1_STAGE_TARGET)
    474         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    475         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    476             $(vboxvideo_drv_112_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    477         $(QUIET)$(APPEND) -t "$@" "done"
    478 
    479      TESTING += $(vboxvideo_drv_113_0_OUTDIR)/tstvboxvideo113.run
    480      OTHERS += $(vboxvideo_drv_113_0_OUTDIR)/tstvboxvideo113.run
    481 $$(vboxvideo_drv_113_0_OUTDIR)/tstvboxvideo113.run: $$(vboxvideo_drv_113_1_STAGE_TARGET)
    482         $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    483         $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
    484             $(vboxvideo_drv_113_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
    485         $(QUIET)$(APPEND) -t "$@" "done"
    486 endif # old
     365##
     366# Using the extra expansion to replace $(ver) before eval, thus everything
     367# else needs escaped dollars.
     368     define def_vboxvideo_test
     369      TESTING += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
     370      OTHERS  += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
     371      $$$$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run: $$$$(vboxvideo_drv$(ver)_1_STAGE_TARGET)
     372        $$(QUIET)$$(call MSG_L1,Checking for unresolved symbols in $$<)
     373        $$(QUIET)$$(ASH) $$(PATH_ROOT)/src/bldprogs/checkUndefined.sh $$(KBUILD_HOST)  \
     374                $$(vboxvideo_drv$(ver)_1_STAGE_TARGET) $$(VBOXVIDEO_SRC_PATH)/undefined $$(VBOXVIDEO_SRC_PATH)/undefined_extra
     375        $$(QUIET)$$(APPEND) -t "$$@" "done"
     376    endef
     377
     378    $(foreach ver, _70 _71 _13 _14 _15 _16 _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxvideo_test)))
    487379
    488380    endif # ! VBOX_ONLY_SDK
    489381   endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
    490   endif # eq ($(KBUILD_TARGET),linux)
     382  endif # 1of ($(KBUILD_TARGET),linux solaris)
    491383 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS
    492384# endif # ! VBOX_ONLY_ADDITIONS
  • trunk/src/VBox/Additions/x11/vboxvideo/undefined

    r43253 r44473  
    1919XNFstrdup
    2020Xalloc
    21 _ITM_registerTMCloneTable
    22 _ITM_deregisterTMCloneTable
    23 _Jv_RegisterClasses
    24 ___errno
    25 __cxa_finalize
    26 __deregister_frame_info_bases
    27 __divdi3
    28 __errno_location
    29 __fxstat64
    30 __gmon_start__
    31 __iob
    32 __isoc99_sscanf
    33 __moddi3
    34 __register_frame_info_bases
    35 __stack_chk_fail
    36 __udivdi3
    37 __umoddi3
    38 __xstat64
    3921calloc
    4022chdir
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