[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cross compiling coreutils and manpages
From: |
Bernhard Voelker |
Subject: |
Re: Cross compiling coreutils and manpages |
Date: |
Mon, 10 Nov 2014 22:54:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/09/2014 09:46 PM, Christer Solskogen wrote:
> On 07.11.2014 16:29, Bernhard Voelker wrote:
>
>> Is this only failing for chroot.1, or for others, too?
>> I assume your cross build target platform does not support
>> chroot(2), and therefore the chroot executable is not built.
>>
>
> No, not only chroot. make -k shows that it fails on almost everything.
> (My target is linux on x86_64, for which I'm pretty sure chroot is
> supported :-)
This reminds me about an issue we had with parallel builds (make -jNUM)
in coreutils-8.23. This was the fix:
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=f51c44bd1e
However, building without -jNUM or with -j1, i.e., without parallel
building, did not have this dependency problem.
Does it work with yet another "make -j1"?
If not, what does the following command output?
$ src='/home/solskogen/obj/work/coreutils-8.23.ventrix/src'
$ perl -- ./man/help2man --include="$src/man/yes.x "$src/yes"
... ouch, STOP!
You said you're cross-compiling - and that the target architecture
is x86_64. Is such a binary executable on the build host?
Thanks & have a nice day,
Berny