From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ais@euve8129.vserver.de Newsgroups: gmane.lisp.guile.bugs Subject: bug#14549: warning while compiling guile 2.0.9 Date: Tue, 4 Jun 2013 15:43:20 +0200 Message-ID: <1d610deadf9c59110c9f981687fbd02f.squirrel@www.skuschel.de> References: <87li6q9nj0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1370353830 28962 80.91.229.3 (4 Jun 2013 13:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2013 13:50:30 +0000 (UTC) To: "Ludovic =?UTF-8?Q?Court=C3=83=C2=A8s?=" Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jun 04 15:50:29 2013 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ujrd6-0005zb-PK for guile-bugs@m.gmane.org; Tue, 04 Jun 2013 15:50:28 +0200 Original-Received: from localhost ([::1]:37912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujrd6-00041R-C8 for guile-bugs@m.gmane.org; Tue, 04 Jun 2013 09:50:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujrct-0003yB-S6 for bug-guile@gnu.org; Tue, 04 Jun 2013 09:50:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ujrcj-0005t7-RU for bug-guile@gnu.org; Tue, 04 Jun 2013 09:50:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ujrcj-0005su-Ns for bug-guile@gnu.org; Tue, 04 Jun 2013 09:50:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ujrec-0004ZW-88 for bug-guile@gnu.org; Tue, 04 Jun 2013 09:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ais@euve8129.vserver.de Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 04 Jun 2013 13:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14549 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 14549-submit@debbugs.gnu.org id=B14549.137035391317541 (code B ref 14549); Tue, 04 Jun 2013 13:52:02 +0000 Original-Received: (at 14549) by debbugs.gnu.org; 4 Jun 2013 13:51:53 +0000 Original-Received: from localhost ([127.0.0.1]:50210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjreQ-0004Yc-Qn for submit@debbugs.gnu.org; Tue, 04 Jun 2013 09:51:52 -0400 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:16040) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjreN-0004Xm-LX for 14549@debbugs.gnu.org; Tue, 04 Jun 2013 09:51:49 -0400 X-IronPort-AV: E=Sophos;i="4.87,799,1363129200"; d="scan'208";a="20263593" Original-Received: from 195.red-88-5-174.dynamicip.rima-tde.net (HELO pluto) ([88.5.174.195]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 04 Jun 2013 15:49:41 +0200 Resent-To: 14549@debbugs.gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Resent-Date: Tue, 04 Jun 2013 15:49:40 +0200 Resent-Message-ID: <87y5aq7zpn.fsf@gnu.org> Original-Received: from solo.fdn.fr ([unix socket]) by solo (Cyrus v2.2.13-Debian-2.2.13-19.1+squeeze1) with LMTPA; Tue, 04 Jun 2013 15:43:31 +0200 X-Sieve: CMU Sieve 2.2 Original-Received: by solo.fdn.fr (Postfix) id 74C7744448; Tue, 4 Jun 2013 15:43:31 +0200 (CEST) Original-Received: from fencepost.gnu.org (fencepost.gnu.org [IPv6:2001:4830:134:3::e]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTPS id 577DF44438 for ; Tue, 4 Jun 2013 15:43:31 +0200 (CEST) Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59785) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1UjrWL-0002ba-2H for ludo@gnu.org; Tue, 04 Jun 2013 09:43:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjrWH-0003KD-Th for ludo@gnu.org; Tue, 04 Jun 2013 09:43:28 -0400 Original-Received: from euve8129.vserver.de ([62.75.189.12]:37290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjrWH-0003Iq-KR for ludo@gnu.org; Tue, 04 Jun 2013 09:43:25 -0400 Original-Received: from euve8129.vserver.de (localhost.localdomain [127.0.0.1]) by euve8129.vserver.de (Postfix) with ESMTP id 520C44980293 for ; Tue, 4 Jun 2013 15:43:23 +0200 (CEST) Original-Received: by euve8129.vserver.de (Postfix, from userid 5001) id 3E0024980682; Tue, 4 Jun 2013 15:43:23 +0200 (CEST) Original-Received: from www.skuschel.de (localhost.localdomain [127.0.0.1]) by euve8129.vserver.de (Postfix) with ESMTP id 65E854980293 for ; Tue, 4 Jun 2013 15:43:20 +0200 (CEST) Original-Received: from 80.203.98.211 (SquirrelMail authenticated user ais) by www.skuschel.de with HTTP; Tue, 4 Jun 2013 15:43:20 +0200 In-Reply-To: <87li6q9nj0.fsf@gnu.org> User-Agent: SquirrelMail/1.4.23 [SVN] X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7153 Archived-At: Hi Ludovic, thanks for the reply. The compilation did not succeed. There're several reasons behind it. One thing is that the pthread_np.h should be avoided on OpenBSD alltogether, since this it implements just a short fraction of functions. So if functions from pthread_np.h should be used, then they must be teste= d one by one and not assuming that if the file is present so are the functions. I simply renamed the file "pthread_np.h" to "pthread_np.h.original" and ran configure and this time configure succeeded without any complaint. The other thing with OpenBSD is, that the stock-installation of the Boehm-GC package is more or less broken. I compiled my own version of thi= s library and then I could compile guile successfully, but the linker did complain about some pthread_np* functions. Using the stock installation/package then there's a conflict with some defines being set (notably: GC_REDIRECT_TO_LOCAL). The stock installation has no such file (gc_local_alloc.h) so the defines inside must be set accordingly. Currently I'm very busy to follow up this problem but I'm very willing to provide more information on this topic, since I keen on having a current version of Guile running under OpenBSD. Sebastian > Hi, > > Thanks for the report. > > ais@euve8129.vserver.de skribis: > >> Compiling guile 2.0.9 under OpenBSD 5.2 x86 > > Did compilation eventually succeed? Did you run =E2=80=98make check=E2= =80=99? > >> checking pthread.h usability... yes >> checking pthread.h presence... yes >> checking for pthread.h... yes >> checking pthread_np.h usability... no >> checking pthread_np.h presence... yes >> configure: WARNING: pthread_np.h: present but cannot be compiled >> configure: WARNING: pthread_np.h: check for missing prerequisite >> headers? >> configure: WARNING: pthread_np.h: see the Autoconf documentation >> configure: WARNING: pthread_np.h: section "Present But Cannot Be >> Compiled" > > Could you send the output of: > > grep pthread_np config.log > > Thanks, > Ludo=E2=80=99. >