This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug libc/10882] New: --enable-profile broken on powerpc


Profiling support is broken on powerpc. When glibc is built 
using --enable-profile, it is not possible to link anything using -lc_p. GCC 
complains that a symbol is missing:

$ gcc -g -pg -o myprog myprog.c -lc_p
/usr/lib/gcc/powerpc-linux-gnu/4.3.4/../../../../lib/libc_p.a(dl-machine.op): 
In function `__elf_machine_runtime_setup':
(.text+0xc02): undefined reference to `_dl_prof_resolve'
/usr/lib/gcc/powerpc-linux-gnu/4.3.4/../../../../lib/libc_p.a(dl-machine.op): 
In function `__elf_machine_runtime_setup':
(.text+0xc06): undefined reference to `_dl_prof_resolve'
collect2: ld returned 1 exit status

-- 
           Summary: --enable-profile broken on powerpc
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: aurelien at aurel32 dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10882

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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