Setting up Poudriere Jail to compile Armv7 32 code. https://ghostbsd-arm64.blogspot.com/ Nuno Teixeira

From: Fred Finster <fred_at_thegalacticzoo.com>
Date: Wed, 30 Jul 2025 17:48:57 UTC
> Hello,
>
> Looking for a quick way to add 14.3 armv7 jail to poudriere running on rpi4.
> Wandering if I can use iso directly on poudriere:
> https://download.freebsd.org/releases/arm/armv7/ISO-IMAGES/14.3/FreeBSD-14.3-RELEASE-arm-armv7-GENERICSD.img.xz
>
> Any hints are welcome.
>
> Thanks,
>
> -- 
> Nuno Teixeira
> FreeBSD UNIX:<eduardo@FreeBSD.org>   Web:https://FreeBSD.org <https://FreeBSD.org>
I used 64 bit Raspberry Pi 4B image executing on my raspberry Pi 4B 
hardware to setup and execute Poudriere in 64 bit mode.  I assume the 
compiler CLANG target-arch can be set for Armv7 32bit code output.   I 
wrote my rough notes, as I performed the steps to build a jail and setup 
poudriere,  to remind myself how to do this again in the same manner.  
Use my notes, if you find them helpful.  You are welcome to add your own 
comments below each blog post, if you found a different method to 
accomplish your task for Armv7 32-bit output.  Your input is welcome for 
Armv7  32 bit.  I would be interested in creating a new post 
specifically about setting up poudriere and the details to compile for 
Armv7 32 bit, using CLANG options for a Poudriere Jail.   Exactly what 
you are going to accomplish, Nuno Teixeira.  Let me know in the blog 
comments what details are missing.  We can make that new blog post.  You 
may email me directly, with more questions and comments to 
fred@thegalacticzoo.com.

My setup was for Armv8  64 bit. running directly on the Raspi4B with 8GB 
dram and a 1 terabyte USB SSD,  Like SamSung T7  or PNY USB SSD.  
Hardware is Down now. http://ghostbsd-arm64.hopto.org was the initial 
access point.  Ask for details.

https://ghostbsd-arm64.blogspot.com/  My Blog post about compiling 
FreeBSD /GhostBSD-Arm64 using make buildworld , make buildkernel and 
using Poudriere for ports on a Raspberry Pi 4B with 8GB dram.   Search 
on single words like Poudriere, Jail, Compile,  500GB  to find what blog 
post I have created that details your inquiry for knowledge.  Let me 
know if the following links help you setup your own Armv7 32-bit compile 
workstation.

https://ghostbsd-arm64.blogspot.com/2023/10/poudriere-setup-to-compile-from.html

https://ghostbsd-arm64.blogspot.com/2023/02/poudriere-build-setup-update-freebsd.html

https://ghostbsd-arm64.blogspot.com/2023/10/compiling-ghostbsd-src-code-what-i.html

https://ghostbsd-arm64.blogspot.com/2023/10/poudriere-enhancements-to-ccache-for.html


I probably missed the mark on the target,  Nuno Teixeira.  Let me know 
so that I might improve the detail about the jail setup. Vermaden has 
great posts about setting up Poudriere.  I referenced his documentation 
via URL link in my post.  Here is his direct link to setting poudriere 
inside a Jail.

https://vermaden.wordpress.com/2025/07/03/poudriere-inside-freebsd-vnet-jail/ 
Poudriere inside FreeBSd vnet jail

https://vermaden.wordpress.com/?s=poudriere    Search all Posts 
containing word poudriere

https://vermaden.wordpress.com/2023/04/30/simple-freebsd-poudriere-harvester-guide/ 
Simple FreeBSD Poudriere Harvester Guide.  Sample examples below, copied 
from Vermaden's post  13.2 RELEASE amd64 ; then modified for arm64 
(errors are mine, from guessing how the CLI should look)

*poudriere jail -l **poudriere jail -c -j 13-2-R-amd64 -v 13.2-RELEASE **poudriere jail -c -j 14-3-R-arm64 -v 14.3-RELEASE **poudriere jail -l*

Sincere wish for your Poudriere Jail compile armv7 32-bit success, Nuno 
Teixeira

Fred Finster  GhostBSD-Arm64  developer for Raspberry Pi 4B.

https://ghostbsd-arm64.blogspot.com/search?q=poudriere    Search my blog 
for Poudriere entries, or search for "jail" entries