This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Kernel 2.1.80-4 compiled with egcs-980115
- To: egcs at cygnus dot com
- Subject: Kernel 2.1.80-4 compiled with egcs-980115
- From: Kjartan Maraas <kmaraas at fib dot hl dot no>
- Date: Tue, 20 Jan 1998 10:50:41 +0000
- CC: linux-kernel <linux-kernel at vger dot rutgers dot edu>
- Organization: Folkeuniversitetet i Hordaland
I've just finished compiling this kernel with said
compiler, and it seems to work just fine except that
the de4x5 driver compiled as a module oopsed when I
tried to load it. I compiled in the haifa scheduler.
One thing I noticed was that make menuconfig seemed
slower (screen refreshes etc).
It also made the compiler return loads of warnings in
asm/string.h:
/usr/src/linux-2.1/include/asm/string.h: In function
`__constant_memcpy':
In file included from /usr/src/linux-2.1/include/linux/string.h:39,
from /usr/src/linux-2.1/include/linux/signal.h:64,
from /usr/src/linux-2.1/include/linux/sched.h:22,
from init/main.c:17:
/usr/src/linux-2.1/include/asm/string.h:448: warning: control reaches
end of non-void function
/usr/src/linux-2.1/include/asm/string.h: In function
`__constant_c_and_count_memset':
/usr/src/linux-2.1/include/asm/string.h:599: warning: control reaches
end of non-void function
Another couple of warnings I saw in the log was:
sched.c: At top level:
sched.c:318: warning: 'timerlist_lock' defined but not used
(kernel/sched.c)
fork.c: In function 'do fork':
fork.c:440: warning unused variable 'i'
(kernel/fork.c)
The variable is defined at the start of the
function but only used inside an #ifdef __SMP__
time.c: In function 'sys_adjtimex':
time.c:279: warning: suggest explicit braces to avoid ambiguous 'else'
the same warning comes again in:
drivers/char/console.c:1621 (do_con_write)
mm/mprotect.c:190 (mprotect_fixup)
fs/ext2/truncate.c:187 (trunc_indirect)
fs/ext2/truncate.c:249 (trunc_dindirect)
fs/ext2/truncate.c:310 (trunc_tindirect)
fs/pipe.c:53 (pipe_read)
lib/vsprintf.c:118 (number)
lib/vsprintf.c:288 (vsprintf)
arch/i386/kernel/time.c:404 (timer_interrupt)
drivers/scsi/ppa.c:1055 (ppa_engine)
drivers/sound/dmabuf.c:732 (DMAbuf_get_buffer_pointer)
drivers/sound/sb_common.c:905 (sb_dsp_init)
another warning in the sound drivers:
sb_mixer.h: At top level:
sb_mixer.h:139: warning: 'sgnxpro_mix' defined but not used
and another:
dev_table.c: In function 'start services':
dev_table.c:40 warning: unused variable 'soundcards_installed'
and one in fs/nls/nls_cp865.c:
nls_cp865.c: At top level:
nls_cp865.c: 358: warning 'charset2upper' defined but not used
this is repeated in nls_iso8859-1.c:138
My system is a Red Hat 5.0 system
I have a Kingston PCI ethernet card (dec 21041)
AMD K6 200
Kernel 2.1.80-4 + the tiny fix to soundcard.c to get dma working.
Cheers
Kjartan