πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86808

Re: Setting up INN

#86808
From: Russ Allbery
Date: Thu, 11 Jun 2015 02:57
27 lines
2321 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> As far as I understand, not explicitly using the "--enable-largefiles"
> (that is to say not using inn2-lfs on that version of Ubuntu) will cause
> an issue because INN links with libperl that is LFS-aware.  If you have
> a look at m4/perl.m4, you will see that the flags -D_LARGEFILE_SOURCE,
> -D_FILE_OFFSET_BITS=64 and -D_LARGE_FILES are explicitly *removed*, even
> on 64-bit platforms.

--enable-largefiles and those flags are only a thing on 32-bit platforms
and some very rare 64-bit platforms that aren't Linux.

On Linux, the 64-bit ABI has always supported large files, and all of
those flags are meaningless and ignored.

> Besides, the fseeko and ftello replacements will use long instead of
> off_t.

This is fine; long is 64 bits on 64-bit Linux, as is off_t.

-- 
Russ Allbery (eagle@eyrie.org)              <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Technical Details
Message-ID: <87twuf3qbm.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <1187163953@f100.n770.z3.fidonet.org> <tskirvin.20150602170540$7a50@locust.killfile.org> <ml3no4$4ka$1@speranza.aioe.org> <ml4j8n$c82$1@news.trigofacile.com> <ml69bh$6no$1@speranza.aioe.org> <ml7gr6$jga$1@news.trigofacile.com> <wwvsia09bgc.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid> <mla4bc$g8l$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87twuf3qbm.fsf@hope.eyrie.org>
Subject: Re: Setting up INN
Date: Wed, 10 Jun 2015 19:57:01 -0700
From: Russ Allbery <eagle@eyrie.org>
References: <1187163953@f100.n770.z3.fidonet.org> <tskirvin.20150602170540$7a50@locust.killfile.org> <ml3no4$4ka$1@speranza.aioe.org> <ml4j8n$c82$1@news.trigofacile.com> <ml69bh$6no$1@speranza.aioe.org> <ml7gr6$jga$1@news.trigofacile.com> <wwvsia09bgc.fsf@l1AntVDjLrnP7Td3DQJ8ynzIq3lJMueXf87AxnpFoA.invalid> <mla4bc$g8l$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 25
NNTP-Posting-Host: lothlorien.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: usenet-its.stanford.edu 1433991421 6854 68.65.164.14 (11 Jun 2015 02:57:01 GMT)
X-Complaints-To: news@usenet-its.stanford.edu
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Cancel-Lock: sha1:1G5stSvH20G+5Z6CutmWFa4Fpk0=
X-Received-Body-CRC: 4069211366
X-Received-Bytes: 2370