unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#14549: warning while compiling guile 2.0.9
@ 2013-06-03  8:40 ais
  2013-06-04 10:29 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: ais @ 2013-06-03  8:40 UTC (permalink / raw)
  To: 14549

Hi guile-team

Compiling guile 2.0.9 under OpenBSD 5.2 x86


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"
configure: WARNING: pthread_np.h: proceeding with the compiler's result
configure: WARNING:     ## -------------------------------- ##
configure: WARNING:     ## Report this to bug-guile@gnu.org ##
configure: WARNING:     ## -------------------------------- ##
checking for pthread_np.h... no
checking for sys/param.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h pres






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14549: warning while compiling guile 2.0.9
  2013-06-03  8:40 bug#14549: warning while compiling guile 2.0.9 ais
@ 2013-06-04 10:29 ` Ludovic Courtès
  2013-06-04 13:43   ` ais
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-06-04 10:29 UTC (permalink / raw)
  To: ais; +Cc: 14549

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 ‘make check’?

> 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’.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14549: warning while compiling guile 2.0.9
  2013-06-04 10:29 ` Ludovic Courtès
@ 2013-06-04 13:43   ` ais
  2016-06-20 21:25     ` Andy Wingo
  0 siblings, 1 reply; 4+ messages in thread
From: ais @ 2013-06-04 13:43 UTC (permalink / raw)
  To: Ludovic Courtès

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 tested
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 this
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 ‘make check’?
>
>> 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’.
>







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#14549: warning while compiling guile 2.0.9
  2013-06-04 13:43   ` ais
@ 2016-06-20 21:25     ` Andy Wingo
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2016-06-20 21:25 UTC (permalink / raw)
  To: ais; +Cc: Ludovic Courtès, 14549-done

Hi,

Expiring this bug due to inactivity.  If you have a problem compiling
Guile 2.0.11, stable-2.0, the upcoming 2.0.12, or the beta 2.1.3, let us
know in new reports.  Thanks!

Andy

On Tue 04 Jun 2013 15:43, ais@euve8129.vserver.de writes:

> 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 tested
> 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 this
> 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 ‘make check’?
>>
>>> 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’.
>>





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-20 21:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03  8:40 bug#14549: warning while compiling guile 2.0.9 ais
2013-06-04 10:29 ` Ludovic Courtès
2013-06-04 13:43   ` ais
2016-06-20 21:25     ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).