https://sourceware.org/bugzilla/show_bug.cgi?id=28984
Bug ID: 28984 Summary: Bad __collector_getpc implementation Product: binutils Version: 2.39 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86-64 libcollector/libcol_util.h has static __attribute__ ((always_inline)) inline void * __collector_getpc () { void *r; __asm__ __volatile__( #if WSIZE(32) " call 1f \n" "1: popl %0 \n" #else " call 1f \n" "1: popq %0 \n" #endif : "=r" (r)); // output return r; } But x86-64 supports "lea (%rip), %reg". -- You are receiving this mail because: You are on the CC list for the bug.