On Thu, Mar 11, 2010 at 11:50 AM, Marc Kleine-Budde <[email protected]> wrote:
> Ron Knollman wrote:
>> I created a new project by cloning your example project as before, and
>> changing to the new toolchain.  A build of that project failed, yielding an
>> error:  "undefined reference to ppoll" (as shown in attached
>> "ptxdist_error1.txt".  I did find the file "ppoll.c" in the toolchain
>> build-target/glibc-2.5/io directory, so the ppoll routine exists, but for
>> some reason was not included?
>
> The problem on arm is, it doesn't support ppoll until 2.6.33 or even
> .34. In recent glibc (i.e. 2.8) with a non ppoll kernel, the glibc
> "emulates" ppoll. Resulting in racy code without telling the developer
> that it is racy. (ppoll was introduced to fix a race in "change signal
> mask and poll").

ARM support for ppoll() was added in 2.6.32
If you can't go to kernel >=2.6.32, maybe you could patch your kernel:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=369842658a36bcea28ecb643ba4bdb53919330dd

Jon

--
ptxdist mailing list
[email protected]

Reply via email to