Michael Schwendt ([EMAIL PROTECTED]) wrote:
> Can you recompile the kernel with Red Hat's config?

Nope.

> What steps are necessary to reproduce it?

cd /usr/src/linux-2.4
make mrproper
cp configs/kernel-2.4.18-athlon.config .config
make oldconfig
make dep
make bzImage
/* each file gets the following warning:
'cc1: warning: -malign-functions is obsolete, use -falign-functions' */

and finally

gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-24.8.0/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
-malign-functions=4    -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include -DKBUILD_BASENAME=md
-DEXPORT_SYMTAB -c md.c
cc1: warning: -malign-functions is obsolete, use -falign-functions
md.c: In function `do_md_run':
md.c:1745: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

I can repeat the whole procedure (starting with make mrproper) and it
breaks at the exact same place.  However, if I use different configs, it
breaks at different places, but for the same config always at the same
place.

> Most of the time, segmentation faults during kernel compilation are
> due to unstable hardware. Running "make bzImage" (for instance)
> again compiles a bit more, but then segfaults again.

I understand that, but in my case the error is always at the same place.
I try to compile while running different other applications but nothing
changes.

> ?? I don't see what that bug report has to do with GCC.

Nothing, except that it makes me more nervous since I neither have a working
GCC nor a working libc.  What else is there in a UNIX system?

Thanks for your reply.

Best regards,
Josip



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to