Bug 8060 - Go compiler
Summary: Go compiler
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Build system (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
Depends on:
Blocks: 8181
  Show dependency treegraph
Reported: 2022-12-28 15:49 CET by Pierre Ossman
Modified: 2024-01-30 16:43 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Pierre Ossman cendio 2022-12-28 15:49:11 CET
The Go language is gaining popularity, so we will reach a point where tools and libraries we want to use will be written in Go. As such, we need a Go compiler in our build system.
Comment 1 Pierre Ossman cendio 2023-06-14 11:05:50 CEST
Just adding "go" to "--enable-languages" seems to mostly work. The bootstrap compiler builds just fine with go support, but the final compiler fails with some odd "-Werror=cast-qual" bug building the go runtime. It should hopefully be easily fixed.

Note that we get a rather old Go version, though, as we have a rather old gcc. It might not be sufficient for what we need and need to upgrade gcc as well.

Note You need to log in before you can comment on or make changes to this bug.