root@jik:/d/kernel/2.4.18-rc2-ac2/arch/i386/kernel!28# gcc -D__ASSEMBLY__ -D__KERNEL__ -I/d/kernel/2.4.18-rc2-ac2/include -traditional -c entry.S gcc: Internal error: Segmentation fault (program as) Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. root@jik:/d/kernel/2.4.18-rc2-ac2/arch/i386/kernel!29# rpm -q -f /usr/bin/as binutils-2.11.93.0.2-3 root@jik:/d/kernel/2.4.18-rc2-ac2/arch/i386/kernel!30#
Suspect the glibc bug as well.
This problem does NOT go away when I upgrade to glibc-2.2.90-7.
Reproduced, but looks like a glibc bug anyway (I had glibc-2.2.5-something installed and as worked, after upgrade to 2.2.90-7 it started segfaulting).
Simplified into small testcase showing mmap stdio ungetc bug, working on it.
Should be fixed in glibc-2.2.90-8.