This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Linux kernel & gcc-2.96 19990707
- To: egcs at egcs dot cygnus dot com
- Subject: Linux kernel & gcc-2.96 19990707
- From: David Ronis <ronis at ronispc dot chem dot mcgill dot ca>
- Date: Wed, 7 Jul 1999 21:46:43 -0400
- Reply-to: ronis at onsager dot chem dot mcgill dot ca
I've been using the experimental gcc's to build my linux kernel
(version 2.2.10 on a glibc1-i586) and unfortunately have been getting
more oops than I normally do. I've been using the following addtional
flags:
-O2 -fomit-frame-pointer -pipe -march=pentium -funroll-loops
-fomit-frame-pointer -ffast-math -O6 -malign-double -malign-loops=2
-malign-jumps=2 -malign-functions=2
>From what I understand, the -malign-xxx flags are unnecessary but more
or less harmless with gcc-2.96. Of more concern is the strict-aliasing
default now in gcc. Should I add -fno-strict-aliasing?
Any other suggestions?
David