From owner-svn-ports-head@freebsd.org Tue Mar 27 21:51:02 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18043F60B8B; Tue, 27 Mar 2018 21:51:02 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DD77849B7; Tue, 27 Mar 2018 21:51:01 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id 141so1030596iou.12; Tue, 27 Mar 2018 14:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=h+a0u+T2Cz1s7ChWtA+0LFu+ZEp7jynIz+XxRw0hlLk=; b=uzHxf7DiqTJmp0QjWrawTn+ryxH6rWTAhRH/4C2GEo7p7jtjghQKhLCxsWP7s8GIqo nSk3IC1uev+xVtB4mklFCT87ZcfIGKfmKbuIJOEA5pjT0hRgaknUi+jtNgl2xBsa7TtK vDN+EOY3fSLl5zgimn9u7Uvp9Ge7lXRO9Buo81nrTf0CeCbJ2rFNpTHsPnI/s1pQTLR6 AuZCMMf5I2IMkbns7NUHNRAv2Swnw5it48gm/OevrRNjw0SbA5HeAnYAApu27AXCO/5d gWQld5sjeHBO2PGU0hZipMZWqjDR9SpS9DGuBHwqUdukK0Sass6tQA6vxybYE9WC+l83 +YPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=h+a0u+T2Cz1s7ChWtA+0LFu+ZEp7jynIz+XxRw0hlLk=; b=rsfYhdl1UCJzTpmWrRZHLKX8eqqTbgYfkVDLae+ablLYjKUOR43h/Lvqws5j19DE+W 1Gx/XX2dUaCTzJwqoHZYunogWV8sAPqR4FC4+YnXe0GMkOrX5PqIbQX8KcNesN3Yx5Of BDWMTk8Wb7EAwm40us7HQSB6o1kCgcUYRkBBvvk6uwUtKY+Q4CdiREWDDe8egQIvoTr1 N0+Nnuw/x6gByXGUsHSNyCmOSDAlDav1EVBn5HFoVI+zgMWzBm8JqgHz2in7CXTnYiJ0 hIRd23YJSBWtTSrhq2Os5h8ZqMSdaYlhe4Y8oMv+GxlAND1Jcjx8uF/F8yQrHtowzXc4 E+VA== X-Gm-Message-State: AElRT7Fo/mxNemzkygZVzFzdnZNDpEEAvgBU8pJJ1J89cgC6HEJC7+5Z f6a4rVTgX7Kub7XqvMBysmfumOU3JHQI4Y/uwbZAh4rs X-Google-Smtp-Source: AG47ELskW1Vx44K5S3qWSQrlLwvP8S5eOyzxwO3i2nDZphpiRUc2zjyCLoSciSbbJ6NW+DG16dygo+SqaR/t/lP+2jw= X-Received: by 10.107.46.30 with SMTP id i30mr46857732ioo.288.1522187460804; Tue, 27 Mar 2018 14:51:00 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.130.197 with HTTP; Tue, 27 Mar 2018 14:50:40 -0700 (PDT) In-Reply-To: References: <201803271745.w2RHjUHI070331@repo.freebsd.org> From: Ed Maste Date: Tue, 27 Mar 2018 17:50:40 -0400 X-Google-Sender-Auth: 6KW9M-LI7iQLEFUzh9LZNVTjPhE Message-ID: Subject: Re: svn commit: r465725 - head/lang/myrddin To: Tobias Kortkamp Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2018 21:51:02 -0000 On 27 March 2018 at 16:21, Ed Maste wrote: > On 27 March 2018 at 13:45, Tobias Kortkamp 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: : 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? Antoine raised an important point in reply to my application of BINARY_ALIAS to devel/pdcurses in r465755: arm64 has no ld.bfd by default, and LLD_UNSAFE automatically handles using binutils from ports for this case. So we need LLD_UNSAFE in addition to BINARY_ALIAS.