From owner-cvs-all Fri Apr 21 6:46:55 2000 Delivered-To: cvs-all@freebsd.org Received: from h132-197-97-45.gte.com (h132-197-97-45.gte.com [132.197.97.45]) by hub.freebsd.org (Postfix) with ESMTP id EE05A37B62F; Fri, 21 Apr 2000 06:46:37 -0700 (PDT) (envelope-from ak03@gte.com) Received: (from ak03@localhost) by h132-197-97-45.gte.com (8.9.3/8.9.3) id JAA97264; Fri, 21 Apr 2000 09:46:30 -0400 (EDT) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.4.0.FreeBSD:000421094630:63595=_" In-Reply-To: <3900352A.7680FDB7@altavista.net> Date: Fri, 21 Apr 2000 09:46:30 -0400 (EDT) Organization: GTE Laboratories Inc. From: "Alexander N. Kabaev" To: Maxim Sobolev Subject: Re: cvs commit: ports/devel/sdl Makefile ports/devel/sdl/patches Cc: ports@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Thomas Gellekum Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.4.0.FreeBSD:000421094630:63595=_ Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Maybe it makes more sense to allow python makesetup script to understand -pthread flag? Small patch for python 1.52 attached. I am adding -pthread flag to both $libs and $cpp because I do not know if $cpps variable is used at link stage: + -pthread) libs="$libs $arg" + cpps="$cpps $arg";; On 21-Apr-00 Maxim Sobolev wrote: > Thomas Gellekum wrote: > >> tg 2000/04/20 02:24:29 PDT >> >> Modified files: >> devel/sdl Makefile >> devel/sdl/patches patch-ac >> Added files: >> devel/sdl/patches patch-ad patch-ae patch-af >> Log: >> Use our libc_r instead of linuxthreads. > > Unfortunately this has two undesirable side effects: > > 1. It breaks the build of the pysol-sound-server port due to the additional > -pthread option returned by the sdl-config which doesn't handled by the > python's configure. This could be easily fixed and I'm attached modified > patch-aa for pysol-sound-server. > > 2. It breaks some ports based on smpeg library (e.g. pysol-sound-server). The > problem is that the smpeg written in c++, while it is known not to work in > some > cases resulting in "/usr/local/lib/libsmpeg-0.3.so.0: Undefined symbol > "__pure_virtual" message on library import when the library being imported > from > program written in straight C and linked with /usr/bin/cc. I donno why it was > working with linuxthreads and how to fix it properly. Any help from someone > who > knows C++/C mixing issues better is highly appreciated. > > -Maxim > > --_=XFMail.1.4.0.FreeBSD:000421094630:63595=_ Content-Disposition: attachment; filename="patch-ah" Content-Transfer-Encoding: 7bit Content-Description: patch-ah Content-Type: text/plain; charset=us-ascii; name=patch-ah; SizeOnDisk=382 --- Modules/makesetup.orig Fri Apr 21 09:34:24 2000 +++ Modules/makesetup Fri Apr 21 09:36:20 2000 @@ -135,6 +135,8 @@ -[IDUC]*) cpps="$cpps $arg";; -Xlinker) libs="$libs $arg"; skip=libs;; -[A-Zl]*) libs="$libs $arg";; + -pthread) libs="$libs $arg" + cpps="$cpps $arg";; *.a) libs="$libs $arg";; *.so) libs="$libs $arg";; *.sl) libs="$libs $arg";; --_=XFMail.1.4.0.FreeBSD:000421094630:63595=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message