LeRoy D. Cressy on Sun, 22 Aug 1999 13:18:13 -0400 (EDT) |
Read /usr/doc/gcc/READNR.Debian.gz which includes: gcc-2.95 optimization issues ---------------------------- As of gcc-2.95, optimisation at level 2 (-O2) and higher includes an optimisation which breaks C code that does not adhere to the C standard. Such code occurs in the Linux kernel, and probably other places. To compile the kernel with -O2 or better optimisation, you need to call '-fno-strict-aliasing' to the compile line (e.g. the CFLAGS settings in ...linux/Makefile). The -fstrict-aliasing optimisation is now enabled by default, as a result of the following considerations: - compiling the kernel with -fno-strict-aliasing with gcc-2.95 does not give worse code than compiling with egcs-1.1.2. - not enabling the strict aliasing optimizations for normal code is worse than disabling it for one package (the kernel package). Morgan Wajda-Levie wrote: > > I'm trying to compile kernel 2.2.11 on my 586 Debian Potato system. > I've set everything up with make menuconfig, but the kernel > compilation bombs with the following error: > > make[3]: *** No rule to make target `pc_keyb.h', needed by `pc_keyb.o'. Stop. > make[3]: Leaving directory `/usr/src/linux/drivers/char' > > I'm using gcc 2.9.1. I've also included my configuration file. > > -- > Morgan Wajda-Levie > http://www.worldaxes.com/wajdalev > PGP fingerprint: > A353 C750 660E D8B6 5616 F4D8 7771 DD21 7BF6 221C > http://www.worldaxes.com/wajdalev/public.asc for PGP key > encrypted mail preferred > > --------------------------------------------------------------- > > Name: kernel.conf > Part 1.1.2 Type: Plain Text (text/plain) > Encoding: quoted-printable > > Part 1.2 Type: application/pgp-signature -- 0 0 L & R Associates " Home Page: http://www.netaxs.com/~ldc/ _______ooO ~ Ooo_______________________________________________ LeRoy D. Cressy /\_/\ ldc@netaxs.com Computer Consulting ( o.o ) Phone (215) 535-4037 > ^ < Fax (215) 535-4285 _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|