From owner-cvs-src@FreeBSD.ORG Wed Sep 3 08:44:35 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C400A16A4BF; Wed, 3 Sep 2003 08:44:35 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DD7743F75; Wed, 3 Sep 2003 08:44:35 -0700 (PDT) (envelope-from deischen@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h83FiZ0U095326; Wed, 3 Sep 2003 08:44:35 -0700 (PDT) (envelope-from deischen@repoman.freebsd.org) Received: (from deischen@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h83FiZIl095325; Wed, 3 Sep 2003 08:44:35 -0700 (PDT) Message-Id: <200309031544.h83FiZIl095325@repoman.freebsd.org> From: Daniel Eischen Date: Wed, 3 Sep 2003 08:44:34 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/gcc/config freebsd-spec.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 15:44:35 -0000 deischen 2003/09/03 08:44:34 PDT FreeBSD src repository Modified files: contrib/gcc/config freebsd-spec.h Log: Remove the -pthread option (in FreeBSD versions 500016 and greater) as threatened over 2 years ago. Why? -pthread was a hack to prevent linking to both libc and libc_r and became unecessary when libc_r became free of libc. Now that we have multiple thread libraries from which to choose, it is more confusing because you can't link to more than one threads library at a time. Things like autoconf and libtool sometimes detect -pthread and also -lc_r, and in conjunction with ports usage of ${PTHREAD_LIBS}, really wacky things ensue when PTHREAD_LIBS is set to another threads library. This might not be so bad if the build broke when this happens, but it doesn't and you don't know it until funny things happen when you run the application (or use an affected library). Reviewed by: obrien Revision Changes Path 1.12 +14 -11 src/contrib/gcc/config/freebsd-spec.h