Skip to content

[Windows] libpthread missing exports, so I can not link #42194

Closed
@ctaggart

Description

@ctaggart

I posted How do I use a different libstdc++.a with Rust?, but after some more debugging, it looks like libpthread doesn't have any exports. Why doesn't it?

dumpbin /exports "C:\Users\camer\.rustup\toolchains\nightly-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libpthread.a"

I was expecting it to have exports like other libraries in the directory do:

dumpbin /exports "C:\Users\camer\.rustup\toolchains\nightly-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libcrypt32.a"

I was expecting it to have the same exports as other libpthread libraries:

dumpbin /exports "C:\Octave\Octave-4.2.1\lib\libpthread.dll.a"

Looking around at the issues here, it looks like it may be related to:

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: WindowsO-windows-gnuToolchain: GNU, Operating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions