bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/30036] New: Build failure on aarch64 w/ glibc: symbol `pwri


From: stlman at poczta dot fm
Subject: [Bug gprofng/30036] New: Build failure on aarch64 w/ glibc: symbol `pwrite64' is already defined
Date: Mon, 23 Jan 2023 19:25:00 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]