Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2008 23:15:56 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        ports <ports@freebsd.org>
Subject:   Trouble building guile 1.8.4 (segfault in gen-scmconfig)
Message-ID:  <4812AC7C.5050202@computer.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig042CBCF5BC16E665F302C5BD
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

I'm having little luck building guile 1.8.4 on 7.0-STABLE.  Been failing
for some time.  I've sat quietly for a bit thinking someone might
mention/fix it but I've seen no activity.  So I thought I'd mention it.

Here is what I'm seeing:
cc -O2 -fno-strict-aliasing -pipe -march=3Dpentium4 -Wall
-Wmissing-prototypes -Werror -o gen-scmconfig gen-scmconfig.o
-L/usr/local/lib -llthread /usr/local/lib/libgmp.so -lcrypt -lm
/usr/local/lib/libltdl.so   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib
rm -f scmconfig.h.tmp
cat ./scmconfig.h.top > scmconfig.h.tmp
=2E/gen-scmconfig >> scmconfig.h.tmp
Segmentation fault (core dumped)
gmake[2]: *** [scmconfig.h] Error 139
gmake[2]: Leaving directory
`/usr/ports/lang/guile/work/guile-1.8.4/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/lang/guile/work/guile-1.8.4'
gmake: *** [all] Error 2
*** Error code 2

I then built with debug and get a bt of gen-scmconfig like so:
#0  0x2804d179 in _rtld_error () from /libexec/ld-elf.so.1
#1  0x2804b4c4 in ___tls_get_addr () from /libexec/ld-elf.so.1
#2  0x28168152 in malloc () from /lib/libc.so.7
#3  0x28089658 in _pthread_mutex_destroy () from
/usr/local/lib/liblthread.so.6
#4  0x28089702 in _pthread_mutex_trylock () from
/usr/local/lib/liblthread.so.6
#5  0x28168194 in malloc () from /lib/libc.so.7
#6  0x28089658 in _pthread_mutex_destroy () from
/usr/local/lib/liblthread.so.6
#7  0x28089702 in _pthread_mutex_trylock () from
/usr/local/lib/liblthread.so.6
#8  0x28168194 in malloc () from /lib/libc.so.7
#9  0x28089658 in _pthread_mutex_destroy () from
/usr/local/lib/liblthread.so.6
#10 0x28089702 in _pthread_mutex_trylock () from
/usr/local/lib/liblthread.so.6
#11 0x28168194 in malloc () from /lib/libc.so.7

[snip]

#96 0x28089658 in _pthread_mutex_destroy () from
/usr/local/lib/liblthread.so.6
#97 0x28089702 in _pthread_mutex_trylock () from
/usr/local/lib/liblthread.so.6
#98 0x28168194 in malloc () from /lib/libc.so.7
#99 0x28089658 in _pthread_mutex_destroy () from
/usr/local/lib/liblthread.so.6
#100 0x28089702 in _pthread_mutex_trylock ()
   from /usr/local/lib/liblthread.so.6
#101 0x28168194 in malloc () from /lib/libc.so.7
#102 0x28089658 in _pthread_mutex_destroy ()
   from /usr/local/lib/liblthread.so.6
#103 0x28089702 in _pthread_mutex_trylock ()
   from /usr/local/lib/liblthread.so.6
#104 0x28168194 in malloc () from /lib/libc.so.7
#105 0x28089658 in _pthread_mutex_destroy ()
   from /usr/local/lib/liblthread.so.6
#106 0x28089702 in _pthread_mutex_trylock ()
   from /usr/local/lib/liblthread.so.6
=2E....
#10000 I stopped bothering to scroll.

Anyone else seeing this?  Thoughts?

Thanks in advance.

--=20
Regards,
Eric



--------------enig042CBCF5BC16E665F302C5BD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.8 (FreeBSD)

iEYEARECAAYFAkgSrHwACgkQngSDRM3IXUqchgCgkjVkXDEZgMwK0ozHducJKyHt
9LQAn3p1vNpyDHKVzXielwdanxdq3kTz
=VE0W
-----END PGP SIGNATURE-----

--------------enig042CBCF5BC16E665F302C5BD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4812AC7C.5050202>