[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i386 emu build is broken
From: |
Daniel Kiper |
Subject: |
Re: i386 emu build is broken |
Date: |
Fri, 22 Mar 2019 13:28:13 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Mar 19, 2019 at 12:04:11PM +0100, Daniel Kiper wrote:
> Hey,
>
> I am trying to fix various build hiccups before the release.
> During that I found the following issue in i386 emu build.
> It is configured in the following way:
> ./configure --target=i386 --with-platform=emu --enable-grub-mkfont
> --prefix=...
>
> Then during build I see this:
>
> In file included from lib/gnulib/regex.c:71:0:
> lib/gnulib/regcomp.c: In function ‘parse_dup_op’:
> lib/gnulib/regcomp.c:2637:41: error: cast to pointer from integer of
> different size [-Werror=int-to-pointer-cast]
> postorder (elem, mark_opt_subexp, (void *) subidx);
> ^
> lib/gnulib/regcomp.c: In function ‘mark_opt_subexp’:
> lib/gnulib/regcomp.c:3859:13: error: cast from pointer to integer of
> different size [-Werror=pointer-to-int-cast]
> Idx idx = (uintptr_t) extra;
> ^
> cc1: all warnings being treated as errors
False alarm. i386 emu on an x86_64 Linux should be configured in the following
way:
./configure CFLAGS=-m32 --host=i386 --target=i386 --with-platform=emu
--prefix=...
If you want build emu platform for other CPUs then --host has to be equal
--target.
Sorry for the noise.
Daniel