Description of problem:
During the stage2 bootstrap we experience glibc segfaults when chrooting into the minimal environment. The issue only happens for some combinations of builder and target architectures.
Since it's difficult to collect sufficient debug data, we offer an access to the build environment where we're able to reproduce the issue.
I tried to do a diff of the nm output for a working and non-working libc.so.* and both contain the same symbols. However they differ in addresses and that probably means the generated code differs.
Version-Release number of selected component (if applicable):
glibc-2.20-8.fc21
gcc-4.9.2-6.fc21
binutils-2.24-32.fc21
How reproducible:
always
Turns out the root cause of this problem is this line in stage1's glibc recipe:
echo libc_cv_ctors_header=yes >> config.cache
Commenting out or removing that line should fix it.