Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2020 17:23:02 +0100
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Pavel Timofeev <timp87@gmail.com>
Cc:        Kyle Evans <kevans@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>,  Adrian Chadd <adrian@freebsd.org>
Subject:   Re: Can't cross-compile HEAD
Message-ID:  <CAGudoHGcQxNuMx0qu-1zkGC6M%2BhVhDHs-xmprpV0vtL7KOVNJg@mail.gmail.com>
In-Reply-To: <CAAoTqfvGOeVjP%2Bd=n94a%2BphypL0YMjDOeSRUY5gF9P4CbAhQLw@mail.gmail.com>
References:  <CAAoTqftF5ppz421CvvJU%2BauB1bsBWNCUepYVgcSEV9Bmdqg3NQ@mail.gmail.com> <CAAoTqfvqeBDy5oKh1hfjm5G88ehYz_bJ_D%2BxiFQaD_bvP9R0Hw@mail.gmail.com> <CACNAnaGZsZpitsfPG6x-0nrNajA43ZHrtm73GnUMnbqW9OyKRQ@mail.gmail.com> <CAAoTqfvV%2BQF3owbPvw6BcwSj=Wj1k%2B=uLtxWb2%2BF_7WiOKOHsA@mail.gmail.com> <CACNAnaF-AHNu3gAsHk16iBZU5YCYfbwYZtUq7mH%2B0ANuZOHBGw@mail.gmail.com> <CAAoTqfsHA6=Z2Qg9QgradpuGKP6ourQx4KGPdkO%2ByBRGz6vMpA@mail.gmail.com> <CAAoTqfvGOeVjP%2Bd=n94a%2BphypL0YMjDOeSRUY5gF9P4CbAhQLw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/17/20, Pavel Timofeev <timp87@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHGcQxNuMx0qu-1zkGC6M%2BhVhDHs-xmprpV0vtL7KOVNJg>