Go is an open source programming environment that makes it easy to build
simple, reliable, and efficient software.
FreeBSD allows you to install multiple versions of Go at the same time.
As a result, this package installs only versioned binaries (i.e. goXYZ,
gofmtXYZ). To get unversioned names (go, gofmt, etc.) install the "go"
package or the lang/go port.
===> The following configuration options are available for go126-1.26.10:
====> Options available for the single GOAMD64: you have to select exactly one of them
V1=on: Use baseline x86-64 instruction set
V2=off: V1 instructions plus CMPXCHG16B, LAHF, SAHF, POPCNT, SSE*
V3=off: V2 instructions plus AVX*, BMI*, F16C, FMA, LZCNT, MOVBE, OSXSAVE
V4=off: V3 instructions plus AVX512*
===> Use 'make config' to modify these settings
lang/go126: Update to 1.26.9
Changes:
go1.26.9 (released 2026-10-08) includes security fixes to the go
command, and the crypto/tls, html/template, net/http, net/textproto,
and os packages, as well as bug fixes to the compiler, the linker, the
runtime, vet, and the crypto/mlkem, net/http, and os packages.
MFH: 2026Q4
lang/go12*: Update to 1.26.8 and 1.27.1
Changes:
go1.26.8 (released 2026-09-01) includes fixes to cgo, the compiler,
the runtime, and the debug/elf and os packages. See the Go 1.26.8
milestone on our issue tracker for details.
go1.27.1 (released 2026-09-01) includes fixes to cgo, the compiler,
the runtime, the go fix command, and the database/sql, debug/elf,
encoding/json, net/http, os, simd, and simd/archsimd packages. See the
Go 1.27.1 milestone on our issue tracker for details.
lang/go126: Update to 1.26.6
Changes:
go1.26.6 (released 2026-08-13) includes security fixes to the go
command, and the crypto/tls, encoding/asn1, encoding/xml,
html/template, net, net/http, and net/url packages, as well as bug
fixes to the compiler, the linker, the runtime, and the crypto/tls and
os packages.
MFH: 2026Q3
lang/go*: Drop redundant patch
This patch was originally added to lang/go122 and has been copied
forward ever since. It was a backport from the then-unreleased Go 1.23
and was never needed for any other version than 1.22.
lang/go126: Update to 1.26.5
Changes:
go1.26.5 (released 2026-07-07) includes security fixes to the
crypto/tls and os packages, as well as bug fixes to the compiler, the
runtime, the go command, and the net, os, and syscall packages.
MFH: 2026Q3
Reviewed by: adamw
Differential Revision: https://reviews.freebsd.org/D58112
lang/go126: Update to 1.26.4
Changes:
go1.26.4 (released 2026-06-02) includes security fixes to the
crypto/x509, mime, and net/textproto packages, as well as bug fixes to
the compiler, the runtime, the go fix command, and the crypto/fips140
package.
MFH: 2026Q2
Reviewed by: adamw
Differential Revision: https://reviews.freebsd.org/D57407
lang/go126: Update to 1.26.3
Changes:
go1.26.3 (released 2026-05-07) includes security fixes to the go
command, the pack tool, and the html/template, net, net/http,
net/http/httputil, net/mail, and syscall packages, as well as bug
fixes to the go command, the go fix command, the compiler, the
linker, the runtime, and the crypto/fips140, crypto/tls, go/types,
and os packages.
PR: 295109
lang/go126: Update to 1.26.2
Changes:
go1.26.2 (released 2026-04-07) includes security fixes to the go
command, the compiler, and the archive/tar, crypto/tls, crypto/x509,
html/template, and os packages, as well as bug fixes to the go
command, the go fix command, the compiler, the linker, the runtime,
and the net, net/http, and net/url packages. See the Go 1.26.2
milestone on our issue tracker for details.
PR: 294339
MFH: 2026Q2
lang/go126: Update to 1.26.1
Changes:
go1.26.1 (released 2026-03-05) includes security fixes to the
crypto/x509, html/template, net/url, and os packages, as well as bug
fixes to the go command, the go fix command, the compiler, and the
os and reflect packages. See the Go 1.26.1 milestone on our issue
tracker for details.
lang/go126: Add go 1.26
From https://go.dev/doc/go1.26:
The latest Go release, version 1.26, arrives in February 2026, six
months after Go 1.25. Most of its changes are in the implementation
of the toolchain, runtime, and libraries. As always, the release
maintains the Go 1 promise of compatibility. We expect almost all Go
programs to continue to compile and run as before.
There are exciting updates in this new Go minor:
- New Green Tea-based garbage collector that cuts GC overhead by an
observed 10-40%.
- cgo runtime overhead reduced by an observed 30%.
- `go fix` has been rewritten as is now Go's official modernizer. In
particular, it includes all of `go vet`'s heuristics, making it
possible to fix the things that the latter identifies.
- Heap base address is now randomized.
- pprof can now (experimentally) identify leaked goroutines.
- New crypto/hpke package includes support for quantum-vulnerable and
post-quantum hybrid KEMs.