[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: |
Tue, 19 Mar 2019 12:27:20 +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
>
> I do build on Debian 9 (stretch).
>
> How should we fix it? In our Gnulib copy or in original Gnulib?
> Latter sounds better but I am not sure it is quickly feasible.
> Thoughts?
The same issue happens when I build riscv32-linux target:
./configure --target=riscv32-linux --with-platform=efi --enable-grub-mkfont
--prefix=...
I use compiler from here:
http://mirrors.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/x86_64-gcc-8.1.0-nolibc-riscv32-linux.tar.xz
Hmmm... Last week it built correctly. Do we use latest Gnulib from master?
Should not we use specific tag/commit which works for us?
Daniel