Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Philippe Mathieu-Daudé
>>> I think that currently we try to make "--help" work >>> even if you don't have a working C compiler. Does this >>> break that? >> >> Just checked, configure --help isn't broken with this change: > > Did you test with gcc uninstalled again? It's hard to see > how it could work -- if the compile

Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Peter Maydell
On 1 November 2017 at 19:46, Daniel Henrique Barboza wrote: > On 11/01/2017 05:41 PM, Peter Maydell wrote: >> I think that currently we try to make "--help" work >> even if you don't have a working C compiler. Does this >> break that? > > Just checked, configure --help isn't broken with this chang

Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Daniel Henrique Barboza
On 11/01/2017 05:41 PM, Peter Maydell wrote: On 1 November 2017 at 19:31, Daniel Henrique Barboza wrote: When executing 'configure' in a fresh QEMU clone, in a fresh OS install running in a ppc64le host, this is the error shown: - ../configure --enable-trace-backend=simple --enable-debu

Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Peter Maydell
On 1 November 2017 at 19:31, Daniel Henrique Barboza wrote: > When executing 'configure' in a fresh QEMU clone, in a fresh > OS install running in a ppc64le host, this is the error > shown: > > - > > ../configure --enable-trace-backend=simple --enable-debug > --target-list=ppc64-softmmu >

Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Daniel Henrique Barboza
On 11/01/2017 05:36 PM, Philippe Mathieu-Daudé wrote: Maybe "configure: check $CC available before verifying host CPU" ? If the maintainer is willing to amend the patch before pushing, works for me! Daniel On 11/01/2017 04:31 PM, Daniel Henrique Barboza wrote: When executing 'configur

Re: [Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Philippe Mathieu-Daudé
Maybe "configure: check $CC available before verifying host CPU" ? On 11/01/2017 04:31 PM, Daniel Henrique Barboza wrote: > When executing 'configure' in a fresh QEMU clone, in a fresh > OS install running in a ppc64le host, this is the error > shown: > > - > > ../configure --enable-trace-ba

[Qemu-devel] [PATCH v4] configure: do CC check before verifying host CPU

2017-11-01 Thread Daniel Henrique Barboza
When executing 'configure' in a fresh QEMU clone, in a fresh OS install running in a ppc64le host, this is the error shown: - ../configure --enable-trace-backend=simple --enable-debug --target-list=ppc64-softmmu ERROR: Unsupported CPU = ppc64le, try --enable-tcg-interpreter - This