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 106C12F0F8 for ; Mon, 30 Jul 2001 00:52:23 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f6U4kCO17881 for axp-list@listman.redhat.com; Mon, 30 Jul 2001 00:46:12 -0400 Received: from avalon.gci.net (165-128-237-24.anc-dial.gci.net [24.237.128.165]) by mail.redhat.com (8.11.0/8.8.7) with SMTP id f6U4k8g17873 for ; Mon, 30 Jul 2001 00:46:09 -0400 Received: (qmail 17278 invoked by uid 1000); 30 Jul 2001 02:36:56 -0000 Message-ID: <20010730023656.17276.qmail@avalon.gci.net> From: bryan@ak.net Subject: kernel bug To: axp-list@redhat.com Date: Sun, 29 Jul 2001 18:36:56 -0800 (AKDT) X-Mailer: ELM [version 2.5 PL1] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.0.1 Precedence: bulk Reply-To: axp-list@redhat.com X-Reply-To: bryan@ak.net List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: Hi -- occasionally, when I compile somthing on my alpha, I get this error: In file included from /usr/src/linux/include/asm/semaphore.h:11, from /usr/src/linux/include/linux/fs.h:173, from fakeaudio.c:25: /usr/src/linux/include/asm/current.h:4: global register variable follows a function definition /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable make: *** [fakeaudio.o] Error 1 I mentioned this on the list last September, and Richard June said the workaround was to add '#include ' before anything else. It worked at the time, and I tried the same thing this time. While the program compiled, I still got this warning: In file included from fakeaudio.c:21: /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable I'm using kernel 2.2.19 now, which is of course an upgrade from whatever I was using last year. Is there someone on this list that may be able to address this issue in the kernel? I'm not familiar with the details of kernel innards or alpha architechture, I just run into this bug sometimes while compiling software. -- Bryan Medsker bryan@ak.net