Skip to content

Commit 57bd577

Browse files
Clément Chigotianlancetaylor
Clément Chigot
authored andcommitted
cmd/vet/all: enable AIX checks
Fixes #27985 Change-Id: I2f3d06ced9da9fc56f30f1285a8d393e689c29ac Reviewed-on: https://go-review.googlesource.com/c/go/+/169019 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent ee28360 commit 57bd577

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/cmd/vet/all/main.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,6 @@ func (p platform) vet() {
209209
return
210210
}
211211

212-
if p.os == "aix" && p.arch == "ppc64" {
213-
// TODO(aix): enable as soon as the aix/ppc64 port has fully landed
214-
fmt.Println("skipping aix/ppc64")
215-
return
216-
}
217-
218212
var buf bytes.Buffer
219213
fmt.Fprintf(&buf, "go run main.go -p %s\n", p)
220214

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// aix/ppc64-specific vet whitelist. See readme.txt for details.
2+
3+
runtime/asm_ppc64x.s: [ppc64] sigreturn: function sigreturn missing Go declaration
4+
runtime/sys_aix_ppc64.s: [ppc64] callCfunction: function callCfunction missing Go declaration
5+
runtime/sys_aix_ppc64.s: [ppc64] _asmsyscall6: function _asmsyscall6 missing Go declaration
6+
runtime/sys_aix_ppc64.s: [ppc64] _sigtramp: function _sigtramp missing Go declaration
7+
runtime/sys_aix_ppc64.s: [ppc64] _sigtramp: use of 16(R1) points beyond argument frame
8+
runtime/sys_aix_ppc64.s: [ppc64] _tstart: function _tstart missing Go declaration

0 commit comments

Comments
 (0)