Skip to contentSkip to conversation

: processor detection in configure.in breaks detection of kernel config options

ALSA - driver 0000658 [email protected] 1 participant 1 message Dec 29, 2004

lore
Share & tools
lore
#0 lore raw

The following issue has been CLOSED
======================================================================
<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:                     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/