GNU bug report logs - #33709
Hang when compiled with --coverage and gcc 7.3

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Tue, 11 Dec 2018 19:00:02 UTC

Severity: minor

Found in version 27.0.50

Fixed in version 29.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#33709: closed (Re: bug#33709: Hang when compiled with
 --coverage and gcc 7.3)
Date: Sat, 29 Jan 2022 19:19:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#33709: Hang when compiled with --coverage and gcc 7.3

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33709 <at> debbugs.gnu.org.

-- 
33709: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33709
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 33709-done <at> debbugs.gnu.org
Subject: Re: bug#33709: Hang when compiled with --coverage and gcc 7.3
Date: Sat, 29 Jan 2022 14:18:00 -0500
Version: 29.0.50

In https://hydra.nixos.org/build/165911357 I stopped forcing gcc 4.8
in the coverage build. It worked ok with gcc 7.3.0.

Ref
http://git.savannah.gnu.org/cgit/hydra-recipes.git/diff/?id=f7344f0e8d56f57de28d4259db96e31f6a013812&id2=5686a5540572a2a6fbc2ba81a429ebdb36fcb631

[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: Hang when compiled with --coverage and gcc 7.3
Date: Tue, 11 Dec 2018 13:59:34 -0500
Package: emacs
Version: 27.0.50

The Emacs hydra jobset at https://hydra.nixos.org/jobset/gnu/emacs-trunk
was recently updated to a more recent version of the Nix package
collection. Ever since then, the "coverage" job (which is the one that
runs "make check") has timed out after spending hours failing to
compiled the first test .el file.

I have reproduced the problem on RHEL 7.6 as follows:

bootstrap as normal
./make-dist --snapshot --no-check --no-changelog --no-compress
tar xvf ../emacs-27.0.50.tar
cd emacs-27.0.50

scl enable devtoolset-7  # this enables gcc 7.3.1 as the default compiler
export CFLAGS=--coverage
./configure --without-all --without-x --without-libgmp
make -j8

The build completes fine, but now eg:

./src/emacs --help

never exits. It prints the usage message, then hangs.



This bug report was last modified 3 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.