<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/cmd/nm/nm_test.go, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-12-08T22:37:09Z</updated>
<entry>
<title>cmd/link: fix AIX builds after recent linker changes</title>
<updated>2025-12-08T22:37:09Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-12-02T00:25:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=276cc4d3dbbf413be008113e6c88ffb3df2de4d6'/>
<id>urn:sha1:276cc4d3dbbf413be008113e6c88ffb3df2de4d6</id>
<content type='text'>
This updates XCOFF-specific code for the recent addition
of funcdata to pclntab.

Because XCOFF puts separate symbols into separate csects,
each with their own alignment, it's important to tell the
external linker the expected alignment of each part of pclntab.
Otherwise the offsets within pclntab may change as the external
linker aligns symbols. This CL sets the correct alignment for
each pclntab child symbol, and sets pclntab's alignment to the
max of that of its children.

Tested on the GCC compile farm.

Fixes #76486

Change-Id: I77d8a90c4b4b79d80ca11ede8d9a2aa9cc89f53f
Reviewed-on: https://go-review.googlesource.com/c/go/+/725603
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/nm: use t.TempDir</title>
<updated>2024-09-06T13:25:54Z</updated>
<author>
<name>Kir Kolyshkin</name>
<email>kolyshkin@gmail.com</email>
</author>
<published>2024-09-05T00:34:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=29a3a39b613c542d043ca1fdb3d7f10ed669666d'/>
<id>urn:sha1:29a3a39b613c542d043ca1fdb3d7f10ed669666d</id>
<content type='text'>
Change-Id: I6c1d148ae4c899142b160533d8bdf662494bcd7c
Reviewed-on: https://go-review.googlesource.com/c/go/+/611039
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>cmd: use testenv.Executable helper</title>
<updated>2024-09-03T18:03:19Z</updated>
<author>
<name>Kir Kolyshkin</name>
<email>kolyshkin@gmail.com</email>
</author>
<published>2024-08-30T02:00:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f26c29723f372284ff7dc0dbf30bae5561a3e618'/>
<id>urn:sha1:f26c29723f372284ff7dc0dbf30bae5561a3e618</id>
<content type='text'>
Change-Id: I25ac0e8d25d760bfde3bb7700f0feaa23f3e8ab1
Reviewed-on: https://go-review.googlesource.com/c/go/+/609302
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>internal/platform: pass race mode to DefaultPIE</title>
<updated>2023-03-20T23:32:34Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2023-03-20T21:08:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=c7ea9969f8112721edc0a128277f8e5943e21a49'/>
<id>urn:sha1:c7ea9969f8112721edc0a128277f8e5943e21a49</id>
<content type='text'>
On Windows we default to PIE, except in race mode.
Pass isRace to platform.DefaultPIE to centralize that decision.
This is in preparation for adding another call to DefaultPIE.

Change-Id: I91b75d307e7d4d260246a934f98734ddcbca372a
Reviewed-on: https://go-review.googlesource.com/c/go/+/477916
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>internal/platform: add a function to report whether default builds are PIE</title>
<updated>2023-03-15T13:31:05Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2023-03-10T20:37:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bbf795ebb114918a8e8dc7fd4d825cd5928d3f4d'/>
<id>urn:sha1:bbf795ebb114918a8e8dc7fd4d825cd5928d3f4d</id>
<content type='text'>
This consolidates a condition that was previously repeated (in
different approximations) in several different places in the code.

For #58807.

Change-Id: Idd308759f6262b1f5c61f79022965612319edf94
Reviewed-on: https://go-review.googlesource.com/c/go/+/475457
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
Auto-Submit: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>all: skip tests that fail on android/arm64</title>
<updated>2023-03-10T20:38:29Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2023-03-01T13:45:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d12fe60004ae5e4024c8a93f4f7de7183bb61576'/>
<id>urn:sha1:d12fe60004ae5e4024c8a93f4f7de7183bb61576</id>
<content type='text'>
Many of the tests skipped platforms that build PIE binaries by
default, but (still) lack a central function to report which platforms
those are.

Some of the tests assumed (but did not check for) internal linking
support, or invoked `go tool link` directly without properly
configuring the external linker.

A few of the tests seem to be triggering latent bugs in the linker.

For #58806.
For #58807.
For #58794.

Change-Id: Ie4d06b1597f404590ad2abf978d4c363647407ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/472455
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Auto-Submit: Bryan Mills &lt;bcmills@google.com&gt;
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/nm: use the test binary as 'nm' instead of rebuilding it</title>
<updated>2022-11-15T20:22:16Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2022-11-15T15:30:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5e73f6a02928518bd8ea0a7b1112ce5e536d5dd6'/>
<id>urn:sha1:5e73f6a02928518bd8ea0a7b1112ce5e536d5dd6</id>
<content type='text'>
This not only reduces the latency of the test, but also respects
build flags like '-race' and '-cover' passed to the 'go test' command.

Change-Id: Iffdc60d444a9ff1d4ff5e688bca1c2ef0dfa03c8
Reviewed-on: https://go-review.googlesource.com/c/go/+/450703
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
Auto-Submit: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/nm: don't rely on an erroneous install target in tests</title>
<updated>2022-07-11T19:01:02Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2022-07-11T17:32:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b8bf820d5d4602f7e83ff89c0f8d0f2bd3a220d4'/>
<id>urn:sha1:b8bf820d5d4602f7e83ff89c0f8d0f2bd3a220d4</id>
<content type='text'>
Non-main packages in module mode should not be installed to
GOPATH/pkg, but due to #37015 they were installed there anyway.
This change switches the 'go install' command in testGoLib to instead
use 'go build -buildmode=archive' with an explicit output file.

For #37015.

Change-Id: I15781aa33d1b2adc6a4437a58622276f4e20b889
Reviewed-on: https://go-review.googlesource.com/c/go/+/416955
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
Auto-Submit: Bryan Mills &lt;bcmills@google.com&gt;
</content>
</entry>
<entry>
<title>internal/testenv: add GOROOT and use it to fix tests broken with -trimpath</title>
<updated>2022-03-18T21:55:52Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2022-03-09T22:19:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=58631ba54f45506f2f178bb01d22273e7dfba674'/>
<id>urn:sha1:58631ba54f45506f2f178bb01d22273e7dfba674</id>
<content type='text'>
This fixes many (but not all) of the tests that currently fail
(due to a bogus path reported by runtime.GOROOT) when run with
'go test -trimpath std cmd'.

Updates #51461

Change-Id: Ia2cc05705529c4859e7928f32eeceed647f2e986
Reviewed-on: https://go-review.googlesource.com/c/go/+/391806
Trust: Bryan Mills &lt;bcmills@google.com&gt;
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp</title>
<updated>2020-12-09T19:12:23Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2020-10-29T18:17:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4f1b0a44cb46f3df28f5ef82e5769ebeac1bc493'/>
<id>urn:sha1:4f1b0a44cb46f3df28f5ef82e5769ebeac1bc493</id>
<content type='text'>
As part of #42026, these helpers from io/ioutil were moved to os.
(ioutil.TempFile and TempDir became os.CreateTemp and MkdirTemp.)

Update the Go tree to use the preferred names.

As usual, code compiled with the Go 1.4 bootstrap toolchain
and code vendored from other sources is excluded.

ReadDir changes are in a separate CL, because they are not a
simple search and replace.

For #42026.

Change-Id: If318df0216d57e95ea0c4093b89f65e5b0ababb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/266365
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
</feed>
