From owner-freebsd-ports@FreeBSD.ORG Sun Feb 8 22:12:42 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFFC216A4CE for ; Sun, 8 Feb 2004 22:12:42 -0800 (PST) Received: from magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 94A7043D1D for ; Sun, 8 Feb 2004 22:12:42 -0800 (PST) (envelope-from adamw@magnesium.net) Received: (qmail 53741 invoked by uid 1252); 9 Feb 2004 06:12:42 -0000 Date: 9 Feb 2004 01:12:42 -0500 Date: Mon, 9 Feb 2004 01:12:42 -0500 From: Adam Weinberger To: Michael Nottebrock Message-ID: <20040209061242.GF3365@toxic.magnesium.net> References: <20040207192557.scsscg4ss40cw444@mail.viviendaatualcance.com.mx> <20040208103948.GG3365@toxic.magnesium.net> <42770.80.144.39.34.1076256779.squirrel@new.host.name> <200402090630.09665.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402090630.09665.michaelnottebrock@gmx.net> X-Editor: Vim 6.2 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx X-ASL: 6/m/behind you User-Agent: Mutt/1.5.4i cc: freebsd-ports@FreeBSD.org cc: mi@aldan.algebra.com Subject: Re: Current cvs kde3 breaks for me in kdelibs-3.2 - Spinlock X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 06:12:42 -0000 >> (02.09.2004 @ 0030 PST): Michael Nottebrock said, in 1.7K: << > On Sunday 08 February 2004 17:12, I wrote: > > Adam Weinberger sagte: > > > qt32 was building uic with -lpthread -lc_r, i assume from something in > > > qt/mkspecs/freebsd-g++. This caused the build to die in > > > designer/designer as soon as the built uic was run. > > > > Arrrgh, of course, mkspecs. Hurrah for static host definitions. We > > probably need some REINPLACE 's|-lc_r|${PTHREAD_LIBS}' in devel/qmake. > > IIRC, we only reinplace -pthread atm. > > I've looked at it, and actually we don't need that (there is no -lc_r in > mkspecs/freebsdg++/qmake.conf). There was in mine. > My guess is, that qmake was compiled on a pre-pthreadlibs-change -CURRENT (so > -pthread was replaced with -lc_r in mkspecs/freebsd-g++/qmake.conf), and qt32 > indeed uses the mkspecs which are installed by qmake. qmake was installed maybe 2 weeks ago or so. > So in order to smoothly upgrade qt32 to the new state of things, you would > probably need to rebuild both qmake and qt32 (in that order). I'm not sure > why it linked to BOTH -lpthread and lc_r, maybe the -lpthread came from a > dependency lib... I had tried rebuilding qmake, but there was no change. Could it be that qmake build was also reading from a qmake.conf that had -lpthreads in it? # Adam -- Adam Weinberger adam@vectors.cx // adamw@FreeBSD.org // adamw@magnesium.net http://www.vectors.cx