svn commit: r465725 - head/lang/myrddin

Ed Maste emaste at freebsd.org
Tue Mar 27 20:21:36 UTC 2018


On 27 March 2018 at 13:45, Tobias Kortkamp <tobik at freebsd.org> wrote:
> Author: tobik
> Date: Tue Mar 27 17:45:30 2018
> New Revision: 465725
> URL: https://svnweb.freebsd.org/changeset/ports/465725
>
> Log:
>   lang/myrddin: Fix build when ld is ld.lld
>
>   ld: error: <internal>: section sh_addralign is not a power of 2
>
>   Myrddin's build system directly calls ld so LLD_UNSAFE can't work
>   here.  Workaround the issue by adding a binary alias to ld.bfd to fix
>   the build for now.

Thanks - I wasn't aware of BINARY_ALIAS before. Also, thanks for
adding LLD_UNSAFE in the comment so that it can be found along with
the other lld-related failures in the future, with "grep -r
LLD_UNSAFE".

What would you think about setting BINARY_ALIAS=ld=ld.bfd
automatically, under LLD_UNSAFE?


More information about the svn-ports-all mailing list