Page MenuHomeFreeBSD

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

Authored by pkubaj on Fri, May 1, 12:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 22, 4:38 AM
Unknown Object (File)
Wed, May 20, 1:24 PM
Unknown Object (File)
Tue, May 19, 7:49 AM
Unknown Object (File)
Mon, May 18, 9:19 PM
Unknown Object (File)
Sun, May 17, 7:26 AM
Unknown Object (File)
Sat, May 16, 4:22 PM
Unknown Object (File)
Thu, May 14, 2:52 PM
Unknown Object (File)
Thu, May 14, 2:51 PM
Subscribers

Details

Summary

Also update GCC for powerpc to 14.2.0.

Test Plan

poudriere testport

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.Tue, May 5, 8:41 AM