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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils