Re: Cross compiling user applications for armv7

void <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <aMa2EaFgdICHflJZ@int21h>
Hello,

On Sun, Sep 14, 2025 at 09:24:07AM +0000, Michał Kruszewski wrote:
>I actually build system from the current main branch.
>How do I set up poudriere in such a case?

I'd do it like this, on amd64:

install poudriere-devel and configure poudriere.conf for your system.
(copy /usr/local/etc/poudriere.conf.sample to poudriere.conf and
edit it)
install qemu-user-static
run this: 'binmiscctl enable armv7'
then

poudriere jail -c -j armv7 -J10 -a arm.armv7 -m git+https -K GENERIC-NODEBUG -v main

the -J corresponding to the number of cores you may have.

Note that poudriere uses qemu-user-static for cross-compilation and
you can't build rust (or anything that uses rust) with it, as far as
I'm aware.
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.