redhat enterprise 4 (still widely in use in coorp env.) $ g++ --version g++ (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11) make[2]: Entering directory `/usr/src/xapian/xapian-core-1.2.2/.build' depbase=`echo api/decvalwtsource.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include -I../languages -Ilanguages -I../queryparser -mfpmath=sse -msse2 -mtune=generic -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Woverloaded-virtual -g -O2 -MT api/decvalwtsource.lo -MD -MP -MF $depbase.Tpo -c -o api/decvalwtsource.lo ../api/decvalwtsource.cc &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include -I../languages -Ilanguages -I../queryparser -mfpmath=sse -msse2 -mtune=generic -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow -Woverloaded-virtual -g -O2 -MT api/decvalwtsource.lo -MD -MP -MF api/.deps/decvalwtsource.Tpo -c ../api/decvalwtsource.cc -fPIC -DPIC -o api/.libs/decvalwtsource.o ../api/decvalwtsource.cc:1: error: bad value (generic) for -mtune= switch make[2]: *** [api/decvalwtsource.lo] Error 1 make[2]: Leaving directory `/usr/src/xapian/xapian-core-1.2.2/.build' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/xapian/xapian-core-1.2.2/.build' make: *** [all] Error 2 removing -mtune=generic created a good build. A probe would be nice. -- Reini Urban
On Wed, Jul 21, 2010 at 08:13:04AM +0200, Reini Urban wrote:> removing -mtune=generic created a good build. > A probe would be nice.Thanks for your report. This is already fixed in trunk and documented in the release notes: http://trac.xapian.org/wiki/ReleaseNotes/1.2.2#xapian-core Cheers, Olly