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

LFS | Large File Support using 2.4.9 and glibc 2.1.3 under RH6.2



I'm running glibc 2.1.3 w/ kernel 2.4.9 and would like to enabled Large File Support. My glibc 2.1.3 was recompiled
from the 6.2 source RPM after the 2.4.9 kernel upgrade. From the this [http://www.suse.de/~aj/linux_lfs.html] page reads
(and a few other posts I've read) that should be it. None of the articles I've read mention using any special compile/include/make flags when recompiling glibc. I've also upgraded to bash2.


o Should any special patches or flags be passed to glibc 2.1.3 when
recompiling after upgrading to kernel 2.4.9?

o Is there a simple way to test that LFS is indeed present in my new glibc 2.1.3 w/ kernel 2.4.9 combination? `dd if=/dev/zero of=test.file
count=4400000` consistently fails with "File size limit exceeded(core
dumped)", but I'm not certain this isn't due to a limitation of dd. I've
tried the ulimit-pam.d/sshd fix, but that doesn't appear to have any affect.


o I recompiled tar-1.13 from the gnu.org tgz hoping that this might shed some light on what might be present LFS-wise.

[from `./configure`]

checking for CFLAGS value to request large file support... -D_FILE_OFFSET_BITS=64
checking for LDFLAGS value to request large file support...
checking for LIBS value to request large file support...
checking for _FILE_OFFSET_BITS... 64
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no


Should _LARGEFILE_SOURCE or _LARGE_FILES be automatically detected? I tried #define'ing _LARGEFILE_SOURCE and _LARGE_FILES manually in tar's config.h, but this didn't allow tar to create a file larger than 2GB.

Out of desperation, I also tried rebuilding glibc-2.1.3 using the SRPMS from ftp://ftp.scyld.com/pub/lfs/SRPMS, but this didn't solve the problem using either the tar or dd tests.

The only RPMs I've worked with so far have been glibc-2.1.3, glibc-devel-2.1.3 and glibc-profile-2.1.3. I didn't notice any specific mention of modifying libstdc++, so I left it as is.

I've also tried the tar and dd tests on both an ext2 and reiserfs 3.6 partitions, with no luck.

I'm missing a small piece of the puzzle. Answers or suggestions from those who've succeeded in getting LFS working on a RH6.2 box with 2.4.x and glibc 2.1.3 would be greatly appreciated. I'm sure I'm missing something really simple.

Thanks again!

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





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