Dennis Clarke <dclarke_at_blastwave.org> wrote on
Date: Sat, 24 May 2025 22:46:18 UTC :

> On 5/24/25 18:40, Michael Gmelin wrote:
> > 
> 
> >> That makes perfect sense.
> >>
> > 
> > This works:
> > 
> > poudriere jail -c -j 132amd64 -v 13.2-RELEASE \
> > -m url=https://archive.freebsd.org/old-releases/amd64/13.2-RELEASE/
> > 
> > Cheers
> > Michael
> > 
> 
> wow ... archive ? Well why not and yes I will give that a whirl.
> 
> Still doesn't clear up why I can not build from source but that is a 
> whole other matter.

MFC's do not go back through the whole history
making source files compatible with updated
toolchains. Even something like llvm18 can have
where syntax is allowed corrected before llvm19,
disallowing what should not have been allowed in
the first place. And source can be corrected
to be where both llvm18 and llvm19 based clang
will tolerate the syntax, even if llvm18 is
not updated to be more accurate about intent.

In general things are set up to go forward in
small enough jumps, not to go backwards.

The MFC of the source correction to 13.* was made
to 13.3, not to 13.2. See:

https://cgit.freebsd.org/src/commit/contrib/tzcode/zic.c?h=releng/13.3&id=7ef70d24eee731375fe17a8ef1a30573338d9468

that was made in order to avoid the likes of:

/export/poudriere/jails/132amd64/usr/src/contrib/tzcode/zic.c:464:8: 
error: an attribute list cannot appear here
464 | static ATTRIBUTE_NORETURN void
| ^~~~~~~~~~~~~~~~~~
/export/poudriere/jails/132amd64/usr/src/contrib/tzcode/private.h:471:30: 
note: expanded from macro 'ATTRIBUTE_NORETURN'
471 | # define ATTRIBUTE_NORETURN [[noreturn]]
| ^~~~~~~~~~~~
. . .

and for:

ATTRIBUTE_REPRODUCIBLE
ATTRIBUTE_MALLOC
ATTRIBUTE_FORMAT

The attributes go before the static , not
after.

There could well be more from 13.3+ needed to get
13.2 to build from what you reported as:

# uname -apKU
FreeBSD titan 15.0-CURRENT FreeBSD 15.0-CURRENT #1 
main-n277353-19419d36cf2a: Mon May 19 20:40:28 UTC 2025 
root@titan:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1500043 
1500043
t#
t# cc --version
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git 
llvmorg-19.1.7-0-gcd708029e0b2)
Target: x86_64-unknown-freebsd15.0
Thread model: posix
InstalledDir: /usr/bin
Build config: +assertions


===
Mark Millard
marklmi at yahoo.com


Reply via email to