Subject: pkg/10767: devel/mit-pthreads conflicts with devel/pth
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rhialto@polderland.nl>
List: netbsd-bugs
Date: 08/06/2000 15:42:05
>Number: 10767
>Category: pkg
>Synopsis: devel/mit-pthreads conflicts with devel/pth
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Aug 06 15:42:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Rhialto
>Release: pkgsrc -current of some days ago
>Organization:
>Environment:
System: NetBSD azenomei.falu.nl 1.4.1 NetBSD 1.4.1 (AZENOMEI) #27: Wed Jun 14 01:41:57 CEST 2000 rhialto@azenomei.falu.nl:/usr/src/sys/arch/alpha/compile/AZENOMEI alpha
>Description:
The mit-pthreads package installs a library
/usr/pkg/pthreads/lib/libpthread.{a,so}. The pth package
installs /usr/pkg/lib/libpthread.{a,so}. If some program is
compiled with the mit-pthreads version of gcc,
/usr/pkg/pthreads/bin/pgcc and also wants some library from
/usr/pkg/lib (not uncommon), the pthread libraries may get
confused, and link errors may ensue.
>How-To-Repeat:
install above packages, and try to make a python with thread
support, by adding the following to its Makefile:
CONFIGURE_ARGS += --with-thread
CC = /usr/pkg/pthreads/bin/pgcc
Make. See mysterious link failures, which disappear as soon as
/usr/pkg/lib/libpthread.{a,so} are moved out of the way.
By the way, the resulting python does not seem good enough to
work with Mojo Nation (see www.mojonation.net).
>Fix:
Manually move /usr/pkg/lib/libpthread.{a,so} of the way. The
other one is better anyway (but not perfect).
-Olaf.
--
___ Olaf 'Rhialto' Seibert - rhialto@polder -- Ah only did well at school
\X/ land.nl -- tae git intae an O level class tae git away fae Begbie.
>Release-Note:
>Audit-Trail:
>Unformatted: