James McCoy wrote:
> And why does Perl's build think they are necessary, advertising them as
> required to build against Perl?

Even in Linux architectures (amd64 and armhf for example) Perl
advertises -D_LARGEFILE_SOURCE as a necessary compiler flag:

$ perl -MExtUtils::Embed -e ccopts
 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe

According to feature_test_macros(7) it should not be necessary and is
now discouraged;  but it reads like _LARGEFILE_SOURCE should be defined
by default anyway.  Maybe that is the issue we have on kfreebsd-i386.

Steven Chamberlain

Attachment: signature.asc
Description: Digital signature

Reply via email to