Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix dotnet exe on FreeBSD 12 - #5072

Merged
wfurt merged 1 commit into
dotnet:masterfrom
josteink:ld_freebsd
Feb 4, 2019
Merged

wfurt merged 1 commit into
dotnet:masterfrom
josteink:ld_freebsd

Conversation

@josteink

@josteink josteink commented Feb 1, 2019

Copy link
Copy Markdown
Member

As mentioned in this comment, the dotnet exe-file does not work on FreeBSD 12 unless provided explicit linker help at runtime.

Linking pthread when building the binary (like we do on Linux) should probably help fix this issue.

Link pthread in resulting binary.

@janvorli janvorli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@wfurt wfurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well.

@wfurt
wfurt merged commit 5b37f4d into dotnet:master Feb 4, 2019
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants