Subject: Re: net/skype: cannot make segment writable for relocation
To: None <current-users@netbsd.org, tech-pkg@netbsd.org>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: tech-pkg
Date: 07/30/2007 23:15:19
The problem is that you're using amd64, which requires PIC code.  More
than likely the linux libGL you're using was built without -fPIC.
AFAIK, there's no fix for this--besides, of course, finding an i386
linux libGL built with -fPIC.  If anyone's going to build this library
on linux for this purpose, I suggest using -fvisibility=hidden (works
fine on NetBSD on both i386 and amd64 with Mesa 7.0+), especially if
you're going to use the x86 assembly dispatch routines (why not?).
The Mesa people seem to like building i386 code without -fPIC, and
this is one of many annoyances which can crop up if one decides that
the "performance improvement" is worth the aggravation.


--Blair