: processor detection in configure.in breaks detection of kernel config options
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=658>
======================================================================
Reported By: eradicator Assigned To: perex ====================================================================== Project: ALSA - driver Issue ID: 658 Category: 0_compilation problem_!!! Reproducibility: always Severity: minor Priority: normal Status: resolved Distribution: Gentoo Kernel Version: 2.6.7 Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 11-19-2004 12:13 CET Last Modified: 11-29-2004 16:14 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
======================================================================
-------------------------------------------------------
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/