From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: [PACKAGE] musl libc Date: Sat, 30 Jul 2016 14:19:03 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=94eb2c0629367375150538d95f57 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTTER-0001LL-03 for guix-devel@gnu.org; Sat, 30 Jul 2016 08:19:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTTEO-0005uK-NP for guix-devel@gnu.org; Sat, 30 Jul 2016 08:19:05 -0400 Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]:33754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTTEO-0005uG-J8 for guix-devel@gnu.org; Sat, 30 Jul 2016 08:19:04 -0400 Received: by mail-qk0-x22b.google.com with SMTP id p74so111103484qka.0 for ; Sat, 30 Jul 2016 05:19:04 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel --94eb2c0629367375150538d95f57 Content-Type: text/plain; charset=UTF-8 Hello, Please, have a look at the attached musl libc packaging. It may be of use for having smaller statically linked binaries of selected packages. Advise about how to finish the submission process, in which scm file should this go ? I did it standalone, but it looks like that's not the way things go in guix. Should it go with glibc ? I'll post a sinit packaging that show how musl can be used. The sinit package is a minimalistic /sbin/init replacement. -- Vincent Legoll --94eb2c0629367375150538d95f57 Content-Type: text/x-scheme; charset=US-ASCII; name="musl.scm" Content-Disposition: attachment; filename="musl.scm" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ir959zq70 Ozs7IEdOVSBHdWl4IC0tLSBGdW5jdGlvbmFsIHBhY2thZ2UgbWFuYWdlbWVudCBmb3Ig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BzZW5zZSBvZiBzdGFuZGFyZHMtY29uZm9ybWFuY2UgYW5kIHNhZmV0eS4iKQogICAgKGhv bWUtcGFnZSAiaHR0cDovL3d3dy5tdXNsLWxpYmMub3JnIikKICAgIChsaWNlbnNlICh4MTEtc3R5 bGUgImZpbGU6Ly9DT1BZUklHSFQiKSkpKQoK --94eb2c0629367375150538d95f57--