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]

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


Andreas Jaeger writes:

> 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?

This fails on powerpc and powerpc64 as well.


Steven J. Munroe
Power Linux Toolchain Architect
IBM Corporation, Linux Technology Center



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