Subject: bug#33709: closed (Re: bug#33709: Hang when compiled with --coverage and gcc 7.3)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 29 Jan 2022 19:19:02 +0000

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 [email-masked].

-- 
33709: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33709
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#33709: Hang when compiled with --coverage and gcc 7.3
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sat, 29 Jan 2022 14:18:00 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: Hang when compiled with --coverage and gcc 7.3
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Tue, 11 Dec 2018 13:59:34 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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.