forked from pool/go1.19
fb8ca39a5c
- Revert re-enable binary stripping and debuginfo boo#1210938. go1.19 and earlier store pre-compiled packages in $GOROOT/pkg as Go .a files which are not ar archives. These .a are incorrectly passed to strip by brp-15-strip-debug. strip incorrectly modifies Go .a files rendering them invalid. Some Go applications fail to build with "reference to nonexistent package" errors. Refs boo#1210938 boo#1211073 * go1.19 and earlier store pre-compiled packages for the standard library as .a files under pkg/GOARCH[_{dynlink,race}]. * Go emitted .a files are a Go specific format, not ar archives. * go1.10+ stores recently built packages in build cache GOCACHE. These are separate from the installed packages in $GOROOT/pkg. * Go build cache objects use a different file format than Go .a. * go1.20+ switches to the GOCACHE for both recently built packages and the installed packages in $GOROOT/pkg. * Current versions of readelf detect Go .a files correctly, e.g.: readelf -d /usr/lib64/go/1.19/pkg/linux_amd64/bytes.a File: /usr/lib64/go/1.19/pkg/linux_amd64/bytes.a(__.PKGDEF ) readelf: Error: This is a GO binary file - try using 'go tool objdump' or 'go tool nm' * binutils strip as of 2.40 detects Go .a files correctly, but incorrectly modifies the .a files altering path resulting in "reference to nonexistent package" errors. * brp_check_suse/brp-15-strip-debug passes files to strip based primarily on the file extension including .a. (forwarded request 1084541 from jfkw) OBS-URL: https://build.opensuse.org/request/show/1084542 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/go1.19?expand=0&rev=15 |
||
---|---|---|
_constraints | ||
_service | ||
.gitattributes | ||
.gitignore | ||
dont-force-gold-on-arm64.patch | ||
gcc-go.patch | ||
go1.19.9.src.tar.gz | ||
go1.19.changes | ||
go1.19.spec | ||
go-rpmlintrc | ||
go.gdbinit | ||
llvm-41cb504b7c4b18ac15830107431a0c1eec73a6b2.tar.xz | ||
llvm-127e59048cd3d8dbb80c14b3036918c114089529.tar.xz | ||
README.SUSE |
# Go Programming Language OBS: https://build.opensuse.org/project/show/devel:languages:go Maintainer: Jeff Kowalczyk Wiki: http://en.opensuse.org/Go http://en.opensuse.org/openSUSE:Packaging_Go