From owner-freebsd-stable Thu Mar 20 13:48:47 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C8DA37B401 for ; Thu, 20 Mar 2003 13:48:45 -0800 (PST) Received: from sunfire.lclark.edu (sunfire.lclark.edu [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id C623343F93 for ; Thu, 20 Mar 2003 13:48:43 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.30.191] ([149.175.30.191]) by sunfire.lclark.edu (SAVSMTP 3.0.1.45) with SMTP id M2003032013483900030 ; Thu, 20 Mar 2003 13:48:39 -0800 Subject: Re: XFree 4.3 compile problems From: Eric Anholt To: Ian McAlpine Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <200303202127.50515.ianmcalpine@orange.net> References: <200303202127.50515.ianmcalpine@orange.net> Content-Type: text/plain Organization: Message-Id: <1048197167.617.171.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 20 Mar 2003 13:52:48 -0800 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2003-03-20 at 13:27, Ian McAlpine wrote: > Hiya, > > I've been trying to build XFree86 4.3 on a clean 4.8-RC2 system, from ports. > The probalem is the libraries build fine, but then trying to build other > stuff (including the server) fails with errors like: > > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal' > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' > /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast' > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_self' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_destroy' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy' > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init' > > I currently have the packages installed, with KDE etc. all built on top of > them from ports. I have since tried portupgrade-ing XFree86-libs, and whilst > everything installed previously still runs fine, I get the same errors when I > try to portupgrade the other bits or install anything new. The only not > standard thing I'm doing is using -O3 and -march=k6, but I wouldnt have > thought optimization could cause this sort of thing, please correct me if I'm > wrong. Any ideas? This is a FAQ. Turn off -O3. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message