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

Michael Hudson-Doyle michael.hudson+lp at canonical.com
Thu Jan 7 22:49:10 UTC 2016


Public bug reported:

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.

** Affects: golang (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  fails to build with PIE enabled by default

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



More information about the Ubuntu-server-bugs mailing list