From owner-freebsd-current Mon Dec 16 14:10:02 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA07323 for current-outgoing; Mon, 16 Dec 1996 14:10:02 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id OAA07292 for ; Mon, 16 Dec 1996 14:09:56 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id PAA04571; Mon, 16 Dec 1996 15:09:48 -0700 (MST) Date: Mon, 16 Dec 1996 15:09:48 -0700 (MST) Message-Id: <199612162209.PAA04571@rocky.mt.sri.com> From: Nate Williams To: current@freebsd.org Subject: libc_r broken in 2.2 Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Something new got merged in the stdtime code but didn't get updated in the thread code that caused the threaded version to die. cc -O2 -m486 -pipe -DLIBC_RCS -DSYSLIBC_RCS -DPTHREAD_KERNEL -D_THREAD_SAFE -I/usr/src/lib/libc_r/uthread -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc_r/../libc/locale -DYP -c /usr/src/lib/libc_r/../libc/stdtime/localtime.c -o localtime.o /usr/src/lib/libc_r/../libc/stdtime/localtime.c: In function `localtime': /usr/src/lib/libc_r/../libc/stdtime/localtime.c:1111: too few arguments to function `pthread_getspecific' /usr/src/lib/libc_r/../libc/stdtime/localtime.c:1111: warning: assignment makes pointer from integer without a cast /usr/src/lib/libc_r/../libc/stdtime/localtime.c: In function `gmtime': /usr/src/lib/libc_r/../libc/stdtime/localtime.c:1195: too few arguments to function `pthread_getspecific' /usr/src/lib/libc_r/../libc/stdtime/localtime.c:1195: warning: assignment makes pointer from integer without a cast *** Error code 1 I *think* the solution is to backout the 1.10 -> 1.11 changes to localtime.c from 2.2, since that seems to work for both the normal libc and the threaded version. Nate