From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.devel Subject: Re: Abysmal state of GTK build Date: Tue, 23 Aug 2022 22:32:57 -0400 Message-ID: References: <87ilmlluxq.fsf.ref@yahoo.com> <87ilmlluxq.fsf@yahoo.com> <87h725olz1.fsf@gnus.org> <8735dplo5d.fsf@yahoo.com> <87tu65it9e.fsf@yahoo.com> <871qt9lm36.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5612"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: Po Lu , Gregory Heytings , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 24 04:35:10 2022 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 1oQgEY-0001GD-3q for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Aug 2022 04:35:10 +0200 Original-Received: from localhost ([::1]:56720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQgEX-0007J5-4v for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Aug 2022 22:35:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38784) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQgCV-0005B7-FS for emacs-devel@gnu.org; Tue, 23 Aug 2022 22:33:04 -0400 Original-Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:43912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQgCT-0004PM-1V for emacs-devel@gnu.org; Tue, 23 Aug 2022 22:33:02 -0400 Original-Received: by mail-qk1-x734.google.com with SMTP id j6so11721073qkl.10 for ; Tue, 23 Aug 2022 19:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fitzsim-org.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=0KMLrdMYzsD51+hSJTEze8o7oZs+HZ4anlFDHusT7Tk=; b=E1cmie3DyAPPn+W2ijyImegyaw1ojwDuS7xetyeRRItUYwOVhWoNAnSeSi7OXkO+Tx PsSQU03k35m15nnZo5U4Zb98bhfHNK4Zt6APsMvwBtfPDLIppzuCEF/qWYwQwP1v0PvZ poMph8+LgEtKoUVXm23OgbRNvg9VDTrveTFQ4O+VXct+t2S1S+AqNg1JNrIUi5HfuK/w s9HvN8D96n+mMUDG9NjM3wyZcIuIdECwKLoZ97vPBijtdqvnecV02XA9An5hvml6LGRj YO/QRozO/I1Vxk+xNFm3mKUrTl0JRRW4tkoyGCqWiOGg+bkkioYz2yogCk8WZfvrsk0T Bnmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=0KMLrdMYzsD51+hSJTEze8o7oZs+HZ4anlFDHusT7Tk=; b=LQ4j+5zSrl6gBeCs8w8WlI01ZUd5xQnoU4TzXLgffNRyYyTv4xYkxjPsH6yWCp0dfB ayXqXpFcsQdqtW2S7KuhS5691eYM4JDYCDkiY4bODg8+lRLX5hXM1icfX2abuqEv+2dp YU6ZpRjpaEs3vDXemr3hekPAYBpYazUyoxfCeJ8Vlv6YXUY1uTyUT9+GEa26wA4woInR LZWrwfCFalEZj1rLYbdCQeN/aT0irstLQ29wi8ui1aVN3HGFtpSgv/67qP9CWJchI1YB 48Xux9lvXibOPBNY4N2PQSllaPfwWFZYWWcWCH3jKHwW8WmnVMHz16bR0NmihuCu3A9G u26g== X-Gm-Message-State: ACgBeo3qnDPbUT6u2gc4xqDx/PmHv34CxblCB1La3oRiBhE8BAFSNEj1 Hiqloy0v8C2f15as2ISetj0qXeGct43ZroI3 X-Google-Smtp-Source: AA6agR7HhCS0Xhd/jE2lJLt6+Hm78R7+az8Unn1+cK95gJz8QJ1ry5wrZzBJLTOnXD8T7vIxg/9VxQ== X-Received: by 2002:a05:620a:128e:b0:6bb:b3af:781b with SMTP id w14-20020a05620a128e00b006bbb3af781bmr18293852qki.758.1661308379148; Tue, 23 Aug 2022 19:32:59 -0700 (PDT) Original-Received: from localhost.localdomain (69-165-165-189.dsl.teksavvy.com. [69.165.165.189]) by smtp.gmail.com with ESMTPSA id q66-20020ae9dc45000000b006bba6c614casm13819735qkf.13.2022.08.23.19.32.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Aug 2022 19:32:58 -0700 (PDT) In-Reply-To: <871qt9lm36.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 21 Aug 2022 16:15:09 +0200") Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=fitzsim@fitzsim.org; helo=mail-qk1-x734.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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" Xref: news.gmane.io gmane.emacs.devel:293931 Archived-At: Lars Ingebrigtsen writes: > Po Lu writes: > >>> I sent a short demo that shows how one can escape from an _exit a few >>> weeks ago in bug#56967; I attach it here again. The same kind of >>> things can be done to circumvent segfaults in library functions. > > Cool! > >> Sorry, but that's not a good idea. What if someone statically links >> Emacs with the C library? > > That's not the default configuration, and if somebody is wild enough to > do that, then that's not our problem. Since we're talking about extreme ideas, how about this: create a light fork of GTK that contains a bunch of bug fixes that make Emacs happy, pull it in as a submodule, build it as part of Emacs's --with-x-toolkit=gtk build, then have the Emacs binary load the forked GTK library at runtime. (Or to borrow a term from other language communities, Emacs could "vendor" GTK.) Thomas