Fail to bootstrap (Segmentation fault) on ppc64el in Xenial

Bug #2020852 reported by Utkarsh Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-1.18 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hellu,

There's segmentation fault on ppc64el whilst backporting Golang 1.18 to Xenial.

Here are the snippet:

make[1]: Entering directory '/<<PKGBUILDDIR>>'
[ -f VERSION ] || echo "debian snapshot 1.18.1-1ubuntu1~16.04.4" > VERSION
# on i386, need to rebuild with go1.16 for GO386=softfloat
export GOROOT_BOOTSTRAP=$(env -i GOPATH=/<<PKGBUILDDIR>>/gopath/ go env GOROOT) \
&& if [ "ppc64el" = "i386" ] && dpkg --compare-versions $(GOROOT_BOOTSTRAP=/usr ./debian/helpers/goenv.sh echo '$GOVERSION_BOOTSTRAP') lt "1.16"; then \
 mkdir -p /<<PKGBUILDDIR>>/bootstrap \
 && cp -Rp /<<PKGBUILDDIR>>/src bootstrap/ \
 && cp -Rp /<<PKGBUILDDIR>>/VERSION bootstrap/ \
 && cd /<<PKGBUILDDIR>>/bootstrap/src \
 && /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner \
 && export GOROOT_BOOTSTRAP=/<<PKGBUILDDIR>>/bootstrap; \
fi \
&& cd /<<PKGBUILDDIR>>/src \
&& /<<PKGBUILDDIR>>/debian/helpers/goenv.sh bash ./make.bash --no-banner
Building Go cmd/dist using /usr/lib/go-1.6. (go1.6.2 linux/ppc64le)
go build _/<<PKGBUILDDIR>>/src/cmd/dist: /usr/lib/go-1.6/pkg/tool/linux_ppc64le/compile: signal: segmentation fault (core dumped)
debian/rules:119: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:32: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2

Full logs are available at:
https://pastebin.canonical.com/p/qB8m27sH49/

Shengjing Zhu (zhsj)
summary: - Segmentation fault on ppc64el in Xenial
+ Fail to bootstrap (Segmentation fault) on ppc64el in Xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.