From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#33709: Hang when compiled with --coverage and gcc 7.3 Date: Mon, 31 Aug 2020 10:36:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Glenn Morris , 33709@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 31 12:37:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kChBW-00046Z-Ln for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Aug 2020 12:37:10 +0200 Original-Received: from localhost ([::1]:35338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kChBV-0000wV-74 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Aug 2020 06:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kChBO-0000wF-SN for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2020 06:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kChBO-0004zU-JO for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2020 06:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kChBO-0000Dj-HN for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2020 06:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Aug 2020 10:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33709 X-GNU-PR-Package: emacs Original-Received: via spool by 33709-submit@debbugs.gnu.org id=B33709.1598870205824 (code B ref 33709); Mon, 31 Aug 2020 10:37:02 +0000 Original-Received: (at 33709) by debbugs.gnu.org; 31 Aug 2020 10:36:45 +0000 Original-Received: from localhost ([127.0.0.1]:51650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kChB6-0000DE-Uw for submit@debbugs.gnu.org; Mon, 31 Aug 2020 06:36:45 -0400 Original-Received: from mail-ej1-f47.google.com ([209.85.218.47]:37315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kChB4-0000D1-UI for 33709@debbugs.gnu.org; Mon, 31 Aug 2020 06:36:43 -0400 Original-Received: by mail-ej1-f47.google.com with SMTP id nw23so6391738ejb.4 for <33709@debbugs.gnu.org>; Mon, 31 Aug 2020 03:36:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=p0y3sD/AXbT+feNwmgrDGK5BNPUD+uzCOTF40zwFINY=; b=cIWzxEi4oQUynKTxnDuJHykcbK+X6YOBSO4RShfGxwzIqTXgIHqDqEwPRC6ZtukCMz OkjN9WsGJK3wIQ5fIa7j8XB8CqeQKXAfrNcRYDinirB9XMFTO51ly/OwzhKqM3ULd34i L7xwBvJhM2SztxM5wC604ocZw2zxRmJmvudAA2chsh9iXM6b/jgcbgFqAyYiw5Ok3Uv0 55C+rIlmEPxoVadC6MpnlL9bynGLF/4+oG6EEdKk8kbU+/WsXqPQzN2KlZ/CxzTryCm4 pgijmMR99KivTV7yT+OQJtmtsYF9W8fwy1mJ6ZVPCe5ayBxWAa7kO/NinDptnqWM3JXp qP3w== X-Gm-Message-State: AOAM533EW27ZPwaK2Z7bQFeS3nYoiWw/DJCuC2rLsBaOajdC3J6OlzkM ZLlOhNOeKHInI8nXsvFI/YzTrPXCq/Prj3T0yZg= X-Google-Smtp-Source: ABdhPJyxlxTFptyRCnKlMi1cmrnPGHSAfeqe4vrR1qhhxPXJ8Unm2VlvTsS1lewpaf8nrkn81PbbwNdXRdJJPdGA/Es= X-Received: by 2002:a17:906:a88a:: with SMTP id ha10mr537733ejb.532.1598870197183; Mon, 31 Aug 2020 03:36:37 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 31 Aug 2020 10:36:36 +0000 In-Reply-To: (Paul Eggert's message of "Thu, 27 Dec 2018 20:06:56 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:186758 Archived-At: Paul Eggert writes: > I'm surprised that --coverage ever worked in a dumped emacs. I think libgcov > uses the dynamic linker's malloc (so Emacs has *three* malloc implementations) > and our trick for switching from the Emacs malloc in temacs to the system malloc > in bootstrap-emacs won't work for memory allocated for > --coverage. Unfortunately, the libgcov actions do not seem to be easy to disable > in temacs and re-enable in bootstrap-emacs. > > I suggest that we just say this combination isn't supported; if you want to > build Emacs with gcc --coverage you can configure with CANNOT_DUMP=yes. > > If the portable dumper ever gets working, --coverage should be easy to support, > of course. (That was 1.5 years ago.) Any updates here now that we have the portable dumper? Thanks.