- 時間撮記:
- 2013-1-30 下午04:37:38 (12 年 以前)
- 位置:
- trunk/src
- 檔案:
-
- 新增 2 筆資料
- 修改 5 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r43588 r44473 250 250 # Check the undefined symbols in the X.Org modules against lists of allowed 251 251 # symbols. Not very elegant, but it will catch problems early. 252 252 253 ifdef VBOX_WITH_TESTCASES 253 254 # ifndef VBOX_ONLY_ADDITIONS … … 264 265 $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<) 265 266 $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \ 266 "$(vboxmouse_drv_1_STAGE_TARGET)" "$(VBOXMOUSE_SRC_PATH)/undefined" --static267 "$(vboxmouse_drv_1_STAGE_TARGET)" --static "$(VBOXMOUSE_SRC_PATH)/undefined" 267 268 $(QUIET)$(APPEND) -t "$@" "done" 268 269 endif 269 270 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) 369 290 370 291 endif # ! VBOX_ONLY_SDK -
trunk/src/VBox/Additions/x11/vboxmouse/undefined
r40342 r44473 8 8 VErrorF 9 9 Xalloc 10 _ITM_registerTMCloneTable11 _ITM_deregisterTMCloneTable12 _Jv_RegisterClasses13 ___errno14 __cxa_finalize15 __deregister_frame_info_bases16 __divdi317 __errno_location18 __fxstat6419 __gmon_start__20 __iob21 __moddi322 __register_frame_info_bases23 __stack_chk_fail24 __udivdi325 __umoddi326 __xstat6427 10 calloc 28 11 chdir -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r44471 r44473 344 344 # Check the undefined symbols in the X.Org modules against lists of allowed 345 345 # symbols. Not very elegant, but it will catch problems early. 346 346 347 ifdef VBOX_WITH_TESTCASES 347 348 # ifndef VBOX_ONLY_ADDITIONS … … 352 353 VBOXVIDEO_SRC_PATH := $(PATH_SUB_CURRENT) 353 354 354 if 0355 ##356 # Using the extra expansion to replace $(ver) before eval, thus everything357 # else needs escaped dollars.358 define def_vboxvideo_test359 TESTING += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run360 OTHERS += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run361 $$$$(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 --static365 $$(QUIET)$$(APPEND) -t "$$@" "done"366 endef367 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 # old372 373 355 ifeq ($(KBUILD_TARGET),linux) 374 356 TESTING += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run … … 376 358 $$(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run: $$(vboxvideo_drv_1_STAGE_TARGET) 377 359 $(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 --static360 $(QUIET)$(ASH) $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \ 361 $(vboxvideo_drv_1_STAGE_TARGET) --static $(VBOXVIDEO_SRC_PATH)/undefined 380 362 $(QUIET)$(APPEND) -t "$@" "done" 381 363 endif 382 364 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))) 487 379 488 380 endif # ! VBOX_ONLY_SDK 489 381 endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH)) 490 endif # eq ($(KBUILD_TARGET),linux)382 endif # 1of ($(KBUILD_TARGET),linux solaris) 491 383 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS 492 384 # endif # ! VBOX_ONLY_ADDITIONS -
trunk/src/VBox/Additions/x11/vboxvideo/undefined
r43253 r44473 19 19 XNFstrdup 20 20 Xalloc 21 _ITM_registerTMCloneTable22 _ITM_deregisterTMCloneTable23 _Jv_RegisterClasses24 ___errno25 __cxa_finalize26 __deregister_frame_info_bases27 __divdi328 __errno_location29 __fxstat6430 __gmon_start__31 __iob32 __isoc99_sscanf33 __moddi334 __register_frame_info_bases35 __stack_chk_fail36 __udivdi337 __umoddi338 __xstat6439 21 calloc 40 22 chdir -
trunk/src/bldprogs/checkUndefined.sh
r43257 r44473 15 15 # 16 16 # Compare undefined symbols in a shared or static object against a new-line 17 # separated list of grep patterns in a text file. 17 # separated list of grep patterns in a set of text files and complain if 18 # symbols are found which aren't in the files. 18 19 # 19 # Usage: /bin/sh <script name> <object> <allowed undefined symbols> [--static]20 # Usage: /bin/sh <script name> <object> [--static] <undefined symbol file...> 20 21 # 21 # Currently only works for native objects on Linux platforms22 # Currently only works for native objects on Linux (and Solaris?) platforms. 22 23 # 23 24 … … 27 28 } 28 29 29 hostos=$1 30 target=$2 31 symbols=$3 32 static=$4 33 34 if test $# -lt 3 || test $# -gt 4 || test ! -r "$target" || test ! -r "$symbols"; then 35 if test ! -r "$target"; then 36 echoerr "$0: '$target' not readable" 37 elif test ! -r "$symbols"; then 38 echoerr "$0: '$symbols' not readable" 39 else 40 echoerr "$0: Wrong number of arguments" 41 fi 42 args_ok="no" 30 hostos="${1}" 31 target="${2}" 32 shift 2 33 if test "${1}" = "--static"; then 34 static="${1}" 35 shift 43 36 fi 44 37 45 if test $# -eq 4 && test "$static" != "--static"; then 46 args_ok="no" 38 if test $# -lt 1; then 39 echoerr "${0}: Wrong number of arguments" 40 args_ok="no" 47 41 fi 42 if test ! -r "${target}"; then 43 echoerr "${0}: '${target}' not readable" 44 args_ok="no" 45 fi 46 for i in "${@}"; do 47 if test ! -r "${i}"; then 48 echoerr "${0}: '${i}' not readable" 49 args_ok="no" 50 fi 51 done 48 52 49 53 if test "$args_ok" = "no"; then 50 echoerr "Usage: $0 <object> <allowed undefined symbols> [--static]"54 echoerr "Usage: $0 <object> [--static] <undefined symbol file...>" 51 55 exit 1 52 56 fi … … 68 72 fi 69 73 70 if test ! -x "$ objdumpbin"; then71 echoerr "$ 0: '$objdumpbin' not found or not executable."74 if test ! -x "${objdumpbin}"; then 75 echoerr "${0}: '${objdumpbin}' not found or not executable." 72 76 exit 1 73 77 fi 74 78 75 undefined=`$objdumpbin $command $target | $grepbin '*UND*' | $grepbin -v -f $symbols | kmk_sed -e 's/^.*[[:blank:]]\(.*\)/\1/'` 79 undefined=`"${objdumpbin}" ${command} "${target}" | kmk_sed -n 's/.*\*UND\*.*\s\([:graph:]*\)/\1/p'` 80 for i in "${@}"; do 81 undefined=`echo "${undefined}" | "${grepbin}" -v -f "${i}"` 82 done 76 83 num_undef=`echo $undefined | wc -w` 77 84 78 85 if test $num_undef -ne 0; then 79 echoerr "$ 0: following symbols not defined in $symbols:"80 echoerr "$ undefined"86 echoerr "${0}: following symbols not defined in the files ${@}:" 87 echoerr "${undefined}" 81 88 exit 1 82 89 fi
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器