https://sourceware.org/bugzilla/show_bug.cgi?id=30036
Bug ID: 30036
Summary: Build failure on aarch64 w/ glibc: symbol `pwrite64'
is already defined
Product: binutils
Version: 2.39
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gprofng
Assignee: vladimir.mezentsev at oracle dot com
Reporter: stlman at poczta dot fm
Target Milestone: ---
Compilation of gprofng/libcollector/iotrace.c fails with the following messages
{standard input}: Assembler messages:
{standard input}:12688: Error: symbol `pwrite64' is already defined
As far as I can tell this is due to inclusion of unistd.h and how pwrite (w/o
64) is declared there with the __REDIRECT macro. Although gcc -E iotrace.c
shows pwrite() and pwrite64() as two distinct functions, gcc -S shows them both
labeled pwrite64.
--
You are receiving this mail because:
You are on the CC list for the bug.