Hello *,

For quite some time I cannot build gcl-2.6.12 on my ~amd64 box. The last successful build was on February 17 this year, the first failure on May 4. Nothing changed in gcl-2.6.12.ebuild.

Now raw_gcl segfaults when called from make. When I go to /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/ and run raw_gcl with *exactly the same parameters* from the command line, it succeeds and produces saved_gcl.

I've modified unixport/makefile to run raw_gcl under gdb and produce backtrace. This is the result:

(gdb) Starting program: /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/raw_gcl /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/unixport/ -libdir /var/tmp/portage/dev-lisp/gcl-2.6.12/work/gcl/ < foo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x0000000000367ee0 in calloc ()
(gdb) #0  0x0000000000367ee0 in calloc ()
#1  0x00007ffff737f687 in ?? () from /lib64/libdl.so.2
#2  0x00007ffff737f158 in dlsym () from /lib64/libdl.so.2
#3  0x00007ffff7bc2fc8 in ?? () from /usr/lib64/libsandbox.so
#4  0x00007ffff7bc1e4e in ?? () from /usr/lib64/libsandbox.so
#5  0x00007ffff7bc802b in ?? () from /usr/lib64/libsandbox.so
#6  0x00007ffff7bc08a7 in ?? () from /usr/lib64/libsandbox.so
#7  0x00007ffff7bc0c98 in ?? () from /usr/lib64/libsandbox.so
#8  0x00007ffff7bc5b9c in open () from /usr/lib64/libsandbox.so
#9  0x0000000000312a89 in get_phys_pages_no_malloc ()
#10 0x0000000000312c08 in update_real_maxpage ()
#11 0x0000000000365aea in gcl_init_alloc ()
#12 0x0000000000366ba2 in malloc ()
#13 0x0000000000367ed0 in calloc ()
#14 0x00007ffff737f687 in ?? () from /lib64/libdl.so.2
#15 0x00007ffff737f158 in dlsym () from /lib64/libdl.so.2
#16 0x00007ffff7bc2fc8 in ?? () from /usr/lib64/libsandbox.so
#17 0x00007ffff7bc1e4e in ?? () from /usr/lib64/libsandbox.so
#18 0x00007ffff7bc802b in ?? () from /usr/lib64/libsandbox.so
#19 0x00007ffff7bc08a7 in ?? () from /usr/lib64/libsandbox.so
#20 0x00007ffff7bbfa26 in ?? () from /usr/lib64/libsandbox.so
#21 0x00007ffff7de82da in ?? () from /lib64/ld-linux-x86-64.so.2
#22 0x00007ffff7de83eb in ?? () from /lib64/ld-linux-x86-64.so.2
---Type <return> to continue, or q <return> to quit---Quit

The problem is somehow related to the sandbox. As I said, everything was OK on February 17; I suppose sandbox has changed between this date and May 4.

FEATURES=-sandbox emerge gcl

does not solve the problem.

Any hints please?

Andrey

Reply via email to