Re: [uClibc][armeb] recvfrom fails with EFAULT when from, fromlen are not NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, Nov 13, 2008 at 11:05:32PM +0200, Alon Bar-Lev wrote:
> I opened a bug in uClibc [1], but I think maybe someone is interested to help.
> 
> When running a simple UDP listener on big endian system, the program
> blocks until a message is received and then returns with EFAULT, this
> happens when from structure needs to be stored.
> 
> glibc works as expected.
> glibc, uclibc work as expected on armel.
> 
> So the issue may be related to the big endian... But I cannot figure
> it out from the sources.
> 
> Does someone use big endian system with uClibc?
> 
> Maybe someone know the difference between the endianness of the ARM EABI?

Your test program runs here on armeb with OABI, fwiw. I don't run EABI
as I couldn't get gcc to compile when I last tried it (12 months or so).

Hamish
-- 
Hamish Moffatt VK3SB <hamish@xxxxxxxxxx> <hamish@xxxxxxxxxxxx>

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter