Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Feb 2001 15:37:02 +0200 (IST)
From:      Roman Shterenzon <roman@xpert.com>
To:        Steve Watt <steve@Watt.COM>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG, sobomax@FreeBSD.ORG
Subject:   Re: - i810 is only supported on Linux/x86 -
Message-ID:  <981207422.3a7c097e22b31@webmail.harmonic.co.il>
In-Reply-To: <200102030118.f131ICv95065@wattres.Watt.COM>
References:  <20010201160303.A38766@sunbay.com> <200102030118.f131ICv95065@wattres.Watt.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Steve Watt <steve@Watt.COM>:

> 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.

I was also bit by the same problem.
As far as I understand, it was introduced to the XFree-4.0.2 with Xthreads
addition. Please correct me if I'm wrong.
/usr/ports/x11/XFree86-4/files/patch-xthreads
Backing out this patch breaks things, for example graphics/xine.
The fact is, the Mesa gets built with threads, so the app has to be linked
with -pthread.
(BTW, have XFREE86_VERSION=4 in /etc/make.conf if you're using XF86 4.x)
Since it's Mesa related (and it needs to be installed for GLU), all applications 
that depend on it fail, for example - /usr/ports/palm/pose :(
Maxim, do you have any ideas about how to fix it?

--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]


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




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