Re: [cfe-users] error: unknown target CPU 'pentium-m'

2018-10-02 Thread George Anchev via cfe-users
I found this info: https://stackoverflow.com/a/35061913 which suggests running: $ llc --version (to show supported architectures) $ llc -march=ARCH -mattr=help (to list "available CPUs" and "available features") So I found for my case: $ llc -march=x86 -mattr=help Available CPUs for this targ

Re: [cfe-users] error: unknown target CPU 'pentium-m'

2018-10-02 Thread George Anchev via cfe-users
On Tue, 2 Oct 2018 04:54:44 -0400 Jeffrey Walton wrote: > Also see > https://lists.llvm.org/pipermail/cfe-dev/2016-March/048049.html Thanks. Unfortunately that still doesn't answer the question. It says: > The -mcpu and -march options are very similar in > clang. In general, they're setting the

Re: [cfe-users] error: unknown target CPU 'pentium-m'

2018-10-02 Thread Jeffrey Walton via cfe-users
On Tue, Oct 2, 2018 at 4:46 AM George Anchev via cfe-users wrote: > ... > So one cannot target architecture 'pentium-m' yet > -mtune for it is possible for that CPU? How can this > be used practically? IOW: how should I modify my > script? Also see https://lists.llvm.org/pipermail/cfe-dev/2016-Ma

Re: [cfe-users] error: unknown target CPU 'pentium-m'

2018-10-02 Thread George Anchev via cfe-users
Hi, On Mon, 1 Oct 2018 17:50:46 -0700 Matthew Fernandez via cfe-users wrote: > It’s hard to guess what you’re doing or what your > expected outcome is without seeing your command > line, I am building ungoogled-chromium using the attached short bash script. For 'native' and 'nocona' everything w