Page MenuHomeFreeBSD

devel/freebsd-sysroot: update to 14.3-RELEASE
ClosedPublic

Authored by pkubaj on May 1 2026, 12:13 AM.
Tags
None
Referenced Files
F160359502: D56754.id177224.diff
Tue, Jun 23, 4:27 PM
Unknown Object (File)
Sun, Jun 14, 4:18 PM
Unknown Object (File)
Thu, Jun 4, 12:52 PM
Unknown Object (File)
Tue, Jun 2, 8:33 AM
Unknown Object (File)
Tue, Jun 2, 8:28 AM
Unknown Object (File)
Tue, Jun 2, 3:21 AM
Unknown Object (File)
Tue, Jun 2, 3:17 AM
Unknown Object (File)
Mon, Jun 1, 5:02 AM
Subscribers

Details

Summary

Also update GCC for powerpc to 14.2.0.

Test Plan

poudriere testport

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 72782
Build 69665: arc lint + arc unit

Event Timeline

mikael added inline comments.
devel/freebsd-sysroot/Makefile
70–74

Maybe use the following instead?

_SYSROOT_LLVM_TRIPLE_aarch64=           aarch64-unknown-freebsd${_SYSROOT_VER:C/-RELEASE//}
_SYSROOT_LLVM_TRIPLE_armv7=             armv7-unknown-freebsd${_SYSROOT_VER:C/-RELEASE//}-gnueabihf
_SYSROOT_LLVM_TRIPLE_powerpc=           powerpc-unknown-freebsd${_SYSROOT_VER:C/-RELEASE//} # secure-plt
_SYSROOT_LLVM_TRIPLE_powerpc64=         powerpc64-unknown-freebsd${_SYSROOT_VER:C/-RELEASE//} # elfv2
119

Maybe create a variable GCC_VERSION and use it here instead?
Or use this:
GCC_VERSION= ${_SYSROOT_DIST_powerpc:[2]:C/-.*//}

126

Same as above.

devel/freebsd-sysroot/Makefile
74

sorry, gcc_version is not the best name... it returns gcc13:

make -V GCC_VERSION
gcc13

maybe GCC_EXEC or GCC_BIN?

Remove unintended content.

pkubaj added inline comments.
devel/freebsd-sysroot/Makefile
74

That sounds misleading, because it's not actually executable or binary. Maybe _GCC_VERSION?

devel/freebsd-sysroot/Makefile
74

how about this:
GCC_VERSION= ${_SYSROOT_DIST_powerpc:[2]:C/gcc([0-9]+)-.*/\1/}

make -V GCC_VERSION
13

and go for _GCC_VERSION?
I still have the old gcc version in my Makefile, hence the 13.

devel/freebsd-sysroot/Makefile
119

make -V _GCC_VERSION returns : gcc14
This line should be

-C${STAGEDIR}${_SYSROOT} /usr/local/lib/${_GCC_VERSION}
126

make -V _GCC_VERSION returns : gcc14
This line should be

	@${RLN} ${STAGEDIR}${_SYSROOT}/usr/local/lib/${_GCC_VERSION}/libatomic.so \

Correct _GCC_VERSION usage.

This revision is now accepted and ready to land.May 5 2026, 8:41 AM