Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2012 10:47:26 -0500
From:      Howard Goldstein <hg@queue.to>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: wine, gcc and clang with CPUTYPE
Message-ID:  <5097DF8E.3020803@queue.to>
In-Reply-To: <5087D069.7040700@gmail.com>
References:  <50879F62.2010004@gmail.com> <5087BD71.9090002@FreeBSD.org> <5087C428.2020908@gmail.com> <5087CA5D.2090407@FreeBSD.org> <5087D069.7040700@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 10/24/2012 07:26, Volodymyr Kostyrko wrote:
> 24.10.2012 14:00, Dimitry Andric wrote:
>>>> On the problematic athlons, can you please post the exact CPUIDs from
>>>> dmesg?  If you have WITH_CLANG_EXTRAS enabled, please also post the
>>>> output of "opt -version".
>>>
>>> Oct 24 01:47:20 limbo kernel: CPU: AMD Athlon(tm) XP 2500+ (1833.95-MHz
>>> 686-class CPU)
>>> Oct 24 01:47:20 limbo kernel: Origin = "AuthenticAMD"  Id = 0x6a0
>>> Family = 0x6  Model = 0xa  Stepping = 0
>>
>> Ok, this CPU should be recognized by llvm as "athlon-xp".  There is in
>> fact no need to compile all the WITH_CLANG_EXTRAS programs, I just
>> remembered.
>>
>> If you compile a sample program with -march=native -v, it should show
>> you the detected CPU in the verbose command line output, e.g.:
>>


Volodymyr, your initial email in this thread regarding clang's being
stuck on native code generation allowed me to wrap up a week of fighting
with an updated production box with a weird wine issue - thank you!

FWIW I filed a pr on this.  You've done much more useful legwork towards
a solution of the problem and I wanted to point it out to everyone how
helpful it was.  THANK YOU!

The pr is at http://www.freebsd.org/cgi/query-pr.cgi?pr=173337

Howard



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iD8DBQFQl9+UdYVFuiUUgywRAttyAKCTAXa+IszhZd+OYtBRbuthmQ+REgCg8Rjn
2vrLR7IUHAlNW3UiyeXTNFI=
=Q/Ca
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5097DF8E.3020803>