https://bugs.kde.org/show_bug.cgi?id=371668
Bug ID: 371668 Summary: ppc64 clobbering of R2 is invalid. Product: valgrind Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: will_schm...@vnet.ibm.com This was recently noticed and reported via GCC bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78095 " > (Powerpc) > <li>GCC now diagnoses inline assembly that clobbers register r2. > This has always been invalid code, and is no longer quietly > tolerated.</li> " Reproducible: Always Actual Results: Errors reported in several spots, including: m_debuglog.c: In function 'vgPlain_debugLog': m_debuglog.c:228:4: error: PIC register clobbered by 'r2' in 'asm' __asm__ volatile ( ^~~~~~~ ### and In file included from ../include/pub_tool_clreq.h:34:0, from pub_core_clreq.h:38, from vg_preloaded.c:46: vg_preloaded.c: In function '_vgnU_ifunc_wrapper': ../include/valgrind.h:3292:7: error: PIC register clobbered by 'r2' in 'asm' __asm__ volatile( \ ^ vg_preloaded.c:104:5: note: in expansion of macro 'CALL_FN_W_v' CALL_FN_W_v(result, fn); ^~~~~~~~~~~ -- You are receiving this mail because: You are watching all bug changes.