From owner-cvs-all Fri Jan 24 0:47: 9 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F252037B401; Fri, 24 Jan 2003 00:47:07 -0800 (PST) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CE9343EB2; Fri, 24 Jan 2003 00:47:07 -0800 (PST) (envelope-from altea@attbi.com) Received: from imerxion.we.client2.attbi.com (c-24-126-197-60.we.client2.attbi.com[24.126.197.60]) by rwcrmhc51.attbi.com (rwcrmhc51) with SMTP id <200301240847010510082cs1e>; Fri, 24 Jan 2003 08:47:01 +0000 Subject: Compiling libc and libc_r broken with new compiler code generator and GNU C 3.2.1-FreeBSD release From: joseph To: Max Khon Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <200301240146.h0O1kUCt053053@repoman.freebsd.org> References: <200301240146.h0O1kUCt053053@repoman.freebsd.org> Content-Type: text/plain Organization: Message-Id: <1043398033.66422.8.camel@imerxion.we.client2.attbi.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 24 Jan 2003 00:47:13 -0800 Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi - IS libc_r and libc Makefile process slightly broken??? If you build libc and try to install it works but then the compiling of any program using THIS libc is broken using the RELEASE-5.0 make files. It says the pthread references are not linked into the libc.so -- Where do these get linked in?? I have been experimenting with a new code generator I wrote for gnu 3.2.1 (C/C++) and it can really speed things up. When I recompiled the libc and libc_r the compiler stopped working under 5.0-RELEASE, but under 4.7-STABLE it works fine and gives the 160%+ speed improvement... It complains of not finding a pthread references in the libc.so file when the compiler trys to link. Does the following fix it? Also on a straight compile with the vanilla gnu c compiler 3.2.1 that comes with 5.0-RELEASE it also breaks like this. joseph On Thu, 2003-01-23 at 17:46, Max Khon wrote: > fjoe 2003/01/23 17:46:30 PST > > Modified files: > lib/libc_r/sys uthread_error.c > lib/libpthread/sys thr_error.c > Log: > remove #ifdef _THREAD_SAFE > > Revision Changes Path > 1.4 +0 -2 src/lib/libc_r/sys/uthread_error.c > 1.5 +0 -2 src/lib/libpthread/sys/thr_error.c > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe cvs-all" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message