[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760450: libc6-prof is unusable



control: found -1 760450 libc6-prof/2.11.3-4

On Thu, Sep 04, 2014 at 12:41:06PM +0400, Dmitry Eremin-Solenikov wrote:
> Package: libc6-prof
> Version: 2.19-10
> Severity: grave
> 
> The library from libc6-prof package is unusable.
> 
> I'm compiling the simple example program:
> 
> int main(void)
> {
> 	return sleep(3);
> }
> 
> If I follow directly the suggestion from the README.Debian, I get the
> following error:
> 
> $ gcc -g -pg test.c  -static-libgcc -lc_p
> /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality
> in
> `/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libc_p.a(strcmp.op)'
> can not be used when making an executable; recompile with -fPIE and
> relink with -pie
> collect2: error: ld returned 1 exit status

The problem seems to be related to the STT_GNU_IFUNC support in glibc.
It's something that has been added in Squeeze, and indeed the problem is
reproducible there.

There might be some way to get it working again, but given there are now
better way to do profiling, even without the need to recompile and using
the normal debugging symbols, I think it's time to just get rid of of
this package. It doesn't seems to be really used anyway [1].

Any thoughts?

[1] https://qa.debian.org/popcon.php?package=eglibc
-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: