Subject: | Build fails with gcc 4.3+ |
Date: | Sun, 3 Mar 2019 11:12:01 -0500 |
To: | bug-Archive-Extract-Libarchive [...] rt.cpan.org |
From: | tlhackque <tlhackque [...] yahoo.com> |
The build will fail with newer gcc 4.3+ due to a conflict with pread64.
Error: symbol `pread64' is already defined
The details are at http://gcc.gnu.org/gcc-4.3/porting_to.html
See "Semantic change of extern inline"
To work around this issue, add
extra_compiler_flags => ['-fgnu89-inline'],
to Build.PL
A more careful change is probably required to ensure that this flag
isn't used with other compilers.