From owner-freebsd-toolchain@freebsd.org Tue Jul 31 15:52:02 2018 Return-Path: Delivered-To: freebsd-toolchain@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 63969105D330; Tue, 31 Jul 2018 15:52:02 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 F3CD58F907; Tue, 31 Jul 2018 15:52:01 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x229.google.com with SMTP id y10-v6so13423775ioa.10; Tue, 31 Jul 2018 08:52: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; bh=vH4Uf0MwVwZ5g0Fo9z1DvyeZn09CUYwNEPq0rVrXYk0=; b=h7RC2V6o33eBIIR1RYemZfxQ0jwN8cagroFYSDXxxIzEozD/1KmfQ895YwfDGFfk6k qSbo+PGUcS4jNdKWkB905WyPvgNAAySiCKNDJzwFdV+Plh5aERAG4pV46/iSMBdnKduo /6PkZTS/8AzK47khQ3rijikT05Mb+qGqeFxowNFS/EisoRJvwN/2tdxsG4l9bVPzHIDc 3va39VZQrf3X9HEbLauu2wy61zJ8uflpAp+a6CcSikAB1SNzWd+defNiAW7V34kPLILm IlR3TuvlLiJfYsd7cyYELxVlCtEt73WF7RP3sjFlYHntwQ5zMQBiCUq7UO2+ydeM8MoQ rLEA== 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; bh=vH4Uf0MwVwZ5g0Fo9z1DvyeZn09CUYwNEPq0rVrXYk0=; b=UFYFUV1yxgLFtFgf8N5pcjrOWJQij1BiLsYeuhrZAsNgg5lxWmiEipYDk55DjhjXOU IYTyQ1v6Vv2PhAhtkx5d4gAQrZZhlcOkSr2Fd+vZvvFtd6ByqeDneR4T7xH2ebljN6rj KVev54fOr+7VjsTkThuWZbGJv4XiJ3E+tSfFzdGBUpzrSQC7G+OSXcpnxGacVufvNh7w GlexCd0XysGN02BBg+XxXX6dDsyKHshON2X2H+M1P83CknDLrmjy7XumIkUvcjLSv5gz X2hldL410hreMuMQrlAfLz593R+cioI3fjKvXHI9oX5IXBRX8rhYUQF+pmoGzz4rooZC Ac0Q== X-Gm-Message-State: AOUpUlGLj8TIp0iv26r/OWH6n30X3TnyEYrSJ+HlAreQvs9k7qNQQVuR SYPUfLiXe7ddKYSBeebomjtVIKTC0PKW5UQ+I6R+HZpV X-Google-Smtp-Source: AAOMgpcM49Jb8pcs3mps/s38KzGA7VfQxqTznVpAOr6y0ATuAydumhcpfwa87nWIEBxspxrI5lMwjmI6SX3B9YBt5/c= X-Received: by 2002:a6b:343:: with SMTP id 64-v6mr285513iod.66.1533052321150; Tue, 31 Jul 2018 08:52:01 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 2002:a6b:4a08:0:0:0:0:0 with HTTP; Tue, 31 Jul 2018 08:51:38 -0700 (PDT) In-Reply-To: References: From: Ed Maste Date: Tue, 31 Jul 2018 11:51:38 -0400 X-Google-Sender-Auth: ug3XL4DYXvez8TgLJ4NBU2rA_XE Message-ID: Subject: Re: Migrating arm(v7) to LLD_BOOTSTRAP To: "freebsd-toolchain@FreeBSD.org" , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2018 15:52:02 -0000 On 16 January 2018 at 18:45, Ed Maste wrote: > With the update to Clang/LLVM/lld 6.0.0 I believe lld is nearly ready > to be used as the system linker for armv7, and I plan to enable > LLD_BOOTSTRAP by default after a couple of WIP patches land and after > a little more testing. This may happen a week or two from now. This > should have little impact on port builds, because /usr/bin/ld will > still be GNU ld.bfd (although there may be some unexpected fallout). There was one significant issue preventing use of lld for armv7 - it was not handling float type flags in the ELF header. This was just fixed upstream, and I brought the change into FreeBSD in r336972. I believe we're now ready to enable LLD_BOOTSTRAP by default for armv7, and have posted the patch in review D16528[1] for comments/feedback. [1] https://reviews.freebsd.org/D16528