public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-devhelp@lists.gentoo.org
Cc: "de Almeida, Valmor F." <dealmeidav@ornl.gov>
Subject: Re: [gentoo-devhelp] gdbm ebuild with 64bit off_t
Date: Sat, 26 Jan 2008 05:17:13 -0500	[thread overview]
Message-ID: <200801260517.14278.vapier@gentoo.org> (raw)
In-Reply-To: <D2D7D9FE2492524A925313E2D82E1B53078573BB@ORNLEXCHANGE.ornl.gov>

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

On Friday 25 January 2008, de Almeida, Valmor F. wrote:
> > -----Original Message-----
> > From: Mike Frysinger [mailto:vapier@gentoo.org]
> > Sent: Wednesday, January 23, 2008 5:33 PM
> >
> > > Never dealt with ebuild files before; did some reading and then
> > >
> > > cd /usr/portage/sys-libs/gdbm/
> > > ebuild gdbm-1.8.3-r3.ebuild digest
> > > emerge gdbm
> > >
> > > Noticed that gcc now uses
> > >
> > > -D_FILE_OFFSET_BITS=64
> >
> > ok ... but does that solve your problem ?
>
> Yes, this does solve gdbm's problem. I tried the newly emerged gdbm and
> was able to create large data bases beyond the ~2GB file size limit. I
> generated 3.1GB databases and twice as large.
>
> Will the ebuild change be a part of future ebuild versions?
>
> I have exchanged e-mails with the gdbm maintainer and he said databases
> written with 32bit off_t will not be read/modified by gdbm when compiled
> with 64bit off_t.

that's because you're only changing how gdbm interfaces with the C library.  
you arent changing the gdbm API/ABI.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

  reply	other threads:[~2008-01-26 10:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23  2:59 [gentoo-devhelp] gdbm ebuild with 64bit off_t de Almeida, Valmor F.
2008-01-23  4:14 ` Mike Frysinger
2008-01-23  4:32   ` de Almeida, Valmor F.
2008-01-23  5:23     ` Mike Frysinger
2008-01-23 13:10       ` de Almeida, Valmor F.
2008-01-23 15:02         ` Mike Frysinger
2008-01-23 21:48           ` de Almeida, Valmor F.
2008-01-23 22:32             ` Mike Frysinger
2008-01-25 17:57               ` de Almeida, Valmor F.
2008-01-26 10:17                 ` Mike Frysinger [this message]
2008-01-27 16:43                   ` de Almeida, Valmor F.
2008-01-27 18:14                     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801260517.14278.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=dealmeidav@ornl.gov \
    --cc=gentoo-devhelp@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox