From owner-freebsd-toolchain@freebsd.org Fri Nov 23 16:23:35 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 75E42114B5B2; Fri, 23 Nov 2018 16:23:35 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f171.google.com (mail-it1-f171.google.com [209.85.166.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E0F0D6AFCE; Fri, 23 Nov 2018 16:23:34 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f171.google.com with SMTP id h193so18629835ita.5; Fri, 23 Nov 2018 08:23:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=E4UfMXlidF/pm+e4s7Ijq2qOpYEq5gP+taZux7s3pmc=; b=J9QhEIidm8ILO87GWkWiAwse7ux8ve6BPcM1Qq0jopwxfvYOiRnA1A3OFBgKV6D2Nn ZLuwQ2K9dLaLET/KshhgmNZbIkKa+zmdvh6TykLLVQKsCTUznpNrZVPiUf9lOLWsXnNm xiYVQc2LbD/yzw04wPrT0PZQ3RDceJzYkOF6HDJKA7oCqDngo2HGQUblsxtawzrbGo1+ Dot9RczyEQAw5kYeqBliuDdl1DetBAvoW4ioTvL3s15O3VPDXnuzM6lVvY52lwpxaNKZ l7QP0bezObk4sdiJrgxEChY0lxOLpYG266ebu6VI2Irnqygzy0igTr9P/HJTnoK+7iiC j/bQ== X-Gm-Message-State: AA+aEWbhfEl0ot8BYkcwFHhA45YSoobRri0jWeqJkCxfHRWH2j5w6LmU rLjsSbGt6lvDNkw7OC3JRwUfkgIL8dY4ld33OPbOBQ== X-Google-Smtp-Source: AJdET5cX3MDiS2+0Clqlqhi/MXp2qOKbAl+F82h6PI5OKwFcqeGRcpGJZWQmgn/t+O6gp/df3jVesPnMtS/gYTnkwl0= X-Received: by 2002:a24:bcc1:: with SMTP id n184-v6mr13641097ite.174.1542990207189; Fri, 23 Nov 2018 08:23:27 -0800 (PST) MIME-Version: 1.0 From: Ed Maste Date: Fri, 23 Nov 2018 11:23:14 -0500 Message-ID: Subject: GNU binutils 2.17.50 retirement planning To: "freebsd-toolchain@FreeBSD.org" , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: E0F0D6AFCE X-Spamd-Result: default: False [-5.59 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; IP_SCORE(-2.60)[ip: (-7.93), ipnet: 209.85.128.0/17(-3.48), asn: 15169(-1.49), country: US(-0.09)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[171.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[171.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 16:23:35 -0000 For some time we have been incrementally working to retire the use of obsolete GNU Binutils 2.17.50 tools. At present we still install three binutils by default: as ld.bfd objdump The intent is to retire all of these by FreeBSD 13. Depending on tool and architecture we will just remove it, migrate to LLVM tools, or rely on external toolchain components. Retiring GNU as requires further investigation and effort as we have some assembly files (for amd64 at least) which cannot be assembled by Clang's integrated assembler. If Clang gains support for the required functionality we'll switch to using IAS for all assembly files, and if not we could rewrite the few assembly files to work with IAS. ld.bfd is installed, but is not the default linker (/usr/bin/ld) on amd64, arm64 and arm, and soon i386 as well. We can just stop installing it at the appropriate time. For objdump I have proposed installing LLVM's llvm-obdump as objdump, in review D18307. It does not support all of the options that GNU objdump does, but is usable for many common operations. In addition, non-obsolete GNU objdump is available in the binutils port or package. Please try out llvm-objdump and see if it supports the options you need/use, and add a note in PR 229046 if not.