some errors to run programs build with uClibc-master

Stephan Raue mailinglists at openelec.tv
Sat Aug 8 21:02:15 UTC 2009


Am 08.08.2009 21:13, schrieb Bernhard Reutner-Fischer:
> 2009/8/7 Stephan Raue<mailinglists at openelec.tv>:
>    
>> Hi Bernhard
>>
>> does this all help you or do you need more informations?
>>      
>
> Can you turn on SUPPORT_LD_DEBUG_EARLY and run the dynamic binary with
> LD_DEBUG=all
>    
attached, i hope you find what is wrong and this help me with the other 
problems i have since upgrading to uClibc-master

thank you
>> Stephan
>>
>>
>> Zitat von Stephan Raue<mailinglists at openelec.tv>:
>>
>>      
>>> Am 05.08.2009 13:33, schrieb Bernhard Reutner-Fischer:
>>>        
>>>> 2009/8/4 Stephan Raue<mailinglists at openelec.tv>:
>>>>
>>>>          
>>>>> Am 03.08.2009 11:29, schrieb Bernhard Reutner-Fischer:
>>>>>
>>>>> 2009/8/3 Stephan Raue<mailinglists at openelec.tv>:
>>>>>
>>>>>
>>>>>
>>>>> - i have busybox-1.14.2 (and busybox-master) build statically for
>>>>> initramfs
>>>>> and shared für system. statically build busybox produces a segfault,
>>>>> when i
>>>>> am building busybox shared it works.
>>>>>
>>>>>
>>>>> Test a simple static binary, something like:
>>>>> #include<unistd.h>
>>>>> int main(void) {
>>>>>         char *msg = "works\n";
>>>>>         return write(STDOUT_FILENO, msg, 6) != 6;
>>>>> }
>>>>>
>>>>> If that static binary also segfaults, then provide a gdb backtrace.
>>>>>
>>>>>
>>>>> Backtrace of this test:
>>>>>
>>>>> Program received signal SIGSERV, Segmentation fault.
>>>>> 0x00000000 in ?? ()
>>>>>
>>>>> (gdb) bt
>>>>> #0  0x00000000 in ?? ()
>>>>> #1 0x080483b1 in ?? ()
>>>>> #2  0x00000000 in ?? ()
>>>>>
>>>>>            
>>>> Please provide a backtrace with a non-stripped version (built with -g,
>>>> or -g3 -ggdb3).
>>>>
>>>>          
>>> (gdb) bt
>>> #0  0x00000000 in ?? ()
>>> #1  0x080483b5 in __uClibc_main ()
>>> #2  0x00000000 in ?? ()
>>>
>>>        
>>>> Can you also try whether it runs if you build everything with -O0?
>>>>
>>>>          
>>> the sam error and backtrace
>>>        
>>>> (which version of gcc and binutils are you using, again)?
>>>>
>>>>
>>>>          
>>> gcc-4.4.1
>>> binutils-2.19.51.0.1
>>>        
>>>>> /usr/bin/gst-launch-0.10: symbol 'v4lconvert_needs_conversion': can't
>>>>> resolve symbol in lib '/usr/lib/gstreamer-0.10/libgstvideo4linux2.so'.
>>>>>
>>>>>            
>>>> Is that so stripped? If so, with which strip?
>>>>
>>>>
>>>>          
>>> yes, with strip from toolchains binutils-2.19.51.0.1
>>>
>>> many many thanks
>>>
>>> Stephan
>>>
>>> --
>>>               ### OpenELEC.tv ###
>>> The free and open Mediacenter Distribution 4 you
>>>              http://www.openelec.tv
>>>
>>> _______________________________________________
>>> uClibc mailing list
>>> uClibc at uclibc.org
>>> http://lists.busybox.net/mailman/listinfo/uclibc
>>>
>>>
>>>        
>>
>> --
>>               ### OpenELEC.tv ###
>> The free and open Mediacenter Distribution 4 you
>>               http://www.openelec.tv
>>
>>
>>
>>      
>
>    


-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.debug
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090808/b0ed2f70/attachment.diff>


More information about the uClibc mailing list