[PATCH] Re: readahead offset type (re: mantis 0001024)
Mark S. Mathews
mark at linux-wlan.com
Mon Jan 29 20:46:49 UTC 2007
Thanks for the patch Asier, but I don't believe disabling this syscall
is quite the right way to go either.
Mike,
I did a little looking about and it would appear the LFS should be
enabled for a build with just about _any_ reasonably recent kernel,
whether one needs it or not (my target FS's are normally no larger
than 16M ;-).
Is this a reasonably correct statement?
It got turned off in my build because of my using svn-head buildroot
and 0.9.28.1 uClibc (the toolchain/uClibc/..config file didn't get
picked up due to version matching in uclibc.mk).
No complaints here, just looking for better understanding.
Thanks,
-Mark
Quoting Asier Llano Palacios <a.llano at usyscom.com>:
> I've done this patch to let it compile without LFS.
>
> Asier
>
> El lun, 29-01-2007 a las 12:37 -0500, Mark S. Mathews escribió:
>> Hello All,
>>
>> Bug #0001024 (syntax error on offset arg in libc/sysdeps/common/readahead.c)
>> is marked closed, but I ran into it with:
>>
>> uClibc-0.9.28.1,
>> buildroot-17604,
>> gcc-3.4.3
>> binutils-2.17.50.0.10
>> linux-libc-headers-2.4.27
>> target=armeb/xscale
>>
>> Changing off64_t to loff_t (to match sys_readahead in this kernel)
>> seems to work for me.
>>
>> Since loff_t is a kernel-defined type , I'm guessing this isn't a
>> generally acceptable solution.
>>
>> If someone's got some thoughts on the 'right way' to fix it, I'm all ears.
>>
>> Thanks,
>> -Mark
>>
>> Mark S. Mathews
>>
>> AbsoluteValue Systems Web: http://www.linux-wlan.com
>> 721-D North Drive e-mail: mark at linux-wlan.com
>> Melbourne, FL 32934 Phone: 321.259.0737
>> USA Fax: 321.259.0286
>>
>> _______________________________________________
>> uClibc mailing list
>> uClibc at uclibc.org
>> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
> ----------------------------------------- PLEASE NOTE
> -------------------------------------------
> This message, along with any attachments, may be confidential or
> legally privileged.
> It is intended only for the named person(s), who is/are the only
> authorized recipients.
> If this message has reached you in error, kindly destroy it without
> review and notify the sender immediately.
> Thank you for your help.
> µSysCom uses virus scanning software but excludes any liability for
> viruses contained in any attachment.
>
> ------------------------------------ ROGAMOS LEA ESTE TEXTO
> -------------------------------
> Este mensaje y sus anexos pueden contener información confidencial
> y/o con derecho legal.
> Está dirigido únicamente a la/s persona/s o entidad/es reseñadas
> como único destinatario autorizado.
> Si este mensaje le hubiera llegado por error, por favor elimínelo
> sin revisarlo ni reenviarlo y notifíquelo inmediatamente al
> remitente. Gracias por su colaboración.
> µSysCom utiliza software antivirus, pero no se hace responsable de
> los virus contenidos en los ficheros anexos.
>
Mark S. Mathews
AbsoluteValue Systems Web: http://www.linux-wlan.com
721-D North Drive e-mail: mark at linux-wlan.com
Melbourne, FL 32934 Phone: 321.259.0737
USA Fax: 321.259.0286
More information about the uClibc
mailing list