Date: Thu, 25 Mar 2004 23:50:20 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Alexander Nedotsukov <bland@freebsd.org> Cc: freebsd-gnome@freebsd.org Subject: Re: Time to put ${PTHREAD_LIBS} in the x11/xscreensaver-gnome? Message-ID: <1080276619.16291.11.camel@shumai.marcuscom.com> In-Reply-To: <4063B4C0.9050001@FreeBSD.org> References: <opr5epdtjo8ckrg5@smtp.central.cox.net> <opr5f73a2m8ckrg5@smtp.central.cox.net> <4063B4C0.9050001@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-0dtusOKflQCpa3URxXca Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-03-25 at 23:42, Alexander Nedotsukov wrote: > Jeremy Messenger wrote: >=20 > > On Thu, 25 Mar 2004 23:46:28 +0900, Alexander Nedotsukov=20 > > <bland@FreeBSD.org> wrote: > > > > <snip> > > > >> Well to be constructive can people (not only once who currently > >> expirince a problem with xscreensaver) try the patch attached and repo= rt > >> two things is: it works and what is your GL library Nvidia/Mesa? > > > > > > I tried this patch and it doesn't fix the crash. Here using Nvidia=20 > > driver. >=20 > Jeremy, I looked into your ldd output and it same to mine. There is no=20 > any single object linked against libc_r, libthr, libkse or libpthread.=20 > Can this be world + kernel problem? > About the patch. Its purpose not link GL hacks against libpthread. They=20 > don't use any pthreads api so why we need this? The problem isn't with the -demo binary, but with the hacks that the binary loads. On my -CURRENT system, libGL is linked to libpthread, and so are my GL-based hacks: ldd /usr/X11R6/bin/xscreensaver-hacks/glplanet glplanet: libgdk_pixbuf_xlib-2.0.so.400 =3D> /usr/X11R6/lib/libgdk_pixbuf_xlib-2.0.so.400 (0x280ab000) libgdk_pixbuf-2.0.so.400 =3D> /usr/X11R6/lib/libgdk_pixbuf-2.0.so.400 (0x280ba000) libm.so.2 =3D> /lib/libm.so.2 (0x280cd000) libgobject-2.0.so.400 =3D> /usr/local/lib/libgobject-2.0.so.400 (0x280e5000) libgmodule-2.0.so.400 =3D> /usr/local/lib/libgmodule-2.0.so.400 (0x28118000) libglib-2.0.so.400 =3D> /usr/local/lib/libglib-2.0.so.400 (0x2811c000) libiconv.so.3 =3D> /usr/local/lib/libiconv.so.3 (0x28191000) libGL.so.1 =3D> /usr/X11R6/lib/libGL.so.1 (0x2827d000) libGLU.so.1 =3D> /usr/X11R6/lib/libGLU.so.1 (0x282db000) libpthread.so.1 =3D> /usr/lib/libpthread.so.1 (0x2834d000) libSM.so.6 =3D> /usr/X11R6/lib/libSM.so.6 (0x28370000) libICE.so.6 =3D> /usr/X11R6/lib/libICE.so.6 (0x28378000) libXt.so.6 =3D> /usr/X11R6/lib/libXt.so.6 (0x2838d000) libX11.so.6 =3D> /usr/X11R6/lib/libX11.so.6 (0x283d5000) libXmu.so.6 =3D> /usr/X11R6/lib/libXmu.so.6 (0x2848f000) libXext.so.6 =3D> /usr/X11R6/lib/libXext.so.6 (0x284a3000) libc.so.5 =3D> /lib/libc.so.5 (0x284b0000) libintl.so.6 =3D> /usr/local/lib/libintl.so.6 (0x2857b000) libstdc++.so.4 =3D> /usr/lib/libstdc++.so.4 (0x28584000) I bet if you rebuilt xscreensaver without GL support, it would work fine. I think adding PTHREAD_LIBS to the build may be the obly way to fix this for libpthread users. =20 Of course, as a test, you might try libmapping libthread to libc_r, and see if you can reproduce this, Alexander. I can try the same thing. I know I can. Joe >=20 > > > > Cheers, > > Mezz > > > >> Thanks, > >> Alexander. > > > > > > >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-0dtusOKflQCpa3URxXca Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAY7aLb2iPiv4Uz4cRAgULAJsFBjlfpGDNPwdCinTWEiK6q3AcpgCghJ8g 4tZ3pYwfwDjvPEBwWpSqLFA= =Bofn -----END PGP SIGNATURE----- --=-0dtusOKflQCpa3URxXca--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1080276619.16291.11.camel>