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

Michael Hudson-Doyle michael.hudson+lp at canonical.com
Wed Jan 20 20:11:59 UTC 2016


And 1.6 is in xenial now. So this shouldn't be a problem any more.

** Changed in: golang (Ubuntu)
       Status: Triaged => Invalid

-- 
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:
  Invalid

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