]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: do not use mmap on Solaris 11
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 16 Jul 2025 12:10:05 +0000 (13:10 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 23 Jul 2025 12:06:09 +0000 (13:06 +0100)
commit00d853d1fe7885d0a685584f32b7ed70485c6def
tree7923267110a9b5c10ab364eecf3e075ca59164be
parent83eeaf917873a550656faf9a38cd14e0f4c521b1
libctf: do not use mmap on Solaris 11

Writable mmaps and read are inconsistent with each other on Solaris 11.4,
which breaks archive writing.  Simply assert that Solaris 2.11 doesn't have
mmap, falling back to read(): the archive format is being bumped shortly, to
one with completely different writeout code, so this workaround need not
stay for long.

[nca: added commit log]

libctf/
PR libctf/29292
* configure.ac: Turn off mmap on Solaris 2.11.
* configure: Regenerated.
libctf/configure
libctf/configure.ac