Public bug reported:

As reported in https://code.google.com/p/go/issues/detail?id=6926, a
static binary produced by gccgo will fail to start up around 60% of the
time with a message like:

runtime: address space conflict: map(0x7f72018000) = 0x7f69ef8000
fatal error: runtime: address space conflict

(there is a more detailed write up at https://groups.google.com/d/msg
/golang-dev/wFW_ppyLZTM/4fJXzuROV1IJ)

I'm attaching a patch (against gcc-4_8-branch, a different one will be
required for mainline) that seems to work, but it could certainly do
with some more extensive testing.

** Affects: gcc-4.8 (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "explicit-reservation.diff"
   
https://bugs.launchpad.net/bugs/1261604/+attachment/3930747/+files/explicit-reservation.diff

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

Title:
  static binaries compiled with gccgo can fail to set up their address
  space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1261604/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to