microsoft / microsoft/vcpkg

More libraries need to be moved to manual-link.

Open
#5,485 8 comments 1 reaction 3 assignees View on GitHub

@Cheney-W is already working on this.

Since Feb 20, 2024.

category:port-bug
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

libhwloc and boost_unit_test both export `main` symbols. As such, they need to be moved to manual-link.

```
C:\Code\Projects\vcpkg\installed\x64-windows-static\debug\lib\manual-link>(dumpbin boost_unit_test_framework-vc140-mt-gd.lib /symbols | findstr /c:"| main" 2>NUL )
1003 00000590 SECT5 notype () External | main

C:\Code\Projects\vcpkg\installed\x64-windows-static\debug\lib\manual-link>(dumpbin libhwloc.lib /symbols | findstr /c:"| main" 2>NUL )
042 00000000 SECT4 notype () External | main
0A5 00000000 SECT31 notype Static | main$rtcName$0
0A6 00000004 SECT31 notype Static | main$rtcName$1
0A7 00000010 SECT31 notype Static | main$rtcName$2
0A8 0000000C SECT31 notype Static | main$rtcName$3
0A9 00000018 SECT31 notype Static | main$rtcName$4
0AA 00000040 SECT31 notype Static | main$rtcVarDesc
0AB 00000028 SECT31 notype Static | main$rtcFrameData
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.