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 Nov 19, 2004

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<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:                     assigned
Distribution:               Gentoo
Kernel Version:             2.6.7
======================================================================
Date Submitted:             11-19-2004 12:13 CET
Last Modified:              11-19-2004 12:13 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).
======================================================================

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           

======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8