Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
James McCoy wrote:
> Lo and behold, configuring without --enable-perlinterp but adding
> "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" to PERL_CFLAGS in
> src/auto/config.mk reproduces the issue.
[...]
> Which begs the question, why does configure think the defines aren't
> necessary?
That seems to not be the issue. It is just testing if lseeko() is
declared already, without explicitly asking for -D_LARGEFILE_SOURCE.
The result on both kfreebsd and linux is that it is not needed to use
-D_LARGEFILE_SOURCE at all.
So the linux arches already build option.c with -D_LARGEFILE_SOURCE and
-D_FILE_OFFSET_BITS=64, and most other sources without. I wonder what
are the implications. -D_FILE_OFFSET_BITS=64 has some effects on 32-bit
arches, but not on 64-bit where relevant types are 64 bits long anyway.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Attachment:
signature.asc
Description: Digital signature
Reply to:
- References:
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: Steven Chamberlain <steven@pyro.eu.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: Steven Chamberlain <steven@pyro.eu.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: Steven Chamberlain <steven@pyro.eu.org>
- Re: Bug#827319: vim: FTBFS[alpha,kfreebsd-*]: Test_tagcase() failed
- From: James McCoy <jamessan@debian.org>