[Bug 1261604] [NEW] static binaries compiled with gccgo can fail to set up their address space
Michael Hudson-Doyle
michael.hudson+lp at canonical.com
Tue Dec 17 02:54:49 UTC 2013
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
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1261604
Title:
static binaries compiled with gccgo can fail to set up their address
space
Status in “gcc-4.8” package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1261604/+subscriptions
More information about the foundations-bugs
mailing list