This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

getpid and -fomit-frame-pointer problem with profiled libs


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

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]