Date: Thu, 30 Apr 1998 02:13:49 -0700 (PDT) From: John Birrell <jb@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/sys Makefile.inc Message-ID: <199804300913.CAA09959@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jb 1998/04/30 02:13:49 PDT Modified files: lib/libc/sys Makefile.inc Log: Build __error.c into libc, but not libc_r. The weak symbol in the file works with libpthread, but when built into libc_r which has a non-weak symbol of the same name, the linker behaves unpredicatably and sometimes links the wrong symbol. The linker behaviour is a byproduct of what the program calls from object to object so it is like winning a lottery if the program actually works. The odds are quite good - 95:1, I think. We need a sure thing, though, so weak symbols can't be used instead of renaming things. Revision Changes Path 1.51 +7 -2 src/lib/libc/sys/Makefile.inc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804300913.CAA09959>