<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/make.bash, branch json-isValidNumber</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=json-isValidNumber</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=json-isValidNumber'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2023-01-17T22:30:56Z</updated>
<entry>
<title>make.bash, make.rc: fix GOROOT detection when GOEXPERIMENT is set</title>
<updated>2023-01-17T22:30:56Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-12-09T20:09:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=dbe327a640b5ac4d6c55b5d966224d3095f1cdde'/>
<id>urn:sha1:dbe327a640b5ac4d6c55b5d966224d3095f1cdde</id>
<content type='text'>
We need to clear GOEXPERIMENT any time we are invoking a bootstrap
toolchain. One line missed the clearing of GOEXPERIMENT.

There were three different lines using different syntaxes and subtly
different sets of variables being cleared, so hoist them into a function
so it's all in one place.

Also quote $GOROOT_BOOTSTRAP consistently.



Change-Id: I6c5a5d70c694c24705bbc61298b28ae906c0cf6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/456635
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>all: use Go 1.17.13 for bootstrap</title>
<updated>2022-10-17T19:46:59Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-10-06T01:13:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=07c57aff5d6d8f1df96eb99507bd04c57d0616ca'/>
<id>urn:sha1:07c57aff5d6d8f1df96eb99507bd04c57d0616ca</id>
<content type='text'>
Previously we used Go 1.17, but we realized thanks to tickling
a pre-Go1.17.3 bug that if we are going to change the bootstrap
toolchain that we should default to the latest available point release
at the time we make the switch, not the initial major release, so as
to avoid bugs that were fixed in the point releases.

This CL updates the default search locations and the release notes.

Users who run make.bash and depend on finding $HOME/sdk/go1.17
may need to run

	go install golang.org/dl/go1.17.13@latest
	go1.17.13 download

to provide a Go 1.17.13 toolchain to their builds.

Change-Id: I3a2511f088cf852470a7216a5a41ae775fb561b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/439419
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>build: update comments about Go 1.4 in make.bash, make.bat, make.rc</title>
<updated>2022-08-15T18:40:54Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-08-12T16:16:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1d66144bfd4b6aad915a8b62e43e3cab5460e9bc'/>
<id>urn:sha1:1d66144bfd4b6aad915a8b62e43e3cab5460e9bc</id>
<content type='text'>
A few lingering references to Go 1.4 remain.
Fix them, and document the ones that should stay.

For #44505.
Fixes #54301.

Change-Id: Ieb9c0f08e4d1890ea3fdfd9c8df5493934ae7493
Reviewed-on: https://go-review.googlesource.com/c/go/+/423354
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/link: detect glibc vs musl ldso at link time</title>
<updated>2022-08-08T21:12:57Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-08-02T14:12:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=3315066f46d5dce3e4474bdcde0997d688c79436'/>
<id>urn:sha1:3315066f46d5dce3e4474bdcde0997d688c79436</id>
<content type='text'>
Doing the test at link time lets us distribute one Linux toolchain
that works on both glibc-based and musl-based Linux systems.
The old way built a toolchain that only ran on one or the other.

Fixes #54197.

Change-Id: Iaae8c274c78e1091eee828a720b49646be9bfffe
Reviewed-on: https://go-review.googlesource.com/c/go/+/420774
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/dist: move more environment logic into cmd/dist from make and run scripts</title>
<updated>2022-04-05T21:45:19Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2022-04-05T18:25:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=69756b38f25bf72f1040dd7fd243febba89017e6'/>
<id>urn:sha1:69756b38f25bf72f1040dd7fd243febba89017e6</id>
<content type='text'>
'go tool dist env' outputs different (and fewer) environment variables
than 'go env'. The 'go tool dist env' variables should be
authoritative, whereas many printed by 'go env' are merely
informational (and not intended to be overridden in the actual
environment).

Fixes #52009

Change-Id: Ic0590153875183135cebf7ca55ead7c2b4038569
Reviewed-on: https://go-review.googlesource.com/c/go/+/398061
Trust: Bryan Mills &lt;bcmills@google.com&gt;
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>make.bash: disable GOEXPERIMENT when using bootstrap toolchain</title>
<updated>2022-04-04T21:06:39Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-03-25T17:22:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=ef5505335432572678c19e202e0edde61b7c5b95'/>
<id>urn:sha1:ef5505335432572678c19e202e0edde61b7c5b95</id>
<content type='text'>
When using Go 1.4 this doesn't matter, but when using Go 1.17,
the bootstrap toolchain will complain about unknown GOEXPERIMENT settings.
Clearly GOEXPERIMENT is for the toolchain being built, not the bootstrap.

Already submitted as CL 395879 on the dev.boringcrypto branch,
but needed on master to set up GOEXPERIMENT=boringcrypto
builder ahead of merge.

For #51940.

Change-Id: Ib6a4099cca799b4d5df1974cdb5471adb0fd557d
Reviewed-on: https://go-review.googlesource.com/c/go/+/397894
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>make.bash: document CC_FOR_${GOOS}_${GOARCH}</title>
<updated>2022-04-04T17:35:32Z</updated>
<author>
<name>uji</name>
<email>ujiprog@gmail.com</email>
</author>
<published>2022-03-02T23:29:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7d1e07049fec1d9a9fd4116111e52b161746dbde'/>
<id>urn:sha1:7d1e07049fec1d9a9fd4116111e52b161746dbde</id>
<content type='text'>
Fixes #51306

Change-Id: I5989d86fe5ac4d02793b2ecb00c549d9586763da
GitHub-Last-Rev: 6b0f6bee434219a2c502e8b5630fbe74ca25024a
GitHub-Pull-Request: golang/go#51379
Reviewed-on: https://go-review.googlesource.com/c/go/+/388176
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Trust: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>build: force GOWORK=off in make.{bash,bat,rc}</title>
<updated>2022-03-21T18:58:34Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2022-03-18T23:57:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d8ce7ae49108dda3b223694df7ebe8f56a1c3032'/>
<id>urn:sha1:d8ce7ae49108dda3b223694df7ebe8f56a1c3032</id>
<content type='text'>
While building Go from source, workspace mode should be disabled,
even if the external environment tries to configure it otherwise.

Fixes #51558.

Change-Id: Icd7577860271f59a8f94406214b111280e4b65b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/393879
Trust: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Michael Matloob &lt;matloob@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>build: for default bootstrap, use Go 1.17 if present, falling back to Go 1.4</title>
<updated>2021-12-08T16:50:04Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-12-06T18:36:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f5b5939c28ecb8b8c0897584fed78589c27348f6'/>
<id>urn:sha1:f5b5939c28ecb8b8c0897584fed78589c27348f6</id>
<content type='text'>
Preparation for #44505, but safe for Go 1.18.
Also fixes the default build on Macs, at least for
people who have a $HOME/go1.17 or have run

	go install golang.org/dl/go1.17@latest
	go1.17 download

Replay of CL 369914 after revert in CL 370138.
Only change is adding 'export GOROOT_BOOTSTRAP' in make.bash.

Change-Id: I8ced4e87a9dc0f05cc49095578b401ae6212ac85
Reviewed-on: https://go-review.googlesource.com/c/go/+/370274
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>Revert "build: for default bootstrap, use Go 1.17 if present, falling back to Go 1.4"</title>
<updated>2021-12-08T01:17:33Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2021-12-07T22:51:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=34573aeb9717cf20d768e640c263b294df5318a4'/>
<id>urn:sha1:34573aeb9717cf20d768e640c263b294df5318a4</id>
<content type='text'>
This reverts https://golang.org/cl/369914.

Reason for revert: Breaking previously working toolchain builds.

For #44505.

Change-Id: I09ae20e50109a600d036358118077d27669df39c
Reviewed-on: https://go-review.googlesource.com/c/go/+/370138
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Trust: Michael Pratt &lt;mpratt@google.com&gt;
Run-TryBot: Michael Pratt &lt;mpratt@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
