On 21/01/2012 9.28, Khem Raj wrote: > On (20/01/12 10:36), Carmelo AMOROSO wrote: >> On 20/01/2012 7.55, Khem Raj wrote: >>> On Thu, Jan 19, 2012 at 6:42 AM, Carmelo AMOROSO <carmelo.amor...@st.com> >>> wrote: >>>> On 19/01/2012 15.28, Carmelo AMOROSO wrote: >>>>> Fill properly the sym_ref fields when invoking _dl_find_hash to lookup >>>>> symbols >>> >>> this did not make the segfault go away. Although this patch is ok. >>> this problem is a crash in libstdc++ I did not have debug info to >>> get more info but I am building an image with debug info >>> >> >> I can't help with mips. As soon as you have some debug out, I can try to >> figure out where the problem is. >> >> I've looked at the change history of mips/elfinterp.c, I'm not seeing >> currently other fix than this one, but I'll keep on looking at this. > > I see the problem and attached patch fixed it. Relocations on mips were > being resolved before the new module scope was added to scope map and > it was causing the libstdc++ constructors to fail to run since the > symbols were not resolved properly. >
great fine. Fix makes sense. Acked-by: Carmelo Amoroso <carmelo.amor...@st.com> > I will push the three fixes we have in this series soon unless someone > has objections > none from me. > -Khem > > Carmelo _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc