This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Large File Support in glibc 2.1?


>>>>> Ali Bahrami writes:

>> _IO_old_* are used if the file was opened from a program linked
>> against glibc 2.0.  You should recompile your libraries against glibc 2.1.

Ali> Well, that's interesting: My program is built and linked against glibc 2.1
Ali> to the best of my ability to tell. ldd(1) shows it linked to /lib/libc.so.6,
Ali> and ls shows that to be a symlink to libc-2.1.1.so. HOWEVER: I *am* linking
Ali> to some other libraries that were compiled against glibc 2.0 on an older
Ali> RedHat 5.1 system. The code where my crash is happening is all freshly
Ali> compiled (both the fopen() and the fclose(). Can the existence of 
Ali> unused glibc2.0 code within the same binary cause this sort of behavior?

It shouldn't.

>> 
>> If you could come up with a small program that shows this crash that
>> would be fine.
Ali> ...
>> 
>> It should be complete and is documented in the manual
>> (/usr/info/libc.info*).
>> 
>> But it's not really tested so far, I wouldn't be surprised to get bug
>> reports (please always use the glibcbug script!).

Ali> Understood. I'm still at the stage of trying to eliminate the stupid user
Ali> errors and be sure that I'm not just doing it wrong. I think the next
Ali> step would be to eliminate the use of those old libraries and see what
Ali> happens... Odds are I am the cause, but if that does not bear out, I'll
Ali> work on a small test program next...

And if that test program fails - and works on other platforms - send
it with the glibcbug script so that glibc gets fixed.

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]