getpid and -fomit-frame-pointer problem with profiled libs
Andreas Jaeger
aj@suse.de
Sat Jan 3 07:28:00 GMT 2004
Uli,
your change to nptl:
2003-12-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-getpid.c): Define.
* sysdeps/unix/sysv/linux/getpid.c: New file.
broke building on x86_64 with profiled libs. GCC complains now
(CFLAGS-getpid.c is -fomit-frame-pointer):
gcc: -pg and -fomit-frame-pointer are incompatible
The question in general is whether -fomit-frame-pointer is right -
even for other archs with profiling. What was your intent with that
change? Shouldn't it just be applied for the shared lib?
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040103/d9e6ec37/attachment.sig>
More information about the Libc-alpha
mailing list