Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 06:30:09 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        "Adam Weinberger" <adamw@FreeBSD.org>
Cc:        mi@aldan.algebra.com
Subject:   Re: Current cvs kde3 breaks for me in kdelibs-3.2 - Spinlock
Message-ID:  <200402090630.09665.michaelnottebrock@gmx.net>
In-Reply-To: <42770.80.144.39.34.1076256779.squirrel@new.host.name>
References:  <20040207192557.scsscg4ss40cw444@mail.viviendaatualcance.com.mx> <20040208103948.GG3365@toxic.magnesium.net> <42770.80.144.39.34.1076256779.squirrel@new.host.name>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-02=_hrxJAVG3gsqKP0u
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=20
mkspecs/freebsdg++/qmake.conf).

My guess is, that qmake was compiled on a pre-pthreadlibs-change -CURRENT (=
so=20
=2Dpthread was replaced with -lc_r in mkspecs/freebsd-g++/qmake.conf), and =
qt32=20
indeed uses the mkspecs which are installed by qmake.

So in order to smoothly upgrade qt32 to the new state of things, you would=
=20
probably need to rebuild both qmake and qt32 (in that order). I'm not sure=
=20
why it linked to BOTH -lpthread and lc_r, maybe the -lpthread came from a=20
dependency lib...

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--Boundary-02=_hrxJAVG3gsqKP0u
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAJxrhXhc68WspdLARAmljAJ4/axEKNRk9JmoXt0F2QPSzSnawdwCeP9Fi
hr37AY1+sN+6uDqdicvGjQY=
=9t68
-----END PGP SIGNATURE-----

--Boundary-02=_hrxJAVG3gsqKP0u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090630.09665.michaelnottebrock>