From owner-freebsd-questions Wed Jan 9 21:54:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 0EC0937B41A for ; Wed, 9 Jan 2002 21:54:44 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0A5sBY35220; Thu, 10 Jan 2002 00:54:11 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: /usr/lib/libc_r.so: undefined reference to `_thread_sys_sigreturn' From: Joe Clarke To: Rob B Cc: questions@FreeBSD.ORG In-Reply-To: <5.1.0.14.2.20020110162950.03f69890@pop.ozemail.com.au> References: <5.1.0.14.2.20020110162950.03f69890@pop.ozemail.com.au> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 10 Jan 2002 00:54:52 -0500 Message-Id: <1010642093.68230.12.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2002-01-10 at 00:31, Rob B wrote: > I submitted a PR (#31996) back in November about a build of db3 failing on > Alpha. The build fails with: > > configure:1084: checking for gcc > configure:1197: checking whether the C compiler (cc -O -pipe -mcpu=ev56 ) > works > configure:1213: cc -o conftest -O -pipe -mcpu=ev56 > -D_THREAD_SAFE conftest.c -pthread 1>&5 > /usr/lib/libc_r.so: undefined reference to `_thread_sys_sigreturn' > configure: failed program was: > > #line 1208 "configure" > #include "confdefs.h" > > main(){return(0);} > (end of "config.log") > *** Error code 1 > > Looking back through the freebsd-alpha archives, it would appear that it is > a problem that has been fixed in libc. Is it possible to just build an > updated libc, rather than rebuilding world? I would like to stay at 4.4 > rather than upgrading the box to 4.5-RC You can cvsup everything, then cd to /usr/src/lib/libc and do a make all install clean. For this problem, I think you will also need to do the same in /usr/src/lib/libc_r. However, there is no telling what just upgrading libc and libc_r may do. You may break some things. If you decide to do this, you might want to keep a backup of your libc and libc_r shared objects and archive libs around. Joe > > /: uname -a > FreeBSD erwin 4.4-STABLE FreeBSD 4.4-STABLE #2: Thu Nov 29 11:25:24 EST 2001 > root@erwin:/usr/src/sys/compile/ERWIN alpha > > Cheers, > Rob > > > -- > Everything in excess! To enjoy the flavor of life, take big bites. > > [15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian > This is random quote 399 of a collection of 1201 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message