[Bug 2020852] Re: Fail to bootstrap (Segmentation fault) on ppc64el in Xenial

Shengjing Zhu 2020852 at bugs.launchpad.net
Fri May 26 07:53:51 UTC 2023


** Summary changed:

- Segmentation fault on ppc64el in Xenial
+ Fail to bootstrap (Segmentation fault) on ppc64el in Xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.18 in Ubuntu.
https://bugs.launchpad.net/bugs/2020852

Title:
  Fail to bootstrap (Segmentation fault) on ppc64el in Xenial

Status in golang-1.18 package in Ubuntu:
  New

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.18/+bug/2020852/+subscriptions




More information about the foundations-bugs mailing list