From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id EB40E2F7CC for ; Fri, 2 Feb 2001 00:55:26 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f125tSZ00406 for axp-list@listman.redhat.com; Fri, 2 Feb 2001 00:55:28 -0500 Received: from newton.math.purdue.edu (root@newton.math.purdue.edu [128.210.3.6]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f125tRd00402 for ; Fri, 2 Feb 2001 00:55:27 -0500 Received: from polya.math.purdue.edu (lucier@polya.math.purdue.edu [128.210.3.194]) by newton.math.purdue.edu (8.10.1/8.10.1/PURDUE_MATH-4.0) with ESMTP id f125tIL17539; Fri, 2 Feb 2001 00:55:18 -0500 (EST) Received: (from lucier@localhost) by polya.math.purdue.edu (8.10.1/8.10.1/PURDUE_MATH-4.0) id f125tI507936; Fri, 2 Feb 2001 00:55:18 -0500 (EST) Date: Fri, 2 Feb 2001 00:55:18 -0500 (EST) Message-Id: <200102020555.f125tI507936@polya.math.purdue.edu> From: lucier@math.purdue.edu To: axp-list@redhat.com Subject: Kernel 2.4.1 warnings are troubling Cc: lucier@math.purdue.edu, staff@math.purdue.edu, wilker@math.purdue.edu X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors I'd like to build 2.4.1 on my DP264 machine that originally ran Red Hat 6.0; I've upgraded some of the software over time, but much of it remains the same (especially glibc). When I build 2.4.1 with gcc 2.95.1 and binutils 2.9.5.0.27, with a pretty generic .config except for setting machine type to DP264 and enabling SMP support, I get the following warnings, which I find somewhat troubling, especially the ones in math.c: gcc -D__KERNEL__ -I/export/u10/linux-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -c -o locks.o locks.c locks.c: In function `locks_insert_block': locks.c:418: warning: long long int format, loff_t arg (arg 3) locks.c:418: warning: long long int format, loff_t arg (arg 4) locks.c: In function `lock_get_status': locks.c:1763: warning: long long int format, loff_t arg (arg 3) locks.c:1767: warning: long long int format, loff_t arg (arg 3) gcc -D__KERNEL__ -I/export/u10/linux-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -c -o time.o time.c In file included from time.c:49: irq_impl.h:15: warning: `RTC_IRQ' redefined /export/u10/linux-2.4.1/include/asm/mc146818rtc.h:27: warning: this is the location of the previous definition gcc -D__KERNEL__ -I/export/u10/linux-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -c -o init.o init.c init.c: In function `callback_init': init.c:322: warning: assignment makes pointer from integer without a cast gcc -D__KERNEL__ -I/export/u10/linux-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -c -o fpreg.o fpreg.c fpreg.c: In function `alpha_read_fp_reg': fpreg.c:16: warning: `val' might be used uninitialized in this function fpreg.c: In function `alpha_read_fp_reg_s': fpreg.c:109: warning: `val' might be used uninitialized in this function gcc -D__KERNEL__ -I/export/u10/linux-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8 -mcpu=ev6 -Wa,-mev6 -c -o math.o math.c math.c: In function `alpha_fp_emul': math.c:204: warning: right shift count is negative math.c:220: warning: left shift count is negative math.c:238: warning: statement with no effect math.c:258: warning: right shift count >= width of type math.c:258: warning: right shift count >= width of type math.c:262: warning: right shift count >= width of type math.c:262: warning: right shift count >= width of type math.c:270: warning: statement with no effect math.c:270: warning: statement with no effect math.c:270: warning: statement with no effect math.c:277: warning: statement with no effect math.c:277: warning: statement with no effect math.c:277: warning: statement with no effect math.c:99: warning: `SR_c' might be used uninitialized in this function math.c:99: warning: `SR_s' might be used uninitialized in this function math.c:99: warning: `SR_e' might be used uninitialized in this function math.c:99: warning: `SR_f' might be used uninitialized in this function math.c:100: warning: `DR_c' might be used uninitialized in this function math.c:100: warning: `DR_s' might be used uninitialized in this function math.c:100: warning: `DR_e' might be used uninitialized in this function math.c:100: warning: `DR_f' might be used uninitialized in this function Usually I go through the boot log and correct warnings before installing the 2.2 series kernels, but I don't know what to do about the math.c warnings. Any suggestions? Brad Lucier