From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Corcoles Newsgroups: gmane.emacs.devel Subject: Re: Interest in a Cosmopolitan build? Date: Thu, 09 Nov 2023 11:56:28 +0100 Message-ID: <3b38c9d7b3b0628feafe8af7c3a6b2d67158c184.camel@corcoles.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11507"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.40.4 (3.40.4-9.el9) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 09 11:57:34 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r12j8-0002q8-8a for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Nov 2023 11:57:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r12iM-0006XI-Qa; Thu, 09 Nov 2023 05:56:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r12iF-0006VN-6o for emacs-devel@gnu.org; Thu, 09 Nov 2023 05:56:40 -0500 Original-Received: from mail-lf1-f43.google.com ([209.85.167.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r12i9-00059z-Uc; Thu, 09 Nov 2023 05:56:36 -0500 Original-Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-5098eb6690cso632765e87.3; Thu, 09 Nov 2023 02:56:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699527391; x=1700132191; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=2wSE3VRIymLNyGYpzQ2BsiFc4pFv8Cp8XDI/KRf4N5I=; b=PLaN+8fwqO3dcOt7xem/voNYoQd/6kGi254+iCr+Rhy8qY9ogDgCpbGdAS+koZVyOJ ffcdiPLu+KSZPJYdnpUP7Hp7/9hSIf0qSMhkUUM89bU5CpbsdpA1Y6Z4H52HDvo5WoVO VuaV/1AHiVfIgTXhH48bgEh4wFKz56llLdwsKEc8pIZaU+MKsoRrhcdIjTH0psRVQ7Km 8JeEK0X9R8B4oSJkYMrYjvvM7MyN9AL55IP9cZxHjbWkc2f57tfmJvXodGpfG5mZLfLv XOl0IZRv/mxD+2piJMj5x4okZDhqP3TIh8m8fomn5HFB9Cz8SZpBG9XVj2dwpETpenHa tk6A== X-Gm-Message-State: AOJu0YykrIa7Fw+hHTU8+NLS9/Tq9ANw6zUTKtpGafDN4a7Y4qMOp8fr BKQjdGm3XNIF+zCQuHCI1g1XVQ88/rLBFw== X-Google-Smtp-Source: AGHT+IEfOfW2B6/9SWK1s1XHmrC8NxSwXfa1UaXLQDZqQ9u5AAzD2SOd2PeE+wHb/+rWGd8bNX2JvA== X-Received: by 2002:a05:6512:3142:b0:509:45ed:1083 with SMTP id s2-20020a056512314200b0050945ed1083mr1114543lfi.40.1699527390618; Thu, 09 Nov 2023 02:56:30 -0800 (PST) Original-Received: from molly.mad.int.pdp7.net ([79.116.36.51]) by smtp.gmail.com with ESMTPSA id e12-20020adffd0c000000b0032d893d8dc8sm7188008wrr.2.2023.11.09.02.56.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Nov 2023 02:56:30 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=209.85.167.43; envelope-from=koalillo@gmail.com; helo=mail-lf1-f43.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312394 Archived-At: Hi, > This could in principle be a good feature to support, but it also > raises possible moral issues.  Whet software would get linked, or > packages, dith Emacs in this kind of binary?  We may have boith a > legal issue and a moral issue to address: > > * The legal issue: would all that software satisfy the "system > library >   exception" in the GNU GPL? > > * The moral issue: would any of that software be nonfree, and would > it > include any material that a straightforward byuild would NOT package > with Emacs? > > Before supporting this, we need to establish that there is no moral > problem with it. I share your concern. I believe Cosmopolitan might offer some benefits to the distribution of "moral issues-free" software, which might make it interesting to have a conversation broader than the Emacs scope about it. Unfortunately, I don't feel equipped to have this conversation, although I would have great interest in it. I feel Cosmopolitan might be an important project. About using it for Emacs, to be clear, I'm interested in using Emacs distributed as a Cosmopolitan binary, but I don't even intend *anything* to be done in Emacs itself, if it poses a problem. Perhaps *something* can help Emacs be more portable or improve it, but I'm not even sure of that. I expect a Cosmopolitan build could be maintained out of tree (as it is now), if necessary, and be strictly opt-in. My intention with this thread was a bit selfish- to see if any Emacs build expert was interested in the advantages of Cosmopolitan, because I managed to get it to a working state for me, but I fear maintenance of this might be beyond my means- and this is already giving me some benefits I'd like to enjoy in the future :) About the license details, it seems it uses GCC, clang, and its own libc. I believe there's ISC, BSD, MIT, and Apache 2.0 software being used, however I am not an expert in licensing, and perhaps they are not well documented. As I mentioned, I would be interested in an auditing of Cosmopolitan from a moral perspective. Thanks, Álex