Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 16:21:14 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Tobias Kortkamp <tobik@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r465725 - head/lang/myrddin
Message-ID:  <CAPyFy2Dc4Kbv%2B1kG%2BjydXPhxYx6wuscSxxR2Wq4ZkOLzX3g-xg@mail.gmail.com>
In-Reply-To: <201803271745.w2RHjUHI070331@repo.freebsd.org>
References:  <201803271745.w2RHjUHI070331@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 27 March 2018 at 13:45, Tobias Kortkamp <tobik@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2Dc4Kbv%2B1kG%2BjydXPhxYx6wuscSxxR2Wq4ZkOLzX3g-xg>