DynamoRIO / DynamoRIO/dynamorio

shrink the number of 64-bit build warnings

Open
#1,422 2 comments 0 reactions 0 assignees View on GitHub
Component-Build good first issue help wanted Migrated OpSys-Windows OpSys-x64 Priority-Medium Type-Feature
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on April 10, 2014 12:30:01_

With VS2013 the number of warnings crosses a threshold and we get:

WARNING: maximum warning/error limit hit for debug-internal-64!
Manually verify whether it succeeded.

```
134 Warning(s)^M
0 Error(s)^M
```

In the build log, some samples:
ntdll_imports.obj : warning LNK4197: export 'KiUserApcDispatcher' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]

LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:REF' specification [D:\derek\dr\build_suite\

The xml has most warnings from issue #938 :
ntdll_imports.obj : warning LNK4197: export 'NtCancelIoFile' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtCreateProfile' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtSetIntervalProfile' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtQueryIntervalProfile' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtStartProfile' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtStopProfile' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtCreateProcess' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtTerminateProcess' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtCreateDirectoryObject' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
ntdll_imports.obj : warning LNK4197: export 'NtOpenDirectoryObject' specified multiple times; using first specification [D:\derek\dr\build_suite\build_debug-internal-64\core\ntimp_tgt.vcxproj]
The maximum number of reported warnings or errors has been reached!!!

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1422_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.