Gentoo Archives: gentoo-devhelp

From: "de Almeida
To: Mike Frysinger <vapier@g.o>, gentoo-devhelp@l.g.o
Subject: RE: [gentoo-devhelp] gdbm ebuild with 64bit off_t
Date: Fri, 25 Jan 2008 17:58:07
In Reply to: Re: [gentoo-devhelp] gdbm ebuild with 64bit off_t by Mike Frysinger
> -----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 ? > -mike
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. Thanks, -- Valmor -- gentoo-devhelp@l.g.o mailing list


Subject Author
Re: [gentoo-devhelp] gdbm ebuild with 64bit off_t Mike Frysinger <vapier@g.o>