bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LFS problem???


From: Andreas Jaeger
Subject: Re: LFS problem???
Date: 25 Jan 2001 16:03:22 +0100
User-agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands)

Mark Hounschell <address@hidden> writes:

> Andreas Jaeger wrote:
> > 
> > Mark Hounschell <address@hidden> writes:
> > 
> > > I recently upgraded to a 2.4.0 kernel with reiser and sgi's xfs
> > > filesystem patches in order to get LFS (large file support). I had
> > > glibc-2.0 on the system. I was succsessful in that I could create
> > > and read a 2gb+ file.  The only problem I noticed was ls -al bigfile
> > > gave some message about the file being to large to stat. I figured
> > > the was probably a glibc issue so I installed glibc-2.2.1 then
> > > recompiled/installed the fileutils-4.0.37 package. Now I can no
> > > longer even create a large file. Anyone know what's up here. I used
> > > tar to create the file the same way I did before upgrading to
> > > glibc-2.2.1. Is there some special configure option for LFS??
> > 
> > Please read the glibc FAQ and my LFS page on
> > www.suse.de/~aj/linux_lfs.html
> When I comiled glibc should I have used CFLAGS="-D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE" and the same for fileutils?
That would be wrong for both.  If you have a recent fileutils version,
it should select this yourself.

>  I've read the FAQ probably 20 times and didn't see
> any reference to having to do somthing special for LFS support. Even so
> every time I did read It found somthing I thought I hadn't read before.
> 20 more times???

Read the FAQ on "kernel headers"

> > 
> > You need to compile glibc with headers from 2.4 and should use ext2fs
> > instead of ReiserFS for LFS.
> I did that: --with-headers=/usr/src/linux-2.4.0/include. I've patched
> the
> kernel tree with the linux-2.4.0-reiserfs-3.6.25-patch so why should I
> not
> use Reiser for LFS?

AFAIK the support in ReiserFS is not fully LFS compliant.  i advise to
write a simple test program that uses LFS and run it with strace/ltrace.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]