[cfe-users] Cannot start a program after a successful build: 'Illegal instruction (core dumped)'

2018-11-12 Thread George Anchev via cfe-users
Hi, I have been using LLVM to build ungoogled-chromium (UC) since Sept.2018. I have also been updating LLVM from SVN and rebuilding it without any issues. The other day I updated and rebuilt LLVM again after which I rebuilt UC - the same version which has been running fine to that moment. However

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

2018-10-24 Thread George Anchev via cfe-users
I still hope for some help. Or where should I ask please? -- George ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

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 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

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

2018-10-01 Thread George Anchev via cfe-users
Can anyone help please? -- George ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

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

2018-09-26 Thread George Anchev via cfe-users
Hi, I am trying to cross compile a program on an i7 CPU for a target "Intel(R) Celeron(R) M processor 1.50GHz". Here is `cat /proc/cpuinfo` for the target: https://susepaste.org/bd4b76fd In my attempt to find the proper architecture name I ran: gcc -march=native -Q --help=target | grep -- '-mar