[Ecls-list] Another build problem from git (with enabled threads)

Marko Kocić marko.kocic at gmail.com
Fri Jan 30 16:34:35 UTC 2009


I'm trying to build current git master of ecls on Archlinux. I tried
different combinations of gmp and boehm (included or system), but it
fails after creating ecl_min.

Here is the gdb session from snippet. I tried to build it with threads
and unicode enabled using:
./configure --prefix=$HOME --enable-threads --enable-unicode
--with-system-gmp --enable-boehm=system

Note: build is successfull if I disable threads.

[markko at ekser build]$ gdb ./ecl_min
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
Breakpoint 1 at 0x8084b6d: file
/home/markko/cvstree/ecl.git/src/c/num_sfun.d, line 599.
Breakpoint 2 at 0x8079a09: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 293.
Breakpoint 3 at 0x8079419: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 62.
Breakpoint 4 at 0x80794a9: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 50.
Breakpoint 5 at 0x8079c42: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 154.
Breakpoint 6 at 0x8079bf2: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 160.
Breakpoint 7 at 0x8079c92: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 148.
Breakpoint 8 at 0x8079d32: file
/home/markko/cvstree/ecl.git/src/c/error.d, line 204.
Function "error" not defined.
Make breakpoint pending on future shared library load? (y or [n])
[answered N; input not from terminal]
(gdb) run compile
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e356d0 (LWP 25846)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e356d0 (LWP 25846)]
ecl_alloc_object (t=t_process) at
/home/markko/cvstree/ecl.git/src/c/alloc_2.d:145
145                     ecl_disable_interrupts_env(the_env);
(gdb)

[markko at ekser ecl.git]$ uname -a
Linux ekser.yuwanadu.com 2.6.28-ARCH #1 SMP PREEMPT Sun Jan 25
10:13:11 UTC 2009 i686 Intel(R) Pentium(R) M processor 2.13GHz
GenuineIntel GNU/Linux
[markko at ekser ecl.git]$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared
--enable-languages=c,c++,fortran,objc,obj-c++,treelang
--enable-threads=posix --mandir=/usr/share/man
--infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib
--libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu
--disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.3 (GCC)




More information about the ecl-devel mailing list