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 <abhishek.du...@vanderbilt.edu> > To: liaoxingl...@icubecorp.com <liaoxingl...@icubecorp.com>, > uclibc@uclibc.org <uclibc@uclibc.org> > 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: liaoxingl...@icubecorp.com [liaoxingl...@icubecorp.com] > Sent: Monday, August 27, 2012 9:03 PM > To: Dubey, Abhishek; uclibc@uclibc.org > 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 <abhishek.du...@vanderbilt.edu> > > To: uclibc@uclibc.org <uclibc@uclibc.org> > > 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 > > uClibc@uclibc.org > > http://lists.busybox.net/mailman/listinfo/uclibc > > > > _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc