Do we need FreeBSD's minor version in gcc and binutils paths?

John Baldwin jhb at FreeBSD.org
Thu Jul 5 17:12:19 UTC 2018


On 7/5/18 8:43 AM, Li-Wen Hsu wrote:
> For example, currently packages of 11.x are built on 11.1 so
> aarch64-gcc installs /usr/local/bin/aarch64-unknown-freebsd11.1-gcc
> and aarch64-binutils install /usr/local/aarch64-unknown-freebsd11.1/bin/ld
> 
> This is a bit weird to see these on a 11.2 system, also causes some
> problem while testing alone with local-built toolchains.
> 
> Does it make sense to strip the minor version in the paths?
> i.e. change to something like /usr/local/bin/aarch64-unknown-freebsd11-gcc
> 
> I think this should be fine since we guarantee ABI stable in a stable branch.

For the xtoolchain packages I want to strip the versions entirely since they
are the OS version of the machine that built the package and not the target
version of the OS being built (and they should really be the latter).

-- 
John Baldwin


More information about the freebsd-toolchain mailing list