On 22/06/2022 10:47, Paolo Bonzini wrote:
> Configure is trying to fall back on cross compilers for targets that
> can have bi-arch or bi-endian toolchains, but there are many corner
> cases where just checking the name can go wrong. For example, the RHEL
> ppc64le compiler is bi-arch and
On 21/06/2022 04:51, Paolo Bonzini wrote:
> This series fixes two bugs with configure's cross compilation detection:
>
> - first, --cross-cflags is not obeyed by pc-bios/ compilation
>
> - second, on a ppc64le machine, the host compiler can be used for ppc64
>tests/tcg;
That may be true for
native tools for
ppc64le-linux-user, and then do_compiler fails because the
$target_cflags contains -mlittle-endian.
>
> On Thu, Jun 16, 2022 at 3:23 AM Alex Bennée wrote:
>>
>>
>> Matheus Kowalczuk Ferst writes:
>>
>>> On 01/06/2022 15:05, Alex Bennée wrote:
On 01/06/2022 15:05, Alex Bennée wrote:
> From: Paolo Bonzini
>
> In preparation for handling more binaries than just cc, handle
> the case of "probe_target_compiler $cpu" directly in the function,
> setting the target_* variables based on the ones that are used to
> build QEMU. The clang check
Power ISA v3.0 introduced mod[su][wd] insns that can be used to
implement rem[u]_i{32,64}.
Signed-off-by: Matheus Ferst
---
tcg/ppc/tcg-target.c.inc | 22 ++
tcg/ppc/tcg-target.h | 4 ++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git
On 08/06/2022 12:54, Paolo Bonzini wrote:
> On 6/8/22 16:21, Matheus Kowalczuk Ferst wrote:
>> Also, we will not have this error at configure-time anymore, but I
>> suppose that *BSD users will identify the problem if they try to build
>> with non-gnu make.
>
> Y
On 07/06/2022 07:49, Paolo Bonzini wrote:
> INSTALL and LIBTOOL are not used anymore, but OBJCFLAGS is new and
> was not listed.
>
> Signed-off-by: Paolo Bonzini
> ---
> configure | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index
On 07/06/2022 07:49, Paolo Bonzini wrote:
> Setting the MAKE variable to a GNU Make executable does not really have
> any effect: if a non-GNU Make is used, the QEMU Makefile will fail to
> parse. Just remove everything related to --make and $make as dead code.
>
> Signed-off-by: Paolo Bonzini