lkml.org 
[lkml]   [2012]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v1 14/31] ARC: syscall support
    On 07/11/12 14:21, Arnd Bergmann wrote:
    > On Wednesday 07 November 2012, Vineet Gupta wrote:
    >> + * Being uClibc based we need some of the deprecated syscalls:
    >> + * -Not emulated by uClibc at all
    >> + * unlink, mkdir,... (needed by Busybox, LTP etc)
    >> + * times (needed by LTP pan test harness)
    >> + * -Not emulated efficiently
    >> + * select: emulated using pselect (but extra code to chk usec > 1sec)
    >> + *
    >> + * some (send/recv) correctly emulated using (recfrom/sendto) and
    >> + * some arch specific ones (fork/vfork)can easily be emulated using clone but
    >> + * thats the price of using common-denominator....
    >> + */
    >> +#define __ARCH_WANT_SYSCALL_NO_AT
    >> +#define __ARCH_WANT_SYSCALL_NO_FLAGS
    >> +#define __ARCH_WANT_SYSCALL_OFF_T
    >> +#define __ARCH_WANT_SYSCALL_DEPRECATED
    >
    > I'm pretty sure that this has been solved before, best get in contact with
    > the maintainers of the openrisc/c6x/hexagon platforms, that probably all
    > use uClibc without needing these.
    >
    > You have to remove the legacy calls here.

    Hi Vineet,

    FYI, we'll soon be making some uClibc patches available so that it can
    work without these deprecated syscalls and with the newer IPC interface
    (the work was needed for metag too). It's based roughly on the OpenRisc
    patches from last year, but with a fair few changes.

    Thanks
    James



    \
     
     \ /
      Last update: 2012-11-09 11:21    [W:4.075 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site