From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 64F023EB36 for ; Thu, 27 Mar 2003 06:23:47 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h2RBNlW06465 for axp-list@listman.redhat.com; Thu, 27 Mar 2003 06:23:47 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h2RBNlV06461 for ; Thu, 27 Mar 2003 06:23:47 -0500 Received: from young-lust.wild-wind.fr.eu.org (lopsy-lu.misterjones.org [62.4.18.26]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h2RBNkQ19799 for ; Thu, 27 Mar 2003 06:23:46 -0500 Received: from hina.wild-wind.fr.eu.org ([192.168.70.139]) by young-lust.wild-wind.fr.eu.org with esmtp (Exim 3.35 #1 (Debian)) id 18yVQB-0004Un-00; Thu, 27 Mar 2003 12:19:47 +0100 Received: from maz by hina.wild-wind.fr.eu.org with local (Exim 3.36 #1 (Debian)) id 18yVQc-0005sY-00; Thu, 27 Mar 2003 12:20:14 +0100 To: Niki Waibel Cc: axp-list@redhat.com Subject: Re: linux-2.5.66-bk2 + patch from Marc Zyngier References: <200303271038.h2RAckh01436@enterprise2.newlogic.at> Organization: Metropolis -- Nowhere X-Attribution: maz From: Marc Zyngier Date: 27 Mar 2003 12:20:14 +0100 Message-ID: In-Reply-To: <200303271038.h2RAckh01436@enterprise2.newlogic.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: mzyngier@freesurf.fr List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: >>>>> "Niki" == Niki Waibel writes: Niki> * compilation needs 2 makefile changes for me (gcc-3.2.2, glibc-2.3.1): Niki> a) remove of ``-nostdinc''. otherwise ``stdarg.h'' which is part of Niki> gcc is not found (maybe a gcc issue) Irk! You really shouldn't have to do that, or something is really screwed with your gcc setup. Here is what I'm using (cross-compiling from x86, since the dual athlon is so much faster... ;-): maz@panther:/mnt/i386/linux-2.5$ alpha-linux-gcc -v Reading specs from /usr/lib/gcc-lib/alpha-linux/3.2/specs Configured with: ../src/configure -v --enable-languages=c --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --with-gxx-include-dir=/usr/alpha-linux/include/g++ --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --build=i386-linux --host=i386-linux --target=alpha-linux Thread model: posix gcc version 3.2 (Debian) I don't even have stdarg.h in my gcc includes... Which file tries to include it ? Niki> b) i get a warning in the alpha kernel part, which is treaded as Niki> error (compilation of *cabriolet*.c afair) Better fix the real problem. Having -Werror is a *very* nice thing (at least it forces people to look at what's going on). Could you try this (compiles, but otherwise untested, as I have no PC164): ===== arch/alpha/kernel/sys_cabriolet.c 1.8 vs edited ===== --- 1.8/arch/alpha/kernel/sys_cabriolet.c Mon Nov 4 16:09:00 2002 +++ edited/arch/alpha/kernel/sys_cabriolet.c Thu Mar 27 12:06:44 2003 @@ -132,11 +132,14 @@ setup_irq(16+4, &isa_cascade_irqaction); } +#ifndef CONFIG_ALPHA_PC164 +/* PC164 is the only case we don't want this to be defined */ static void __init cabriolet_init_irq(void) { common_init_irq(srm_device_interrupt); } +#endif #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_PC164) /* In theory, the PC164 has the same interrupt hardware as the other Thanks, M. -- Places change, faces change. Life is so very strange.