[Mono-list] Unable to build Mono 0.31
Rich Wareham
rjw57@hermes.cam.ac.uk
Tue, 23 Mar 2004 11:51:28 +0000
On Monday 22 Mar 2004 17:01, Richard Torkar wrote:
> On Mon, 2004-03-22 at 11:40 +0000, Rich Wareham wrote:
> > On Monday 22 Mar 2004 09:04, Tracy Barlow wrote:
> > > I get the following errors when attempting to make Mono 0.31
> >
> > ...
> >
> > > /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so -ldl
> > > /usr/lib/libglib-2.0.so -licui18n -licuuc -licudata -lnsl -lpthread -lm
> > > -lrt -Wl,--rpath -Wl,/usr/local/lib
> > > ./.libs/libmono.so: undefined reference to `___tls_get_addr'
> > > collect2: ld returned 1 exit status
> >
> > I had this error crop up when I made an ebuild for 0.31 from the 0.30.1
> > version in Gentoo. It appears that Mono now does different things if it
> > thinks NPTL is enabled. Calling ./configure --without-nptl fixed it for
> > me.
>
> The "correct" way to "fix" this problem is to compile glibc using the
> nptl flag, i.e.
Ta, I actually ended up modifying the ebuild so the presence or absence of the
nptl USE flag either triggered or suppressed nptl in Mono, still booting
between 2.6 and 2.4 so don't want any overtly 2.6-isms just yet. OTOH 2.6 is
pretty stable for me so I might just bite the bullet...
--
Rich