"libc/stdlib/malloc/calloc.c: No such file or directory" with blackfin-toolchain-uclibc-default (08r1.5-14 at 386)

Carmelo AMOROSO carmelo.amoroso at st.com
Tue Sep 9 15:54:57 UTC 2008


gargs wrote:
> Hi
> 
> I am cross compiling a program that is known to work on various other  
> uClinux platforms, to target blackfin.
> 
> When I compile using the blackfin-toolchain-uclibc-default  
> (08r1.5-14 at 386), and debug the code using gdb, before the segmentation  
> fault, I get numerous messages of this nature:
> 
> calloc (nmemb=12, lsize=1) at libc/stdlib/malloc/calloc.c:34
> 34      libc/stdlib/malloc/calloc.c: No such file or directory.
>          in libc/stdlib/malloc/calloc.c
> 
> and
> 
> *___GI_strrchr (s=0x920f86 "pd", c=<value optimized out>) at libc/ 
> string/generic/strrchr.c:29
> 29      libc/string/generic/strrchr.c: No such file or directory.
>          in libc/string/generic/strrchr.c
> 
> Why is this so? I installed the uclibc from the blackfin.uclinux.org  
> RPM.
> 
> cheers,
> 
> -dee
> 
It seems to be a problem related to wrong settings in gdb,
almost sure that the search path for source files is wrong.

On gdb console try
gdb> show dir
to see the current values and eventually fix it by using
gdb> dir <your source root dir>

Otherwise, post message to gdb list.

Carmelo
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
> 




More information about the uClibc mailing list