Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2001 06:58:11 -0500
From:      Barney Wolff <barney@pit.databus.com>
To:        Steve Watt <steve@Watt.COM>
Cc:        stable@FreeBSD.ORG
Subject:   Re: - i810 is only supported on Linux/x86 -
Message-ID:  <20010203065810.A9504@pit.databus.com>
In-Reply-To: <200102030118.f131ICv95065@wattres.Watt.COM>; from steve@Watt.COM on Fri, Feb 02, 2001 at 05:18:11PM -0800
References:  <20010201160303.A38766@sunbay.com> <981078439-m2n-gw@Watt.COM> <200102030118.f131ICv95065@wattres.Watt.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
Aha, something I can answer!  I just finished building xscreensaver
successfully, about 5 minutes ago, against xf 4.0.2.  The secret
is to add
CFLAGS+= -pthread
LDFLAGS+= -pthread
to the Makefile.  As I discovered this in pieces, I also had to add
-pthread to the LDFLAGS in
/usr/ports/x11/xscreensaver/work/xscreensaver-3.26/hacks/glx
but I don't know if that would have been necessary if I had
set the LDFLAGS from the start.

I don't know if this is the "right" solution, as presumably not
all the stuff needs -pthread, but what the heck, I can tolerate
a little inefficiency in a screensaver.

There might be a way to do this without recompiling, with LD_CONFIG
or some such magic, but I'll have to leave that to the real wizards.

Barney Wolff

On Fri, Feb 02, 2001 at 05:18:11PM -0800, Steve Watt wrote:
> In article <981078439-m2n-gw@Watt.COM> you write:
> >On Thu, Feb 01, 2001 at 04:03:03PM +0200, Ruslan Ermilov wrote:
> >>XFree86 supports FreeBSD on i810 natively starting with
> >>release 4.0.2.
> >
> >Hmm...
> >But -CURRENT and -STABLE doesn't work smoothly with XFree86 4.0.2 installed
> >from ports (at least on Intel 81x chipsets).
> >
> >I (and many others) have experienced problems with XFree86 4.0.2 such as:
> >- X died if you switch back and forth to consoles
> >- Many apps died with SIG 10 (bus error)
> 
> I'm seeing the same stability problems, plus one other.  Has anyone had
> success using GL on 4.2-STABLE (5 Jan 01) with XF86-4.0.2?  When I
> uncomment the module load from XF86Config, I get errors trying to execute
> apps (like the GL screen savers from xscreensaver)
> wattres.Watt.COM:/usr/ports/x11/xscreensaver/work/xscreensaver-3.26/hacks/glx
> (steve@wattres) 51> ./moebius
> /usr/libexec/ld-elf.so.1: /usr/X11R6/lib/libGL.so.1: Undefined symbol "pthread_key_create"
> wattres.Watt.COM:/usr/ports/x11/xscreensaver/work/xscreensaver-3.26/hacks/glx
> (steve@wattres) 52> xdpyinfo | grep GL
>     GLX
>     SGI-GLX
> 
> 
> Theories?  It's obvious that something doesn't have the libc_r linked,
> but I'm not sure what piece is missing that.
> 
> Thanks!
> 
> -- 
> Steve Watt KD6GGD  PP-ASEL-IA          ICBM: 121W 56' 57.8" / 37N 20' 14.9"
>  Internet: steve @ Watt.COM                         Whois: SW32
>    Free time?  There's no such thing.  It just comes in varying prices...
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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