gprofng: PR30036 Build failure on aarch64 w/ glibc: symbol `pwrite64' is already...
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Fri, 17 Feb 2023 03:00:47 +0000 (19:00 -0800)
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>
Fri, 17 Feb 2023 22:00:54 +0000 (14:00 -0800)
commitf6f19a39ecfe962cb8a05522c27f513308687a74
treee483557678f9c0250ec9e1009e6bcbfbed51836a
parent7a2a5ff865bead782393897fc5fde47def30dad4
gprofng: PR30036 Build failure on aarch64 w/ glibc: symbol `pwrite64' is already defined

gprofng/ChangeLog
2023-02-16  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

PR gprofng/30036
* libcollector/iotrace.c: Define creat64 and pwrite64 only when
__USE_LARGEFILE64 and __USE_FILE_OFFSET64 are not defined.
* libcollector/mmaptrace.c: Likewise for mmap64.
gprofng/libcollector/iotrace.c
gprofng/libcollector/mmaptrace.c