https://bugzilla.redhat.com/show_bug.cgi?id=1248071
Bug ID: 1248071
Summary: Increase ELFRESERVE constant from 3072 to 3104
Product: Fedora
Version: rawhide
Component: golang
Assignee: vbatts(a)redhat.com
Reporter: jchaloup(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: admiller(a)redhat.com, golang(a)lists.fedoraproject.org,
lemenkov(a)gmail.com, renich(a)woralelandia.com, s(a)shk.io,
vbatts(a)redhat.com
Description of problem:
Etcd and kubernetes built in rawhide with debugging info support fails with the
following error:
ELFRESERVE too small: 3104 > 3072
Version-Release number of selected component (if applicable):
golang-1.4.99-4.1.5beta2.fc24.x86_64
How reproducible:
Always
Steps to Reproduce:
1. clone etcd repository
2. set with_debug macro to 1
3. build etcd for master branch
Actual results:
Etcd fails to build
Expected results:
Etcd does not fail to build
Additional info:
To support debugging info, each build is hacked by adding -B flag in -ldflags
string:
-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')
This increases header for 32bytes which is exactly difference between 3104 and
3072.
Setting the constant to 3104 fixes this issue.
--
You are receiving this mail because:
You are on the CC list for the bug.