List Archive: gentoo-devhelp
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
> -----Original Message-----
> From: Mike Frysinger [mailto:firstname.lastname@example.org]
> Sent: Tuesday, January 22, 2008 11:15 PM
> > The reason is that as it stands now, gdbm-1.8.3-r3 on 32bit machines
> > only work with data base files of about 2 GB since off_t is 4 bytes.
> > gdbm is built with off_t size equal to 8 bytes, it will handle much
> > larger database files.
> can you describe the issue you're looking a bit more ?
When emerging gdbm-1.8.3-r3 on my system, off_t is 4 bytes. Therefore
the gdbm files are of about 2 GB maximum size. Trying to create
databases with greater sizes results in
gdbm fatal: write error
If gdbm is built with off_t defined as 8 bytes, much larger gdbm files
can be created. However previous database files created with off_t of 4
bytes cannot be modified or read.
I am wondering whether gdbm could be built with this flexibility.
Portage 220.127.116.11 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
System uname: 18.104.22.168 i686 Intel(R) Xeon(TM) CPU 2.60GHz
Timestamp of tree: Sat, 17 Nov 2007 04:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
CFLAGS="-O3 -march=pentium4 -pipe"
> > It would be helpful if there were a USE 64bit option for emerging
> mmm, that's not the way to approach this issue
email@example.com mailing list