rc3 chokes on intel nocona chip
sean darcy <[email protected]> Wed, 26 Dec 2007 13:41:10 -0500
| Newsgroups | gmane.comp.video.mjpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
Using the src.rpm on Fedora 8: ............ checking for vlineColor in -lSDL_gfx... no checking Architecture... x86_64 checking if C compiler accepts inline MMX assembly... yes checking sub-architecture settings... Your does not even support "i386" for '-march' and -mtune. checking what warning flags to pass to the C compiler... -Wall -Wunused ............ and then, it uses the warning for CFLAGS: ...................... gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../utils Your does not even support i386 for -march and -mtune. -O2 -fPIC -funswitch-loops -ftree-vectorize -fvisibility-inlines-hidden -mtune=nocona -pipe -frename-registers -pthread -Wall -Wunused -MT build_sub22_mests.lo -MD -MP -MF .deps/build_sub22_mests.Tpo -c build_sub22_mests.c -fPIC -DPIC -o .libs/build_sub22_mests.o gcc: Your: No such file or directory gcc: does: No such file or directory gcc: not: No such file or directory gcc: even: No such file or directory ............. It's not an exotic cpu: cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 cpu MHz : 2800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr bogomips : 6004.17 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz stepping : 3 cpu MHz : 2800.000 cache size : 2048 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr bogomips : 5999.60 clflush size : 64 cache_alignment : 128 address sizes : 36 bits physical, 48 bits virtual power management: Clearly cpuinfo.sh doesn't like it: sh -x cpuinfo.sh: ........... + proc=pentium4 + cat + test pentium4 = athlon64 + test pentium4 = athlon-xp + test pentium4 = athlon-4 + test pentium4 = athlon-tbird + test pentium4 = k6-3 + test pentium4 = k6-2 + test pentium4 = k6 + test pentium4 = pentium4 + do_cc -march=pentium4 -mtune=pentium4 + gcc -o conftest conftest.c -march=pentium4 -mtune=pentium4 + proc=i686 + test i686 = i686 + do_cc -march=i686 -mtune=i686 + gcc -o conftest conftest.c -march=i686 -mtune=i686 + proc=i586 + test i586 = i586 + do_cc -march=i586 -mtune=i586 + gcc -o conftest conftest.c -march=i586 -mtune=i586 + proc=i486 + test i486 = i486 + do_cc -march=i486 -mtune=i486 + gcc -o conftest conftest.c -march=i486 -mtune=i486 + proc=i386 + test i386 = i386 + do_cc -march=i386 -mtune=i386 + gcc -o conftest conftest.c -march=i386 -mtune=i386 + proc=error + test error = error + echo 'Your does not even support "i386" for '\''-march'\'' and -mtune.' Your does not even support "i386" for '-march' and -mtune. ........... In any event, the error message from cpuinfo.sh shouldn't be used as CFLAG. I couldn't see where Makefile picked it up. sean ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/