From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: x86_64 builds Date: Tue, 08 Jun 2004 18:11:37 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <40C4DD7B.40809@sun.com> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <40C4DD7B.40809@sun.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Florian Bomers Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 07 Jun 2004 14:26:19 -0700, Florian Bomers wrote: > > Hi, > > when trying to compile ALSA drivers 1.0.5a on SLES 8.1 with > kernel 2.4.19, the configure script always detected "k8" so > gcc was called with "-march=athlon". This resulted in module > binding problems, and I could not find a way to explicitly > compile for x86_64. I hacked configure.in so the check > > #elif defined(CONFIG_X86_64) > fprintf(file, "x86_64"); > > comes right at the beginning of the long list of #elif's. On > AMD64, both CONFIG_MK8 and CONFIG_X86_64 are defined, so > without the hack the configure script would always assume k8. > > I think it makes sense to modify configure.in so that it > compiles for 64-bit by default, or, at least, add a > configure parameter to explicitly choose 64-bit. Right. I'll fix this on CVS. thanks, Takashi ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org