dl_iterate_phdr missing in libc
carmelo73 at gmail.com
Fri Jan 11 17:03:09 UTC 2008
On 11/01/2008, Bernd Schmidt <bernds_cb1 at t-online.de> wrote:
> Carmelo AMOROSO wrote:
> > Hi All,
> > I'm facing a problem when statically linking an app with
> > sh4-linux-uclibc-g++
> > caused by the missing symbol dl_iterate_phdr as below:
> > sh4-linux-uclibc-g++ -static main.c
> > /opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1/libgcc_eh.a(unwind-dw2-fde-glibc.o):
> > In function `_Unwind_Find_FDE':
> > /home/macaroni/users/products/stm2.3/build/packages/stm-cross-gcc-sh4_uclibc/BUILD/gcc-4.2.1/objdir/gcc/../../gcc/unwind-dw2-fde-glibc.c:430:
> > undefined reference to `dl_iterate_phdr'
> We just configure our compilers not to use unwind-dw2-fde-glibc, but the
> generic version.
I read you reply better again... just to understand better.
Is the unwind-dw2-fde-glibc wrong/unusable for uclibc being strictly
based on some glibc features, or it's one of the possible
In case it's wrong/unusable, then should be worth add a patch to gcc
configuration into buildroot.
Thanks and regards,
More information about the uClibc