[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .gcno files removed from .libs directory
From: |
Vincent Torri |
Subject: |
Re: .gcno files removed from .libs directory |
Date: |
Sun, 31 Aug 2008 09:06:36 +0200 (CEST) |
On Sun, 31 Aug 2008, Ralf Wildenhues wrote:
Hello Vincent,
Thanks for the bug report.
* Vincent Torri wrote on Fri, Aug 29, 2008 at 05:38:59PM CEST:
I'm compiling two libraries with the options -fprofile-arcs
-ftest-coverage passed to gcc.
The first one has .gcno files in his directory and the .libs sub
directory. The second one has .gcno files in his directory but not in the
.libs subdir. I paste below the Makefile.am of eash lib:
[...]
clean-local:
@rm -rf *.gcno
BTW, why the '@' here? There's nothing wrong with showing this command
(but of course it doesn't matter much either).
I agree, it even be usefull to see such commands
there is a difference in the creation of the libs.
libtool explicitely removes the .gcno files in the 2nd case:
libtool: link: rm -fr .libs/eina_chained_mempool.gcno
does someone know why libtool remove the .gcno files.
Not yet, but it does sound like a bug (in either Libtool or Autoconf).
You could really help us find this bug more easily by trying to reduce
this to a small example package that exposes the issue for you, and show
how exactly you configured and built the package. The files
configure.ac, Makefile.am, and one library source file, should probably
be sufficient. If that's too much work for you, then please at least
post how you configured and built the second package (all command lines
plus all of their output), and also post config.log. Please gzip large
files, thank you.
for the source code: see the attached file autotools.tar.bz2
for the configuration:
autoreconf -f -i
./configure
make
for the output : output.log.bz2
for config.log : config.log.bz2
BTW, which Libtool and Autoconf versions do you use?
autoconf 2.62
libtool 2.2.5a
for libtool, it's a git version that I have grabbed just after cegcc was
added.
thanks
Vincent Torri
PS: if you note things that are wrong in configure.ac, please don't
hesitate to tell me.
output.log.bz2
Description: Binary data
config.log.bz2
Description: Binary data
autotools.tar.bz2
Description: Binary data