Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 1996 15:09:48 -0700 (MST)
From:      Nate Williams <nate@mt.sri.com>
To:        current@freebsd.org
Subject:   libc_r broken in 2.2
Message-ID:  <199612162209.PAA04571@rocky.mt.sri.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612162209.PAA04571>