From owner-freebsd-current@FreeBSD.ORG Sun Jan 4 22:34:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F02116A4CE; Sun, 4 Jan 2004 22:34:45 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2131B43D46; Sun, 4 Jan 2004 22:34:40 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i056YViw004691; Mon, 5 Jan 2004 01:34:31 -0500 (EST) Date: Mon, 5 Jan 2004 01:34:31 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Mikhail Teterin In-Reply-To: <200401050530.i055UkbP018943@corbulon.video-collage.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: kde@freebsd.org cc: current@freebsd.org Subject: Re: KDE stopped working after -current upgrade X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2004 06:34:45 -0000 On Mon, 5 Jan 2004, Mikhail Teterin wrote: > I had KDE running nicely since November on my dual PII. After rebuilding > -current on Saturday, I can not login -- seems like the window manager > is crashing: > > pid 52040 (kdeinit), uid 105: exited on signal 6 (core dumped) > > The only unusual thing is -- PTHREAD_LIBS is set to -lthr... I tried > rebuilding Qt, kdelibs, and kdebase -- still the same. > > Any ideas? Thanks! Ports are not yet ready for switching PTHREAD_LIBS to something other than -lc_r. But don't let this stop you from trying to figure out which ports are getting confused and fixing them :-) For 5.3 we'll need to solve this since libkse^H^H^Hpthread will be the default. FYI, the problem is that some ports have configure/libtools that autodetect -lc_r and/or -pthread. So you may set PTHREAD_LIBS to -lthr (or -lkse), but you'll end up linking to both -lthr and -lc_r. Use ldd on the libraries/binaries and you'll see what I mean.