From owner-freebsd-arch@FreeBSD.ORG Tue Jul 9 21:10:24 2013 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EB8C7C57; Tue, 9 Jul 2013 21:10:23 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 26E191CDA; Tue, 9 Jul 2013 21:10:22 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id jm2so2549748bkc.30 for ; Tue, 09 Jul 2013 14:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=+MpMjhBTryWXCNZwYb0JswSyAC/+bhNHwQ8r9Vvd+tc=; b=OwxSGOWS9GJG39WBN/XuObHKmqnjS/0ABNWVC95xQ4g0WoT+nBPtxBRpYvasbLB+r1 3QOcQDYtE95DX+taPG8fN7BUvIOTNKPJKaGXAcbAyEnf9uo50SjFQyb6kEAbqKPZZLHu grA1RDPWR2YBtdSPXEYj36wyuqEe7WqFEXLH7zEZ5wN5iJhOrEnCUBooKOjwWgAXmcaO R/sghldhGim9FYO7D2UkPAX6aL2bYbpHctdaJ4jV7GCz5fl93yTrUsVzmMjEnptGc6tq RUOhxU/kwiWZCh9PTBtlrySiSuAUozcVa/fqwgsW3n3QGkyf4ksUed0ifWrf8K4WZ/7R jULA== MIME-Version: 1.0 X-Received: by 10.204.66.133 with SMTP id n5mr4390249bki.38.1373404222256; Tue, 09 Jul 2013 14:10:22 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.205.2.69 with HTTP; Tue, 9 Jul 2013 14:10:22 -0700 (PDT) In-Reply-To: References: <20130709113553.GP67810@FreeBSD.org> <20130709165939.GP91021@kib.kiev.ua> <0657575A-BF3A-486F-9582-C01E0FD97E38@bsdimp.com> <51DC4712.20707@coosemans.org> <6E057FD0-9054-44CD-A806-3AFD8A7196CC@bsdimp.com> Date: Tue, 9 Jul 2013 14:10:22 -0700 X-Google-Sender-Auth: oKIIyvPAT-oJUSQPNl-kYodMbEg Message-ID: Subject: Re: libutil in Debian From: Justin Hibbits To: Robert Millan Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Konstantin Belousov , Tijl Coosemans , Gleb Smirnoff , freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 21:10:24 -0000 On Tue, Jul 9, 2013 at 1:45 PM, Robert Millan wrote: > 2013/7/9 Peter Wemm : > > Create a symlink from libbsdutil.so -> libutil.so and libbsdutil.a -> > > libutil.a and change nothing else, including keeping -lutil? I'm not > > entirely sure what that achieves, but it is harmless as far as I can > > see and creates no run-time ABI issues. > > The problem is that right now, if we wanted to provide FreeBSD libutil > in Debian we'd have to rename it. Of course we could just make up an > arbitrary name and use that, but it would introduce a gratuitous > divergence, and the reason we want libutil in first place is that we > want to be more compatible with FreeBSD. > > -- > Robert Millan What about importing the necessary functions into the glibc libutil for Debian? This way it stays as libutil, and if glibc imports the functions to itself there's less to worry about. If glibc's libutil started out life as libbsdcompat, then I think it would be appropriate to merge as needed. - Justin