All of lore.kernel.org
 help / color / mirror / Atom feed
* ICC driver compiler fails - alsa-driver-1.0.11
@ 2006-05-14 14:07 Thomas Sullivan
  2006-05-14 17:11 ` Matthias Koenig
  2006-05-15  8:44 ` Takashi Iwai
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Sullivan @ 2006-05-14 14:07 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 344 bytes --]

when compiling alsa driver with ICC 9.0, the configure program reports a
mismatch between the kernel compiler version and the compiler used for this
compilation.
however, the kernel was compiled with the same compiler ICC 9.0
attached are the ./configure output and the config.log file
the commandline run was CC=icc CXX=icpc ./configure

[-- Attachment #1.2: Type: text/html, Size: 354 bytes --]

[-- Attachment #2: configure.output --]
[-- Type: application/octet-stream, Size: 1508 bytes --]

checking for gcc... icc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether icc accepts -g... yes
checking for icc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... icc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether icc needs -traditional... no
checking for current directory... /home/tom/build/alsa-driver-1.0.11
checking cross compile... 
checking for directory with kernel source... /lib/modules/2.6.16.16-genuineintel/source
checking for directory with kernel build... /lib/modules/2.6.16.16-genuineintel/build
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.16.16-genuineintel
checking for GCC version... Kernel compiler: gcc 3.4.6 Used compiler: icc (ICC) 9.0  20051201
Fatal error: Compiler type does not match
Decoded kernel compiler: type=gcc version=3.4.6
Decoded used compiler: type=cc version=9.0
Please, send ./configure output to <alsa-devel@alsa-project.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: config.log --]
[-- Type: text/x-log; name="config.log", Size: 14725 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = metafunk
uname -m = i686
uname -r = 2.6.16.16-genuineintel
uname -s = Linux
uname -v = #1 Sun May 14 02:35:15 EST 2006

/usr/bin/uname -p = athlon-4
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/intel/cc/9.0/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /usr/lib/java/bin
PATH: /usr/lib/java/jre/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt/bin
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1364: checking for gcc
configure:1390: result: icc
configure:1634: checking for C compiler version
configure:1637: icc --version </dev/null >&5
icc (ICC) 9.0  20051201
Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.

configure:1640: $? = 0
configure:1642: icc -v </dev/null >&5
Version 9.0 
configure:1645: $? = 0
configure:1647: icc -V </dev/null >&5
Intel(R) C Compiler for 32-bit applications, Version 9.0    Build 20051201Z Package ID: l_cc_c_9.0.030
Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.
FOR NON-COMMERCIAL USE ONLY

configure:1650: $? = 0
configure:1673: checking for C compiler default output file name
configure:1676: icc    conftest.c  >&5
configure:1679: $? = 0
configure:1725: result: a.out
configure:1730: checking whether the C compiler works
configure:1736: ./a.out
configure:1739: $? = 0
configure:1756: result: yes
configure:1763: checking whether we are cross compiling
configure:1765: result: no
configure:1768: checking for suffix of executables
configure:1770: icc -o conftest    conftest.c  >&5
configure:1773: $? = 0
configure:1798: result: 
configure:1804: checking for suffix of object files
configure:1825: icc -c   conftest.c >&5
configure:1828: $? = 0
configure:1850: result: o
configure:1854: checking whether we are using the GNU C compiler
configure:1878: icc -c   conftest.c >&5
configure:1884: $? = 0
configure:1888: test -z 
			 || test ! -s conftest.err
configure:1891: $? = 0
configure:1894: test -s conftest.o
configure:1897: $? = 0
configure:1910: result: yes
configure:1916: checking whether icc accepts -g
configure:1937: icc -c -g  conftest.c >&5
configure:1943: $? = 0
configure:1947: test -z 
			 || test ! -s conftest.err
configure:1950: $? = 0
configure:1953: test -s conftest.o
configure:1956: $? = 0
configure:1967: result: yes
configure:1984: checking for icc option to accept ANSI C
configure:2054: icc  -c -g -O2  conftest.c >&5
configure:2060: $? = 0
configure:2064: test -z 
			 || test ! -s conftest.err
configure:2067: $? = 0
configure:2070: test -s conftest.o
configure:2073: $? = 0
configure:2091: result: none needed
configure:2109: icc -c -g -O2  conftest.c >&5
conftest.c(2): error: identifier "choke" is undefined
    choke me
    ^

conftest.c(3): error: expected a ";"

compilation aborted for conftest.c (code 2)
configure:2115: $? = 2
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2289: checking for ranlib
configure:2305: found /usr/bin/ranlib
configure:2316: result: ranlib
configure:2366: checking for a BSD-compatible install
configure:2421: result: /usr/bin/ginstall -c
configure:2444: checking how to run the C preprocessor
configure:2479: icc -E  conftest.c
configure:2485: $? = 0
configure:2517: icc -E  conftest.c
conftest.c(9): error #5: could not open source file "ac_nonexistent.h"
  #include <ac_nonexistent.h>
                             ^

configure:2523: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2562: result: icc -E
configure:2586: icc -E  conftest.c
configure:2592: $? = 0
configure:2624: icc -E  conftest.c
conftest.c(9): error #5: could not open source file "ac_nonexistent.h"
  #include <ac_nonexistent.h>
                             ^

configure:2630: $? = 2
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:2674: checking for egrep
configure:2684: result: grep -E
configure:2689: checking for ANSI C header files
configure:2714: icc -c -g -O2  conftest.c >&5
configure:2720: $? = 0
configure:2724: test -z 
			 || test ! -s conftest.err
configure:2727: $? = 0
configure:2730: test -s conftest.o
configure:2733: $? = 0
configure:2822: icc -o conftest -g -O2   conftest.c  >&5
configure:2825: $? = 0
configure:2827: ./conftest
configure:2830: $? = 0
configure:2845: result: yes
configure:2858: checking for an ANSI C-conforming const
configure:2925: icc -c -g -O2  conftest.c >&5
conftest.c(39): warning #592: variable "t" is used before its value is set
      *t++ = 0;
       ^

conftest.c(54): warning #592: variable "b" is used before its value is set
      struct s *b; b->j = 5;
                   ^

configure:2931: $? = 0
configure:2935: test -z 
			 || test ! -s conftest.err
configure:2938: $? = 0
configure:2941: test -s conftest.o
configure:2944: $? = 0
configure:2955: result: yes
configure:2965: checking for inline
configure:2986: icc -c -g -O2  conftest.c >&5
configure:2992: $? = 0
configure:2996: test -z 
			 || test ! -s conftest.err
configure:2999: $? = 0
configure:3002: test -s conftest.o
configure:3005: $? = 0
configure:3017: result: inline
configure:3036: checking whether time.h and sys/time.h may both be included
configure:3061: icc -c -g -O2  conftest.c >&5
conftest.c(17): warning #279: controlling expression is constant
  if ((struct tm *) 0)
      ^

configure:3067: $? = 0
configure:3071: test -z 
			 || test ! -s conftest.err
configure:3074: $? = 0
configure:3077: test -s conftest.o
configure:3080: $? = 0
configure:3091: result: yes
configure:3103: checking whether icc needs -traditional
configure:3145: result: no
configure:3153: checking for current directory
configure:3157: result: /home/tom/build/alsa-driver-1.0.11
configure:3354: checking cross compile
configure:3366: result: 
configure:3381: checking for directory with kernel source
configure:3402: result: /lib/modules/2.6.16.16-genuineintel/source
configure:3405: checking for directory with kernel build
configure:3417: result: /lib/modules/2.6.16.16-genuineintel/build
configure:3422: checking for kernel linux/version.h
configure:3437: result: yes
configure:3441: checking for kernel linux/autoconf.h
configure:3456: result: yes
configure:3460: checking for kernel version
configure:3536: icc -o conftest -g -O2 -I/lib/modules/2.6.16.16-genuineintel/build/include -I/lib/modules/2.6.16.16-genuineintel/source/include    conftest.c  >&5
configure:3539: $? = 0
configure:3541: ./conftest
configure:3544: $? = 0
configure:3577: result: 2.6.16.16-genuineintel
configure:3580: checking for GCC version
configure:3639: icc -o conftest -g -O2 -I/lib/modules/2.6.16.16-genuineintel/build/include -I/lib/modules/2.6.16.16-genuineintel/source/include    conftest.c  >&5
configure:3642: $? = 0
configure:3644: ./conftest
configure:3647: $? = 0
configure:3752: result: Kernel compiler: gcc 3.4.6 Used compiler: icc (ICC) 9.0  20051201

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=set
ac_cv_env_CC_value=icc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_header_stdc=yes
ac_cv_header_time=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_CPP='icc -E'
ac_cv_prog_ac_ct_CC=icc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_gcc_traditional=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
ARCH=''
AS='as'
CC='icc'
CFLAGS='-g -O2'
CONFIG_ALPHA=''
CONFIG_ARCH_PXA=''
CONFIG_ARCH_S3C2410=''
CONFIG_ARCH_SA1100=''
CONFIG_ARM=''
CONFIG_ARM_AMBA=''
CONFIG_BROKEN=''
CONFIG_EXPERIMENTAL=''
CONFIG_FW_LOADER=''
CONFIG_GSC=''
CONFIG_HAVE_PCSP_HOOK=''
CONFIG_HPET=''
CONFIG_I2C=''
CONFIG_I2C_SENSOR=''
CONFIG_INPUT=''
CONFIG_ISA=''
CONFIG_ISAPNP=''
CONFIG_ISAPNP_KERNEL=''
CONFIG_ISA_DMA_API=''
CONFIG_L3=''
CONFIG_MIPS=''
CONFIG_PARISC=''
CONFIG_PARPORT=''
CONFIG_PCI=''
CONFIG_PCMCIA=''
CONFIG_PNP=''
CONFIG_PNP_KERNEL=''
CONFIG_PPC=''
CONFIG_PPC_PMAC=''
CONFIG_PROC_FS=''
CONFIG_RTC=''
CONFIG_SBUS=''
CONFIG_SGI=''
CONFIG_SND=''
CONFIG_SND_AC97_BUS=''
CONFIG_SND_AC97_CODEC=''
CONFIG_SND_AD1816A=''
CONFIG_SND_AD1848=''
CONFIG_SND_AD1848_LIB=''
CONFIG_SND_AD1889=''
CONFIG_SND_ADLIB=''
CONFIG_SND_ALI5451=''
CONFIG_SND_ALS100=''
CONFIG_SND_ALS300=''
CONFIG_SND_ALS4000=''
CONFIG_SND_ARMAACI=''
CONFIG_SND_ASIHPI=''
CONFIG_SND_ATIIXP=''
CONFIG_SND_ATIIXP_MODEM=''
CONFIG_SND_AU1X00=''
CONFIG_SND_AU8810=''
CONFIG_SND_AU8820=''
CONFIG_SND_AU8830=''
CONFIG_SND_AZT2320=''
CONFIG_SND_AZT3328=''
CONFIG_SND_BIT32_EMUL=''
CONFIG_SND_BT87X=''
CONFIG_SND_BT87X_OVERCLOCK=''
CONFIG_SND_CA0106=''
CONFIG_SND_CMI8330=''
CONFIG_SND_CMIPCI=''
CONFIG_SND_CS4231=''
CONFIG_SND_CS4231_LIB=''
CONFIG_SND_CS4232=''
CONFIG_SND_CS4236=''
CONFIG_SND_CS4281=''
CONFIG_SND_CS46XX=''
CONFIG_SND_CS46XX_NEW_DSP=''
CONFIG_SND_CS5535AUDIO=''
CONFIG_SND_DARLA20=''
CONFIG_SND_DARLA24=''
CONFIG_SND_DATE=''
CONFIG_SND_DEBUG=''
CONFIG_SND_DEBUG_DETECT=''
CONFIG_SND_DEBUG_MEMORY=''
CONFIG_SND_DT019X=''
CONFIG_SND_DUMMY=''
CONFIG_SND_DYNAMIC_MINORS=''
CONFIG_SND_ECHO3G=''
CONFIG_SND_EMU10K1=''
CONFIG_SND_EMU10K1X=''
CONFIG_SND_ENS1370=''
CONFIG_SND_ENS1371=''
CONFIG_SND_ES1688=''
CONFIG_SND_ES18XX=''
CONFIG_SND_ES1938=''
CONFIG_SND_ES1968=''
CONFIG_SND_ES968=''
CONFIG_SND_FM801=''
CONFIG_SND_FM801_TEA575X=''
CONFIG_SND_GINA20=''
CONFIG_SND_GINA24=''
CONFIG_SND_GUSCLASSIC=''
CONFIG_SND_GUSEXTREME=''
CONFIG_SND_GUSMAX=''
CONFIG_SND_GUS_SYNTH=''
CONFIG_SND_HARMONY=''
CONFIG_SND_HDA_INTEL=''
CONFIG_SND_HDSP=''
CONFIG_SND_HDSPM=''
CONFIG_SND_HPET=''
CONFIG_SND_HWDEP=''
CONFIG_SND_ICE1712=''
CONFIG_SND_ICE1724=''
CONFIG_SND_INDIGO=''
CONFIG_SND_INDIGODJ=''
CONFIG_SND_INDIGOIO=''
CONFIG_SND_INTEL8X0=''
CONFIG_SND_INTEL8X0M=''
CONFIG_SND_INTERWAVE=''
CONFIG_SND_INTERWAVE_STB=''
CONFIG_SND_KERNELDIR='/lib/modules/2.6.16.16-genuineintel/source'
CONFIG_SND_KORG1212=''
CONFIG_SND_LAYLA20=''
CONFIG_SND_LAYLA24=''
CONFIG_SND_LOOPBACK=''
CONFIG_SND_MAESTRO3=''
CONFIG_SND_MIA=''
CONFIG_SND_MIRO=''
CONFIG_SND_MIXART=''
CONFIG_SND_MIXER_OSS=''
CONFIG_SND_MONA=''
CONFIG_SND_MPU401=''
CONFIG_SND_MPU401_UART=''
CONFIG_SND_MSND_PINNACLE=''
CONFIG_SND_MTPAV=''
CONFIG_SND_MVERSION=''
CONFIG_SND_NM256=''
CONFIG_SND_OPL3SA2=''
CONFIG_SND_OPL3_LIB=''
CONFIG_SND_OPL4_LIB=''
CONFIG_SND_OPTI92X_AD1848=''
CONFIG_SND_OPTI92X_CS4231=''
CONFIG_SND_OPTI93X=''
CONFIG_SND_OSSEMUL=''
CONFIG_SND_PC98_CS4232=''
CONFIG_SND_PCM=''
CONFIG_SND_PCM_OSS=''
CONFIG_SND_PCM_OSS_PLUGINS=''
CONFIG_SND_PCSP=''
CONFIG_SND_PCXHR=''
CONFIG_SND_PDAUDIOCF=''
CONFIG_SND_PDPLUS=''
CONFIG_SND_PORTMAN2X4=''
CONFIG_SND_POWERMAC=''
CONFIG_SND_POWERMAC_AUTO_DRC=''
CONFIG_SND_PXA2XX_AC97=''
CONFIG_SND_PXA2XX_I2SOUND=''
CONFIG_SND_PXA2XX_PCM=''
CONFIG_SND_RAWMIDI=''
CONFIG_SND_RIPTIDE=''
CONFIG_SND_RME32=''
CONFIG_SND_RME9652=''
CONFIG_SND_RME96=''
CONFIG_SND_RTCTIMER=''
CONFIG_SND_S3C2410=''
CONFIG_SND_SA11XX_UDA1341=''
CONFIG_SND_SB16=''
CONFIG_SND_SB16_CSP=''
CONFIG_SND_SB8=''
CONFIG_SND_SBAWE=''
CONFIG_SND_SEQUENCER=''
CONFIG_SND_SEQUENCER_OSS=''
CONFIG_SND_SEQ_DUMMY=''
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=''
CONFIG_SND_SERIALMIDI=''
CONFIG_SND_SERIAL_U16550=''
CONFIG_SND_SGALAXY=''
CONFIG_SND_SONICVIBES=''
CONFIG_SND_SSCAPE=''
CONFIG_SND_SUN_AMD7930=''
CONFIG_SND_SUN_CS4231=''
CONFIG_SND_SUN_DBRI=''
CONFIG_SND_SUPPORT_OLD_API=''
CONFIG_SND_TIMER=''
CONFIG_SND_TRIDENT=''
CONFIG_SND_USB_AUDIO=''
CONFIG_SND_USB_USX2Y=''
CONFIG_SND_VERBOSE_PRINTK=''
CONFIG_SND_VERBOSE_PROCFS=''
CONFIG_SND_VERSION='1.0.11'
CONFIG_SND_VIA82XX=''
CONFIG_SND_VIA82XX_MODEM=''
CONFIG_SND_VIRMIDI=''
CONFIG_SND_VX222=''
CONFIG_SND_VXPOCKET=''
CONFIG_SND_VX_LIB=''
CONFIG_SND_WAVEFRONT=''
CONFIG_SND_YMFPCI=''
CONFIG_SOC_AU1000=''
CONFIG_SOC_AU1100=''
CONFIG_SOC_AU1500=''
CONFIG_SOUND=''
CONFIG_SOUND_PRIME=''
CONFIG_SPARC32=''
CONFIG_SPARC64=''
CONFIG_SPARC=''
CONFIG_USB=''
CONFIG_VIDEO_DEV=''
CONFIG_X86=''
CONFIG_X86_64=''
CONFIG_X86_PC9800=''
CPP='icc -E'
CPPFLAGS=''
CROSS_COMPILE=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
EXTRA_INCLUDES=''
GENKSYMS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KERNEL_INC='-I/lib/modules/2.6.16.16-genuineintel/build/include -I/lib/modules/2.6.16.16-genuineintel/source/include'
KLD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKE_ADDS='O=/lib/modules/2.6.16.16-genuineintel/build'
NEW_KBUILD=''
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SHELL='/bin/sh'
SRCDIR='/home/tom/build/alsa-driver-1.0.11'
ac_ct_CC='icc'
ac_ct_RANLIB='ranlib'
bindir='${exec_prefix}/bin'
build_alias=''
c_opts=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
kaversion='2.6.16.16-genuineintel'
kextraversion='.16-genuineintel'
kpatchlevel='6'
ksublevel='16'
kversion='2'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
m_opts=''
mandir='${prefix}/man'
moddir=''
moddir_tree=''
modsubdir=''
msmp=''
oldincludedir='/usr/include'
prefix='NONE'
processor=''
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1

configure: exit 1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ICC driver compiler fails - alsa-driver-1.0.11
  2006-05-14 14:07 ICC driver compiler fails - alsa-driver-1.0.11 Thomas Sullivan
@ 2006-05-14 17:11 ` Matthias Koenig
       [not found]   ` <ac06b020605150125g589a5e0code9fdfb01c94a656@mail.gmail.com>
  2006-05-15  8:44 ` Takashi Iwai
  1 sibling, 1 reply; 4+ messages in thread
From: Matthias Koenig @ 2006-05-14 17:11 UTC (permalink / raw)
  To: Thomas Sullivan; +Cc: alsa-devel

"Thomas Sullivan" <metafunk@gmail.com> writes:
> when compiling alsa driver with ICC 9.0, the configure program reports a
> mismatch between the kernel compiler version and the compiler used for this
> compilation.
> however, the kernel was compiled with the same compiler ICC 9.0
> attached are the ./configure output and the config.log file
> the commandline run was CC=icc CXX=icpc ./configure

Btw, it is safer to put the Variable assignments as parameters to configure:
./configure CC=icc CXX=icpc 

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:3639: icc -o conftest -g -O2 -I/lib/modules/2.6.16.16-genuineintel/build/include -I/lib/modules/2.6.16.16-genuineintel/source/include    conftest.c  >&5
> configure:3642: $? = 0
> configure:3644: ./conftest
> configure:3647: $? = 0
> configure:3752: result: Kernel compiler: gcc 3.4.6 Used compiler: icc (ICC) 9.0  20051201
> KERNEL_INC='-I/lib/modules/2.6.16.16-genuineintel/build/include -I/lib/modules/2.6.16.16-genuineintel/source/include'

Hmm, the configure test for the kernel comiler just scans the compile.h 
header of the kernel sources. Could you please post the contents of
/lib/modules/2.6.16.16-genuineintel/source/include/linux/compile.h ?
Especially the makro LINUX_COMPILER.

Regards,
Matthias


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ICC driver compiler fails - alsa-driver-1.0.11
  2006-05-14 14:07 ICC driver compiler fails - alsa-driver-1.0.11 Thomas Sullivan
  2006-05-14 17:11 ` Matthias Koenig
@ 2006-05-15  8:44 ` Takashi Iwai
  1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2006-05-15  8:44 UTC (permalink / raw)
  To: Thomas Sullivan; +Cc: alsa-devel

At Mon, 15 May 2006 00:07:46 +1000,
Thomas Sullivan wrote:
> 
> when compiling alsa driver with ICC 9.0, the configure program reports a mismatch
> between the kernel compiler version and the compiler used for this compilation.
> however, the kernel was compiled with the same compiler ICC 9.0
> attached are the ./configure output and the config.log file
> the commandline run was CC=icc CXX=icpc ./configure

The kernel compiler is detected from the include file
$KERNDIR/include/linux/compile.h.  Check that file whether you really
have icc there.


Takashi


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ICC driver compiler fails - alsa-driver-1.0.11
       [not found]   ` <ac06b020605150125g589a5e0code9fdfb01c94a656@mail.gmail.com>
@ 2006-05-15 10:59     ` Matthias Koenig
  0 siblings, 0 replies; 4+ messages in thread
From: Matthias Koenig @ 2006-05-15 10:59 UTC (permalink / raw)
  To: Thomas Sullivan; +Cc: alsa-devel

"Thomas Sullivan" <metafunk@gmail.com> writes:
>> Could you please post the contents of
>> /lib/modules/2.6.16.16-genuine> intel/source/include/linux/compile.h ?
>> Especially the makro LINUX_COMPILER
>
> /lib/modules/2.6.16.16-genuineintel/source/include/linux/compile.h:
>
> #define LINUX_COMPILER "gcc version 3.4.6"
>
> Well, evidently ICC must be acting in some sort of compatibility mode when
> compiling the kernel. I wouldn't have thought it would be the default. Ah
> well, thanks for looking anyway.

Hmm, are you really sure that you did compile the kernel with icc?
What was the exact commandline you compiled the kernel?
I'm just asking, because recently I noticed, that doing a
CC=my-gcc make
for the kernel tree does not work as expected, because the 
Variable definitions in the Makefile have precedence over the 
environment Variables. If you want to override Makefile variables
you should use
make CC=my-gcc
or explicitly instruct make to give environment variables precedence
with the -e option.

> PS Oh yeah, how come it's safer to pass CC & CXX as parameters than
> otherwise? I would have thought it was pretty much equivalent

I can't remember exactly where I've read this, but there might be some
problems with passing variables by environment to configure.
In the autoconf manual is just a short note:

"Variables not defined in a site shell script can be set in the
environment passed to `configure'.  However, some packages may run
configure again during the build, and the customized values of these
variables may be lost.  In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'.  For example:

     ./configure CC=/usr/local2/bin/gcc

will cause the specified gcc to be used as the C compiler (unless it is
overridden in the site shell script)."

Matthias

PS: I added alsa-devel again to CC (and posting from my subscription address)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-15 10:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-14 14:07 ICC driver compiler fails - alsa-driver-1.0.11 Thomas Sullivan
2006-05-14 17:11 ` Matthias Koenig
     [not found]   ` <ac06b020605150125g589a5e0code9fdfb01c94a656@mail.gmail.com>
2006-05-15 10:59     ` Matthias Koenig
2006-05-15  8:44 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.