This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
building kernel (2.0.34)
- To: egcs-patches at cygnus dot com
- Subject: building kernel (2.0.34)
- From: Matthias Laessig <Matthias dot Laessig at informatik dot tu-chemnitz dot de>
- Date: Fri, 29 May 1998 10:34:41 +0200
Hi!
I tried to build a 2.0.34 kernel with egcs 1.0.3 and get these warnings:
gcc -D__KERNEL__ -I/usr/src/linux-2.0.34/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce
-D__SMP__ -pipe -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -D__SMP__ -c -o init/main.o init/main.c
/usr/src/linux-2.0.34/include/asm/string.h: In function
`__constant_memcpy':
In file included from /usr/src/linux-2.0.34/include/linux/string.h:39,
from /usr/src/linux-2.0.34/include/asm/termios.h:58,
from /usr/src/linux-2.0.34/include/linux/termios.h:5,
from /usr/src/linux-2.0.34/include/linux/tty.h:20,
from /usr/src/linux-2.0.34/include/linux/sched.h:26,
from init/main.c:20:
/usr/src/linux-2.0.34/include/asm/string.h:443: warning: control reaches
end of non-void function
/usr/src/linux-2.0.34/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux-2.0.34/include/asm/string.h:594: warning: control reaches
end of non-void function
init/main.c: In function `get_options':
init/main.c:237: warning: subscript has type `char'
it compiles, but as it gets to scsi-detection, the kernel hangs...
I also build it with the normal gcc and everything worked fine!
any ideas? please answer directly to me - I'm not a member of the list.
thanx - matthi...
--------------------------------------------------------------------------
"death is natures way of telling you to slow
down!"
--------------------------------------------------------------------------
pgp fingerprint: 80 B3 AF 5B CB 54 ED 65 50 9A C1 EF 6B B8 78 C4
--------------------------------------------------------------------------
http://mailman.home.pages.de/
fon: +49(0)371/5611071 fax: +49(0)371/5611079 mobile:
+49(0)177/4430427
talk: mla@wolfsheim.csn.tu-chemnitz.de