Sorry for resurrecting a half-year-old thread. Just ran into the same problem when building uclibc 0.9.33.2 for mipsel with debug symbols enabled. Before I dig any deeper, did someone fix the problem?
On Wed, Aug 29, 2012 at 4:43 AM, <[email protected]> wrote: > sorry for misunderstanding, but it's too strange to invoke collect2 when > building libc.so and appear libc_so.a in the error log. > > xinglong > > >> -------Original Message------- >> From: Dubey, Abhishek <[email protected]> >> To: [email protected] <[email protected]>, >> [email protected] <[email protected]> >> Subject: RE: uclibc 3.3.2 with gcc-4.7 >> Sent: Aug 29 '12 00:02 >> >> Thanks. Did you intend to say that we should provide a dependency of >> libgcc_eh.a while building the uclibc.so? >> The problem is coming while compiling uclibc itself not while compiling an >> application. >> >> Abhishek >> >> >> ________________________________________ >> From: [email protected] [[email protected]] >> Sent: Monday, August 27, 2012 9:03 PM >> To: Dubey, Abhishek; [email protected] >> Subject: Re: uclibc 3.3.2 with gcc-4.7 >> >> make sure you linked with libgcc_eh.a, both of these two symbols in >> libgcc_eh.a >> >> xinglong >> >> >> > -------Original Message------- >> > From: Dubey, Abhishek <[email protected]> >> > To: [email protected] <[email protected]> >> > Subject: uclibc 3.3.2 with gcc-4.7 >> > Sent: Aug 28 '12 02:17 >> > >> > Building uclibc 3.3.2 with debugging and NPTL using the gcc 4.7.1 >> compiler leads to the following unresolved symbols. >> > >> > libc/libc_so.a(lockf.os): In function `__GI_lockf': >> > /home/f6/F6Dev/f6utils/IM/uClibc-0.9.33.2/libc/misc/file/lockf.c:73: >> undefined reference to `_Unwind_Resume' >> > >> libc/libc_so.a(lockf.os):(.data.DW.ref.__gcc_personality_v0[DW.ref.__gcc_personality_v0]+0x0): >> undefined reference to `__gcc_personality_v0' >> > collect2: error: ld returned 1 exit status >> > make: *** [lib/libc.so] Error 1 >> > >> > Any suggestions on what is the cause of the problem. Has anyone else >> faced this before? >> > >> > Regards >> > Abhishek >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > uClibc mailing list >> > [email protected] >> > http://lists.busybox.net/mailman/listinfo/uclibc >> > >> >> > _______________________________________________ > uClibc mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
