Date: Fri, 28 Mar 2003 19:47:58 +0000 From: Laurent Sansonetti <laurent@datarescue.be> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50402: glib20 port: pthread_getschedparam is missing from libgthread-2.0.so Message-ID: <E18yzpW-000P3W-00@lrz.is-a-geek.org> Resent-Message-ID: <200303281830.h2SIUBMM085386@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50402 >Category: ports >Synopsis: glib20 port: pthread_getschedparam is missing from libgthread-2.0.so >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 28 10:30:10 PST 2003 >Closed-Date: >Last-Modified: >Originator: Laurent Sansonetti >Release: FreeBSD 5.0-RELEASE i386 >Organization: / >Environment: System: FreeBSD natalie 5.0-RELEASE FreeBSD 5.0-RELEASE #1: Wed Mar 19 16:31:59 CET 2003 pinux@natalie:/usr/src/sys/i386/compile/NATALIE i386 The problem seems to exist as well under 4.7-STABLE. >Description: The pthread_getschedparam() symbol is missing from the libgthread-2.0.so dynamic library. The static library (libgthread-2.0.a) contains this symbol, so it seems there is a link issue somewhere in the glib20 port. >How-To-Repeat: Just use any software which load libgthread-2.0.so. As instance, any ruby-gnome2 example: # portinstall ruby-gnome2 # cd /usr/local/share/examples/ruby/gnome2/test-gnome # ruby test-gnome.rb /usr/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.200: Undefined symbol "pthread_getschedparam" >Fix: I tried to fix the glib-20 makefile, without success. Nevertheless, I found a quick-and-dirty workaround: comment calls to pthread_getschedparam() in gthread-posix.c ;-) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18yzpW-000P3W-00>