Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-devhelp@g.o
From: Mike Frysinger <vapier@g.o>
Subject: Re: gdbm ebuild with 64bit off_t
Date: Sat, 26 Jan 2008 05:17:13 -0500

 1.1

On Friday 25 January 2008, de Almeida, Valmor F. wrote:
> > -----Original Message-----
> > From: Mike Frysinger [mailto:vapier@g.o]
> > 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:
signature.asc (This is a digitally signed message part.)
Replies:
RE: gdbm ebuild with 64bit off_t
-- de Almeida, Valmor F.
References:
gdbm ebuild with 64bit off_t
-- de Almeida, Valmor F.
Re: gdbm ebuild with 64bit off_t
-- Mike Frysinger
RE: gdbm ebuild with 64bit off_t
-- de Almeida, Valmor F.
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RE: gdbm ebuild with 64bit off_t
Next by thread:
RE: gdbm ebuild with 64bit off_t
Previous by date:
Re: sci-libs/sympy USE flags
Next by date:
RE: gdbm ebuild with 64bit off_t


May 29, 2008

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.