Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Marc Zyngier <mzyngier@freesurf.fr>
To: Niki Waibel <niki.waibel@newlogic.com>
Cc: axp-list@redhat.com
Subject: Re: linux-2.5.66-bk2 + patch from Marc Zyngier
Date: 27 Mar 2003 12:20:14 +0100	[thread overview]
Message-ID: <wrpel4t9hu9.fsf@hina.wild-wind.fr.eu.org> (raw)
In-Reply-To: <200303271038.h2RAckh01436@enterprise2.newlogic.at>

>>>>> "Niki" == Niki Waibel <niki.waibel@newlogic.com> 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.




  reply	other threads:[~2003-03-27 11:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-27 10:38 linux-2.5.66-bk2 + patch from Marc Zyngier Niki Waibel
2003-03-27 11:20 ` Marc Zyngier [this message]
2003-03-27 11:37   ` Falk Hueffner
2003-03-27 11:51     ` Marc Zyngier
2003-04-03  9:25   ` Niki Waibel
2003-04-03  9:39     ` Marc Zyngier
2003-04-03 10:36       ` Ivan Kokshaysky
2003-04-03 11:19         ` Marc Zyngier
2003-04-03 12:12           ` Ivan Kokshaysky
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox