From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000658]: processor detection in configure.in breaks detection of kernel config options Date: Wed, 29 Dec 2004 14:32:18 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 0797726D for ; Wed, 29 Dec 2004 14:32:18 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org The following issue has been CLOSED ====================================================================== ====================================================================== Reported By: eradicator Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 658 Category: 0_compilation problem_!!! Reproducibility: always Severity: minor Priority: normal Status: closed Distribution: Gentoo Kernel Version: 2.6.7 Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 11-19-2004 12:13 CET Last Modified: 12-29-2004 14:32 CET ====================================================================== Summary: processor detection in configure.in breaks detection of kernel config options Description: The location of the processor detection code in configure.in needs to be moved to the end of configure.in after all calls to CHECK_KERNEL_CONFIG and AC_TRY_RUN. This is because the processor detection code changes CC (which is used by CHECK_KERNEL_CONFIG) to the compiler used by kernel compilation. The kernel compiler might not be able to make runable binaries (such as when libc is not available for its target and thus should not be used for AC_TRY_RUN (which is used by CHECK_KERNEL_CONFIG). This was experienced on Gentoo/Sparc and resulted in kernel modules being built for the wrong kernel configuration (such as not detecting procfs). ====================================================================== ---------------------------------------------------------------------- tiwai - 11-29-04 16:14 ---------------------------------------------------------------------- This should have been fixed on CVS. Issue History Date Modified Username Field Change ====================================================================== 11-19-04 12:13 eradicator New Issue 11-19-04 12:13 eradicator File Added: alsa-driver-1.0.7-configure.patch 11-19-04 12:13 eradicator Distribution => Gentoo 11-19-04 12:13 eradicator Kernel Version => 2.6.7 11-29-04 16:14 tiwai Status assigned => resolved 11-29-04 16:14 tiwai Resolution open => fixed 11-29-04 16:14 tiwai Note Added: 0002651 12-29-04 14:32 tiwai Status resolved => closed ====================================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/