[klibc] run-init warning

H. Peter Anvin hpa at zytor.com
Wed Jun 9 13:57:43 PDT 2004

H. Peter Anvin wrote:
> Alexander E. Patrakov wrote:
>>> From your previous post I suspect that statfs() is simply broken in 
>>> klibc (not really surprising since I just made big changes to it last 
>>> night.)  I'll see if I can make it cleaner.
>> You are right. run-init from klibc-0.130 does not work with 
>> klibc-0.130 (even without register parameters), but works when I 
>> recompile it against uclibc. It also works when compiled against 
>> klibc-0.116 without register parameters. In uclibc and klibc-0.116 
>> cases, I had to add TMPFS_MAGIC and RAMFS_MAGIC definitions to the 
>> run-init.c file.
>> Hope this helps.
> It does... I will have to investigate further.

Okay... it turns out that *statfs64() has a different calling convention... I 
have fixed this and released klibc-0.133, plus a few x86-64 changes and tests 
for stat and statfs.


More information about the klibc mailing list