[Libreoffice] "bad value (atom) for -mtune= switch" on boostrap build

Norbert Thiebaud nthiebaud at gmail.com
Sat Dec 4 14:18:38 PST 2010


On Sat, Dec 4, 2010 at 4:08 PM, Takeshi Abe <tabe at fixedpoint.jp> wrote:
> Hi,
>
> In recent bootstrap build I got an error as follows.
> It seems something wrong happened with mtune=atom, since my machine has flags
> like:
> $ grep '^flags' /proc/cpuinfo
> flags               : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge cmov pat clflush acpi mmx fxsr sse sse2 tm nx up pni est tm2 xtpr rng rng_en ace ace_en ace2 ace2_en phe phe_en pmm pmm_en
>
> changing atom to pentiumpro works for me, but it means reverting
> commit 150c0772b1637bc44fc9a4819cc3908341828d78.
> Any comments?

what is the version of your gcc ?

Norbert

>
> Cheers,
> -- Takeshi Abe
>
> ---
> =============
> Building module mdds
> =============
> Entering /home/tabe/libo/graphite
>
> mkdir: cannot create directory `./unxlngi6.pro/misc/build/silgraphite-2.3.1/engine': File exists
> make[1]: Entering directory `/home/tabe/libo/clone/libs-extern-sys/graphite/unxlngi6.pro/misc/build/silgraphite-2.3.1/engine'
> Making all in src
> make[2]: Entering directory `/home/tabe/libo/clone/libs-extern-sys/graphite/unxlngi6.pro/misc/build/silgraphite-2.3.1/engine/src'
> /bin/bash ../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite\" -DPACKAGE_VERSION=\"2.3.1\" -DPACKAGE_STRING=\"silgraphite\ 2.3.1\" -DPACKAGE_BUGREPORT=\"silgraphite-devel at lists.sourceforge.net\" -DPACKAGE=\"silgraphite\" -DVERSION=\"2.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -Dsize_t=unsigned\ int -DSIZEOF_WCHAR_T=0 -I.  -I../include/graphite -I../src/generic -I../src/font -I../src/segment   -I. -I./unxlngi6.pro/inc/so_graphite -I../inc -I./inc/pch -I./inc -I./unx/inc -I./unxlngi6.pro/inc -I. -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/external -I/home/tabe/libo/solver/330/unxlngi6.pro/inc -I/home/tabe/libo/solenv/unxlngi6/inc -I/home/tabe/libo/solenv/inc -I/home/tab
>  e/libo/res -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/jvm/java-6-openjdk/include/linux -I/usr/lib/jvm/java-6-openjdk/include/native_threads/include -I/usr/include  -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/offuh -I. -I./res -I. -pipe -mtune=atom -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.4 -DSUPD=330 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA     -I. -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/external -I/home/tabe/libo/solver/330/unxlngi6.pro/inc -I/home/tabe/libo/solenv/unxlngi6/inc -I/ho
>  me/tabe/libo/solenv/inc -I/home/tabe/libo/res -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/jvm/java-6-openjdk/include/linux -I/usr/lib/jvm/java-6-openjdk/include/native_threads/include -I/usr/include  -D_FILE_OFFSET_BITS=64 -fPIC  -DNDEBUG -DTRACING -O3 -DNDEBUG -MT Debug.lo -MD -MP -MF .deps/Debug.Tpo -c -o Debug.lo `test -f '../src/generic/Debug.cpp' || echo './'`../src/generic/Debug.cpp
> libtool: compile:  g++ -DPACKAGE_NAME=\"silgraphite\" -DPACKAGE_TARNAME=\"silgraphite\" -DPACKAGE_VERSION=\"2.3.1\" "-DPACKAGE_STRING=\"silgraphite 2.3.1\"" -DPACKAGE_BUGREPORT=\"silgraphite-devel at lists.sourceforge.net\" -DPACKAGE=\"silgraphite\" -DVERSION=\"2.3.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 "-Dsize_t=unsigned int" -DSIZEOF_WCHAR_T=0 -I. -I../include/graphite -I../src/generic -I../src/font -I../src/segment -I. -I./unxlngi6.pro/inc/so_graphite -I../inc -I./inc/pch -I./inc -I./unx/inc -I./unxlngi6.pro/inc -I. -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/external -I/home/tabe/libo/solver/330/unxlngi6.pro/inc -I/home/tabe/libo/solenv/unxlngi6/inc -I/home/tabe/libo/solenv/inc -I/home/tabe/libo/res -I/home/tabe/libo/s
>  olver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/jvm/java-6-openjdk/include/linux -I/usr/lib/jvm/java-6-openjdk/include/native_threads/include -I/usr/include -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/offuh -I. -I./res -I. -pipe -mtune=atom -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.4 -DSUPD=330 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA -I. -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/external -I/home/tabe/libo/solver/330/unxlngi6.pro/inc -I/home/tabe/libo/solenv/unxlngi6/inc -I/home/tabe/libo/solenv/inc -I/home/tabe/libo
>  /res -I/home/tabe/libo/solver/330/unxlngi6.pro/inc/stl -I/home/tabe/libo/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk/include -I/usr/lib/jvm/java-6-openjdk/include/linux -I/usr/lib/jvm/java-6-openjdk/include/native_threads/include -I/usr/include -D_FILE_OFFSET_BITS=64 -fPIC -DNDEBUG -DTRACING -O3 -DNDEBUG -MT Debug.lo -MD -MP -MF .deps/Debug.Tpo -c ../src/generic/Debug.cpp
> ../src/generic/Debug.cpp:1: error: bad value (atom) for -mtune= switch
> make[2]: *** [Debug.lo] Error 1
> make[2]: Leaving directory `/home/tabe/libo/clone/libs-extern-sys/graphite/unxlngi6.pro/misc/build/silgraphite-2.3.1/engine/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/tabe/libo/clone/libs-extern-sys/graphite/unxlngi6.pro/misc/build/silgraphite-2.3.1/engine'
> dmake:  Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_graphite'
> ---
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>


More information about the LibreOffice mailing list