[Bug 1532020] Re: fails to build with PIE enabled by default

Michael Hudson-Doyle michael.hudson+lp at canonical.com
Fri Jan 8 00:31:50 UTC 2016


I've sent a fix upstream https://go-review.googlesource.com/#/c/18359/,
we'll see how that is received.

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

Title:
  fails to build with PIE enabled by default

Status in golang package in Ubuntu:
  New

Bug description:
  If you build go on a system with PIE enabled by default (currently
  only xenial/s390x) the build fails because go invokes gcc with -Wl,-r
  and ld complains about mixing -r and -pie. The fix is to pass -no-pie
  as well, but aggravatingly this flag is only supported on xenial: we
  can't just patch go to always pass it. This could be fixed in a
  xenial-only distro patch but I'd much rather fix it upstream so that
  people can just install go from source -- but I don't see how to do
  that.

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



More information about the foundations-bugs mailing list