Problems compiling hugs-2003.11 with threading and hopengl support
(Note: "reply"ing to this email may cause a bounce... since my mail
client may still be misconfigured. The correct email address is at
bottom of this mail)
I won't repeat a lot of typing which I have already done, here's a
handy link which explains the issue:
http://bugs.gentoo.org/show_bug.cgi?id=34858
Here's some random extra information (not necessarily on the page in
the above link):
-- uname -a:
Linux theferret 2.6.0-test9-gentoo #2 Sun Nov 9 15:57:51 GMT 2003
i686 AMD Athlon(tm) XP 3200+ AuthenticAMD GNU/Linux
-- gcc version:
gcc (GCC) 3.3.2 20031022 (Gentoo Linux 3.3.2-r3, propolice)
-- glibc version:
2.3.2-r9
-- XFree86 version:
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
-- Compiled from:
hugs98-Nov2003.tar.gz (source)
This problem did not appear in the Nov2002 sources, but then I don't
know if those sources had threading and hopengl support. I have tried
compiling using default xfree opengl headers and interface, and that
works fine. Maybe the fact is that the nvidia drivers just don't
support threading?
Thanks..
-- James Noble
If I read the bug entry on gentoo.org correctly, you build Hugs with --enable-hopengl and --with-pthreads. I haven't tried this combination yet, but AFAIK there are issues with dlopen()ing the NVIDIA OpenGL lib multiple times (which Hugs does IIRC) when pthreads are used and you don't have the latest and greatest libc and dynamic loader. I'm not sure if Hugs can easily be changed to dlopen() every lib only once, so I propose to drop the --with-pthreads option until NVIDIA and glibc are in sync again... :-( Cheers, S. __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
[ I have already replied, but only via a non-subscibed email account, so I repeat it here... ] If I read the bug entry on gentoo.org correctly, you build Hugs with --enable-hopengl and --with-pthreads. I haven't tried this combination yet, but AFAIK there are issues with dlopen()ing the NVIDIA OpenGL lib multiple times (which Hugs does IIRC) when pthreads are used and you don't have the latest and greatest libc and dynamic loader. I'm not sure if Hugs can easily be changed to dlopen() every lib only once, so I propose to drop the --with-pthreads option until NVIDIA and glibc are in sync again... :-( Cheers, S.
FYI: I've comitted some small changes to Hugs, and it works for my setup (SuSE 8.2 on x86, NVIDIA 44.96 drivers) with and without pthreads support. Could you please retry? If things go wrong, the config.log and a build log would be very helpful. Cheers, S.
participants (3)
-
james.noble@worcester.oxford.ox.ac.uk -
Sven Panne -
Sven Panne