bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to build guile


From: Ludovic Courtès
Subject: Re: Unable to build guile
Date: Wed, 05 Nov 2008 10:10:29 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hello,

Dwight <address@hidden> writes:

> (gdb) bt full
> #0  0xd004a864 in pthread_mutexattr_init () from 
> /usr/lib/libpthreads.a(shr_xpg5.o)
> No symbol table info available.
> #1  0xd6dd0bac in scm_threads_prehistory (base=0x2ff21e48) at threads.c:1656
> No locals.
> #2  0xd6e38b40 in scm_i_init_guile (base=0x0) at init.c:421

It looks like `get_thread_stack_base ()' doesn't work.

Can you run "grep -i pthread_attr_getstack config.h" and "grep -i
pthread_get_stackaddr config.h" from the build directory?

> numbers.c: In function 'guile_ieee_init':
> numbers.c:622: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules
> numbers.c:645: warning: dereferencing type-punned pointer will break 
> strict-aliasing rules

It's surprising that `DINFINITY' and `DQNAN' are declared as ints.  Can
you "rgrep '\(DINFINITY\|DQNAN\)' /usr/include"?

Our code appears to be based on that of Octave
(http://hg.savannah.gnu.org/hgweb/octave/file/ec969f3b8955/liboctave/lo-ieee.cc),
which (erroneously) assumes that these variables are only used on OSF.

> net_db.c: In function 'scm_resolv_error':
> net_db.c:112: warning: implicit declaration of function 'hstrerror'

Can you also "rgrep hstrerror /usr/include"?

Thanks in advance,
Ludovic.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]