Versions Affected : All verisons prior to FreeNAS 11.3-U3.2


Description

The Clang and LLD version detection accepted only versions matching the shell glob pattern [1-9].[0-9]*, which notably does not include 10.0. The build then proceeded as if the compiler or linker version was 0.0.

Attempting to build 12.1-RELEASE on 13-CURRENT failed. The version detection issue also affects 11.3-RELEASE (although the build does not fail). This issue only affects attempts to build FreeBSD 12.1 or 11.3 on a -CURRENT host.


Workaround

Install 11.3-RELEASE or 12.1-RELEASE on the build host.


Mitigation

  • Upgrade to FreeNAS 11.3-U3.2 or later.

Commit


Further information