Skip to content

[release-branch.go1.27] internal/fakecgo: use libthr.so.3 instead of libpthread.so on FreeBSD - #2434

Merged
gdams merged 1 commit into
microsoft/release-branch.go1.27from
dev/gadams/freebsd1.27
Jul 28, 2026
Merged

[release-branch.go1.27] internal/fakecgo: use libthr.so.3 instead of libpthread.so on FreeBSD#2434
gdams merged 1 commit into
microsoft/release-branch.go1.27from
dev/gadams/freebsd1.27

Conversation

@gdams

@gdams gdams commented Jul 28, 2026

Copy link
Copy Markdown
Member

Copilot AI review requested due to automatic review settings July 28, 2026 10:21
@gdams
gdams requested a review from a team as a code owner July 28, 2026 10:21
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Backports an upstream purego-based internal/fakecgo fix into the Microsoft Go vendor patch set so that FreeBSD fakecgo pthread symbol imports resolve against libthr.so.3 (instead of libpthread.so), aligning with FreeBSD’s threading library layout.

Changes:

  • Bumps github.com/microsoft/go-crypto-openssl to a newer pseudo-version that contains the FreeBSD fakecgo change.
  • Updates the vendored fakecgo.lock to the corresponding upstream commit hash (d476432…).
  • Switches FreeBSD //go:cgo_import_dynamic pthread imports from libpthread.so to libthr.so.3.

Patches are happy!

Show a summary per file
File Description
patches/0001-Vendor-external-dependencies.patch Updates the vendor patch to pull in the purego FreeBSD fakecgo change and bumps related module metadata/lockfile entries.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@gdams
gdams enabled auto-merge (squash) July 28, 2026 10:56
@gdams
gdams merged commit cb06b0d into microsoft/release-branch.go1.27 Jul 28, 2026
57 checks passed
@gdams
gdams deleted the dev/gadams/freebsd1.27 branch July 28, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants