nptl branch with i386

Carmelo AMOROSO carmelo.amoroso at st.com
Mon Jun 29 13:54:47 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matteo Petracca wrote:
> Hi,
> I'm using the libraries in openwrt and I have issues to execute
> ffmpeg. With the simple command:
> 
> ffmpeg -i mediafile
> 
> I should have as output informations about the file, but I get a
> segmentation fault.
> This is the gdb output that I have:
> 
> Program received signal SIGSEV, Segmentation fault.
> 0xb7965cbc in lrintf () from /lib/libm.so.0
> 
> I will try with other architectures as soon as possible.
> 
> Matteo
> 
Matteo,
I would suggest to use gdb and debug it.

Ciao,
Carmelo
> Timo Teräs wrote:
>> Matteo Petracca wrote:
>>> Hello,
>>> I am trying to use the nptl branch with i386 support
>>> added by Timo through the patch:
>>>
>>> http://solidboot.com/~fabled/uclibc-nptl-i386.diff
>>>
>>> It works and the system compiles, but I am having
>>> some issues in using the lrintf function which gives
>>> segmentation fault.
>>>
>>> Thank you very much for any possible help.
>>
>> Could you provide a simple test program that crashes?
>> Or a gdb backtrace of your program while it crashes?
>>
>> Looks like lrintf is just a simple inline function
>> that executes a specific fpu instructions. The only
>> way it can be nptl/i386 specific is that the fpu
>> instruction is mangling some TLS specific variable.
>> Do you know if it works with nptl branch on some other
>> architecture?
>>
>> - Timo
>>
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkpIx6cACgkQoRq/3BrK1s9Q3wCfQQYsq2XG9GkW8ErKjf1x2LsQ
dSAAn0bv4b3pXERNWCSap9PA89zPvxL3
=+3EQ
-----END PGP SIGNATURE-----


More information about the uClibc mailing list