[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/18867] New: ld reloc sorting causes glibc to crash on alpha
From: |
vapier at gentoo dot org |
Subject: |
[Bug ld/18867] New: ld reloc sorting causes glibc to crash on alpha |
Date: |
Tue, 25 Aug 2015 21:02:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18867
Bug ID: 18867
Summary: ld reloc sorting causes glibc to crash on alpha
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: amodra at gmail dot com
Reporter: vapier at gentoo dot org
CC: rth at twiddle dot net
Depends on: 17666
Target Milestone: ---
Target: alphaev68-unknown-linux-gnu
we noticed that binutils-2.25.1 causes glibc to segfault when exiting:
we tracked it back to this commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=53df40a43c968f4d97754226d62775d1fe665459
and current master also breaks (going back to the original commit):
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=28dbcedc7b1282b93c3f25c4e42ae71b44e8e2a8
if i take current master and force sort=false (the equiv of defining
sort_relocs_p for the alpha backend and having it always return false), then
glibc links & runs just fine.
i don't know if we should disable sorting for the alpha backend all the time,
or if there's a change to reloc processing in glibc that we can make.
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=17666
[Bug 17666] ld -r may create reloc sections with unordered relocs
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/18867] New: ld reloc sorting causes glibc to crash on alpha,
vapier at gentoo dot org <=
- [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha, amodra at gmail dot com, 2015/08/25
- [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha, cvs-commit at gcc dot gnu.org, 2015/08/26
- [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha, amodra at gmail dot com, 2015/08/26
- [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha, vapier at gentoo dot org, 2015/08/26
- [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha, cvs-commit at gcc dot gnu.org, 2015/08/27
- [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha, cvs-commit at gcc dot gnu.org, 2015/08/27