From owner-freebsd-current@freebsd.org Fri Mar 13 20:56:18 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97997269BB2 for ; Fri, 13 Mar 2020 20:56:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48fHzj6dYzz4FM3; Fri, 13 Mar 2020 20:56:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id 02DKu5sX091864 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 13 Mar 2020 22:56:08 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 02DKu5sX091864 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 02DKu4Ku091863; Fri, 13 Mar 2020 22:56:04 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 13 Mar 2020 22:56:04 +0200 From: Konstantin Belousov To: Ed Maste Cc: FreeBSD Current Subject: Re: Any a.out users? Message-ID: <20200313205604.GL1992@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 48fHzj6dYzz4FM3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.97 / 15.00]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 20:56:18 -0000 On Fri, Mar 13, 2020 at 01:04:42PM -0400, Ed Maste wrote: > While looking at other things we came across ldconfig's a.out support, > which hasn't been used by anything in the FreeBSD base system in ~2 > decades. > > I know there are (or at least recently were) folks using a.out > binaries on contemporary FreeBSD. Most likely statically linked > proprietary software. I'd be curious to know if anyone is still using > this. > > As far as ldconfig goes I don't see the value in generating a.out > hints; if someone is using a.out shared libraries (from FreeBSD 2.x) > it seems that they can also just use FreeBSD 2.x ldconfig to generate > the hints file. Is there any reason we shouldn't deprecate ldconfig > a.out support? There is also ldd(1) to clean if doing such cleanup. I agree with the statement that if you need to do anything that requires ldd/ldconfig for a.out, you really need to have the chroot with FreeBSD 2.2.x world around.