[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug go/85429] Several gotools tests FAIL with Solaris as
From: "ian at gcc dot gnu.org" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2018-05-31 22:47:32
Message-ID: bug-85429-4-1XsdbqZU6K () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85429
--- Comment #12 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu May 31 22:46:52 2018
New Revision: 261045
URL: https://gcc.gnu.org/viewcvs?rev=261045&root=gcc&view=rev
Log:
PR go/85429
Various backports from mainline:
libgo: update to Go 1.10.2 release
cmd/go: support more Solaris assembler syntaxes
Patch by Rainer Orth.
cmd/go: update to match recent changes to gc
In https://golang.org/cl/111097 the gc version of cmd/go was updated
to include some gofrontend-specific changes. The gofrontend code
already has different versions of those changes; this CL makes the
gofrontend match the upstream code.
cmd/go, cmd/vet: make vet work with gccgo
Backport https://golang.org/cl/113715 and https://golang.org/cl/113716:
cmd/go: don't pass -compiler flag to vet
Without this running go vet -compiler=gccgo causes vet to fail.
The vet tool does need to know the compiler, but it is passed in
vetConfig.Compiler.
cmd/go, cmd/vet, go/internal/gccgoimport: make vet work with gccgo
When using gccgo/GoLLVM, there is no package file for a standard
library package. Since it is impossible for the go tool to rebuild the
package, and since the package file exists only in the form of a .gox
file, this seems like the best choice. Unfortunately it was confusing
vet, which wanted to see a real file. This caused vet to report errors
about missing package files for standard library packages. The
gccgoimporter knows how to correctly handle this case. Fix this by
1) telling vet which packages are standard;
2) letting vet skip those packages;
3) letting the gccgoimporter handle this case.
As a separate required fix, gccgo/GoLLVM has no runtime/cgo package,
so don't try to depend on it (as it happens, this fixes golang/go#25324).
The result is that the cmd/go vet tests pass when using -compiler=gccgo.
crypto/x509: specify path to AIX certificate file
go/build, cmd/go: update to match recent changes to gc
Several recent changes to the gc version of cmd/go improve the
gofrontend support. These changes are partially copies of existing
gofrontend differences, and partially new code. This CL makes the
gofrontend match the upstream code.
The changes included here come from:
https://golang.org/cl/111575
https://golang.org/cl/111595
https://golang.org/cl/111635
https://golang.org/cl/111636
For the record, the following recent gc changes are based on code
already present in the gofrontend repo:
https://golang.org/cl/110915
https://golang.org/cl/111615
For the record, a gc change, partially based on earlier gofrontend
work, also with new gc code, was already copied to gofrontend repo in
CL 111099:
https://golang.org/cl/111097
This moves the generated list of standard library packages from
cmd/go/internal/load to go/build.
gotools/ChangeLog:
Backport from mainline:
2018-05-09 Ian Lance Taylor <iant@golang.org>
* Makefile.am (check-go-tool): Don't copy zstdpkglist.go.
* Makefile.in: Rebuild.
Added:
branches/gcc-8-branch/libgo/go/cmd/internal/objabi/funcid.go
branches/gcc-8-branch/libgo/go/go/build/gc.go
branches/gcc-8-branch/libgo/go/go/build/gccgo.go
branches/gcc-8-branch/libgo/go/go/internal/srcimporter/testdata/issue23092/
branches/gcc-8-branch/libgo/go/go/internal/srcimporter/testdata/issue23092/issue23092.go
branches/gcc-8-branch/libgo/go/go/internal/srcimporter/testdata/issue24392/
branches/gcc-8-branch/libgo/go/go/internal/srcimporter/testdata/issue24392/issue24392.go
branches/gcc-8-branch/libgo/go/net/http/pprof/pprof_test.go
branches/gcc-8-branch/libgo/misc/cgo/testplugin/src/issue24351/
branches/gcc-8-branch/libgo/misc/cgo/testplugin/src/issue24351/main.go
branches/gcc-8-branch/libgo/misc/cgo/testplugin/src/issue24351/plugin.go
Modified:
branches/gcc-8-branch/gotools/ChangeLog
branches/gcc-8-branch/gotools/Makefile.am
branches/gcc-8-branch/gotools/Makefile.in
branches/gcc-8-branch/libgo/MERGE
branches/gcc-8-branch/libgo/Makefile.am
branches/gcc-8-branch/libgo/Makefile.in
branches/gcc-8-branch/libgo/VERSION
branches/gcc-8-branch/libgo/go/archive/zip/reader.go
branches/gcc-8-branch/libgo/go/archive/zip/reader_test.go
branches/gcc-8-branch/libgo/go/cmd/go/alldocs.go
branches/gcc-8-branch/libgo/go/cmd/go/go_test.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/cfg/cfg.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/get/vcs.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/get/vcs_test.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/help/helpdoc.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/load/pkg.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/test/test.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/vet/vet.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/vet/vetflag.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/work/buildid.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/work/exec.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/work/security.go
branches/gcc-8-branch/libgo/go/cmd/go/internal/work/security_test.go
branches/gcc-8-branch/libgo/go/cmd/vet/main.go
branches/gcc-8-branch/libgo/go/crypto/x509/name_constraints_test.go
branches/gcc-8-branch/libgo/go/crypto/x509/root_aix.go
branches/gcc-8-branch/libgo/go/crypto/x509/verify.go
branches/gcc-8-branch/libgo/go/crypto/x509/x509.go
branches/gcc-8-branch/libgo/go/encoding/json/decode.go
branches/gcc-8-branch/libgo/go/encoding/json/decode_test.go
branches/gcc-8-branch/libgo/go/go/build/build.go
branches/gcc-8-branch/libgo/go/go/internal/gccgoimporter/importer.go
branches/gcc-8-branch/libgo/go/go/internal/srcimporter/srcimporter.go
branches/gcc-8-branch/libgo/go/go/internal/srcimporter/srcimporter_test.go
branches/gcc-8-branch/libgo/go/internal/singleflight/singleflight.go
branches/gcc-8-branch/libgo/go/net/http/pprof/pprof.go
branches/gcc-8-branch/libgo/go/net/lookup.go
branches/gcc-8-branch/libgo/go/net/lookup_test.go
branches/gcc-8-branch/libgo/go/net/tcpsock_unix_test.go
branches/gcc-8-branch/libgo/go/runtime/error.go
branches/gcc-8-branch/libgo/go/runtime/panic.go
branches/gcc-8-branch/libgo/go/runtime/proc.go
branches/gcc-8-branch/libgo/go/runtime/symtab.go
branches/gcc-8-branch/libgo/misc/cgo/testplugin/test.bash
branches/gcc-8-branch/libgo/misc/cgo/testshared/shared_test.go=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic