Re: Can't cross-compile HEAD

From: Mateusz Guzik <mjguzik_at_gmail.com>
Date: Fri, 17 Jan 2020 17:23:02 +0100
On 1/17/20, Pavel Timofeev <timp87_at_gmail.com> wrote:
> Rebuilding r356831 now
> The error is :
>
> ===> libexec/rtld-elf (all)
>
>                                                             [15/1930]
> /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c: In
> function 'free_tls':
> /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c:4925:24:
> warning: variable 'tls_init_align' set but not used
> [-Wunused-but-set-variable]
>      size_t dtvsize, i, tls_init_align;
>                         ^~~~~~~~~~~~~~
> /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c: In
> function 'do_dlsym':
> /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf/rtld.c:3516:28:
> warning: variable 'defobj' might be clobbered by 'longjmp' or 'vfork'
> [-Wclobbered]
>      const Obj_Entry *obj, *defobj;
>                             ^~~~~~
> /usr/home/pavel.timofeev/mips/head/lib/libc/gen/opendir.c: In function
> 'is_unionstack':
> /usr/home/pavel.timofeev/mips/head/lib/libc/gen/opendir.c:282:40:
> error: macro "_fcntl" requires 3 arguments, but only 2 given
>   unionstack = _fcntl(fd, F_ISUNIONSTACK);
>                                         ^
> /usr/home/pavel.timofeev/mips/head/lib/libc/gen/opendir.c:282:13:
> error: assignment makes integer from pointer without a cast
> [-Werror=int-conversion]
>   unionstack = _fcntl(fd, F_ISUNIONSTACK);
>              ^
> cc1: all warnings being treated as errors
> --- opendir.o ---
> *** [opendir.o] Error code 1
>
> make[4]: stopped in /usr/home/pavel.timofeev/mips/head/libexec/rtld-elf
> 1 error
>

This one is mine. You are one revision short of the build fix in r356832

-- 
Mateusz Guzik <mjguzik gmail.com>
Received on Fri Jan 17 2020 - 15:23:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC