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

Norbert Thiebaud nthiebaud at gmail.com
Sat Dec 4 14:52:23 PST 2010


On Sat, Dec 4, 2010 at 4:31 PM, Takeshi Abe <tabe at fixedpoint.jp> wrote:
> Hi Norbert,
>
> On Sat, 4 Dec 2010 16:18:38 -0600, Norbert Thiebaud <nthiebaud at gmail.com> wrote:
>> 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 ?
> $ gcc --version
> gcc (Debian 4.4.5-8) 4.4.5
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

http://gcc.gnu.org/gcc-4.5/changes.html

apparently  -mtune=atom require gcc 4.5. I think that commit need to
be reverted, and that flags selection need to be move in configure.in

Norbert

>
> Cheers,
> -- Takeshi Abe
>


More information about the LibreOffice mailing list