Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2021 20:39:41 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Mitchell Horne <mhorne@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>,  "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: 4d0dc60f1401 - main - xinstall: fix invocation of llvm-strip
Message-ID:  <CAPyFy2DxSMfc-zOTjkP_Li7_VSS2Urwwz1rvBSY47pFP7LCCEg@mail.gmail.com>
In-Reply-To: <CAPyFy2B4NVrGgrp2JuGdN_JKFN22sH7qHBPxZK0GxmdDNEq%2BGA@mail.gmail.com>
References:  <202108301457.17UEvCRv008780@gitrepo.freebsd.org> <CAPyFy2B4NVrGgrp2JuGdN_JKFN22sH7qHBPxZK0GxmdDNEq%2BGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Aug 2021 at 11:24, Ed Maste <emaste@freebsd.org> wrote:
>
> GNU strip also handles --, so ideally we'd have llvm-strip also accept
> it. Given plans to switch to the LLVM version of various binutils
> (D31060) we should aim for as complete command-line compatibility as
> possible. I've added a note to this effect in D31060.

It looks like llvm-strip (main) supports -- now:

$ llvm-strip11 -o /dev/null -- /usr/bin/true
llvm-strip: error: unknown argument '--'
$ ~/src/llvm-project/build/bin/llvm-strip -o /dev/null -- /usr/bin/true
$ echo $?
0

so I expect this will be supported by the time we're ready to switch
to llvm-binutils



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2DxSMfc-zOTjkP_Li7_VSS2Urwwz1rvBSY47pFP7LCCEg>