[Bug other/60465] Compiling glibc-2.17,2.18 with gcc-4.8.2 and binutils-2.23.2,2.24 results in segfaults in _start / elf_get_dynamic_info
vapier at gentoo dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 14 11:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60465
--- Comment #16 from Mike Frysinger <vapier at gentoo dot org> ---
Created attachment 33321
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33321&action=edit
rtld.i preprocessed source
the preprocessed output is the same between 4.7.4 & 4.8.3 (checked with `diff`)
this was generated with:
$ gcc rtld.c -E -dD -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wundef
-Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes
-fPIC -D'SYSCONFDIR="/etc"' -U_FORTIFY_SOURCE -I../include
-I/home/vapier/glibc/build/elf -I/home/vapier/glibc/build
-I../sysdeps/unix/sysv/linux/ia64 -I../sysdeps/ia64/nptl
-I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux
-I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/ia64/fpu -I../sysdeps/ia64
-I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_rtld=1
-DIN_LIB=rtld -D_ASM_IA64_CURRENT_H -o /home/vapier/glibc/build/elf/rtld.i
More information about the Gcc-bugs
mailing list