[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] enable-gprof configuration option issue?
From: |
Claudio Fontana |
Subject: |
[Qemu-devel] enable-gprof configuration option issue? |
Date: |
Wed, 4 Nov 2015 17:45:02 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hello,
we are trying to use good old gprof to profile the QEMU process,
and it seems to work when directly passing "-O0 -pg" using --extra-cflags,
while it does not seem to work when using "--enable-gprof".
The error we get when using --enable-gprof is the following:
ld: gcrt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used
when making a shared object; recompile with -fPIC
gcrt1.o: could not read symbols: Bad value
We got this on a few X86 boxes with different distros, in my case I have
Slackware-14.1 64bit, ld 2.23.52.0.1.20130226, gcc 4.8.2
Is the expectation that one should pass "-pg" directly?
Thanks!
Ciao,
Claudio
- [Qemu-devel] enable-gprof configuration option issue?,
Claudio Fontana <=