-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
This is very annoying for Gentoo users with FEATURES=installsources, and especially when the feature is enabled for sys-libs/glibc -- many software suddenly fails to build because ld starts to spit out "access beyond end of merged section" errors for no reason.
Steps to reproduce:
// /tmp/main.c
int main(void)
{
return 0;
}cd /tmp
gcc -O2 -g -c -o main.o main.c
debugedit -i -b /tmp -d /foo ./main.o
gcc -o main main.o
# /usr/lib/gcc/loongarch64-unknown-linux-gnu/15/../../../../loongarch64-unknown-linux-gnu/bin/ld: main.o: access beyond end of merged section (17)
# /usr/lib/gcc/loongarch64-unknown-linux-gnu/15/../../../../loongarch64-unknown-linux-gnu/bin/ld: main.o: access beyond end of merged section (24)Software versions:
- debugedit 5.1
- elfutils 0.193