Andy Wingo wi...@pobox.com writes:
Fixed in git, for the time being. It's an arms race with the compiler,
and clearly code clarity is losing:
FWIW, I think I looked a while back at the possibility of detecting
stack direction at Guile runtime instead - where it is in principle
trivial - and
On Fri 17 Jun 2011 12:25, Andy Wingo wi...@pobox.com writes:
On Sat 21 May 2011 15:51, Marco Maggi marco.maggi-i...@poste.it writes:
Andy Wingo wrote:
Thanks. You seem to be running on system in which the
stackgrows up.Isthat thecase?Check
libguile/scmconfig.h
On Fri 20 May 2011 20:41, Marco Maggi marco.maggi-i...@poste.it writes:
Andy Wingo wrote:
Thanks. You seem to be running on system in which the
stackgrows up.Isthat thecase?Check
libguile/scmconfig.h and config.log.
Yes, I have:
#define SCM_STACK_GROWS_UP 1 /*
Andy Wingo wrote:
On Fri 20 May 2011 20:41, Marco Maggi marco.maggi-i...@poste.it writes:
Andy Wingo wrote:
Thanks. You seem to be running on system in which the
stackgrows up.Isthat thecase?Check
libguile/scmconfig.h and config.log.
Yes, I have:
#define
Marco Maggi marco.maggi-i...@poste.it writes:
Someone left ACTION-IF-FALSE empty
This is fine, isn't it?
and also left the test
without checking message in this chunk of configure.ac:
Agree that that is unhelpful.
maybe the problem is that GCC 4.6.0 with -O3 optimises the
program in
On Mon 02 May 2011 08:20, Marco Maggi marco.maggi-i...@poste.it writes:
Andy Wingo wrote:
stack size (kbytes, -s) 8192
This should be quite large enough. If you are still
interested in debugging this issue, can you call
scm_stack_report () in gdb from the
Marco Maggi marco.maggi-i...@poste.it writes:
Andy Wingo wrote:
You mention in your original report:
CFLAGS=3D'-O3 -march=3Di686 -mtune=3Di686'
Are the 3D things an artifact of some mailing list
encoding thing, or are they a mis-paste?
They were just = characters, but while
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ludo, Andy,
On 05/06/11 11:52, Ludovic Courtès wrote:
I think I’ve always tested with BDW-GC --enable-threads, even when Guile
is --without-threads.
did you have time yet to try a BDW-GC with threads disabled?
Marijn
-BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/05/11 16:25, Ludovic Courtès wrote:
Hello,
Marijn hk...@gentoo.org writes:
On 05/05/11 14:08, Ludovic Courtès wrote:
[...]
How was libgc compiled? Does its ‘make check’ pass?
libgc was compiled from a gentoo ebuild and its sanity
Hello,
Marijn hk...@gentoo.org writes:
On 05/05/11 16:25, Ludovic Courtès wrote:
Hello,
Marijn hk...@gentoo.org writes:
On 05/05/11 14:08, Ludovic Courtès wrote:
[...]
How was libgc compiled? Does its ‘make check’ pass?
libgc was compiled from a gentoo ebuild and its sanity tests
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ludo,
On 05/06/11 11:52, Ludovic Courtès wrote:
I think I’ve always tested with BDW-GC --enable-threads, even when Guile
is --without-threads. I agree that what you’re doing should work, but
can you try BDW-GC --enable-threads?
Guile
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ludo,
On 05/04/11 14:19, Ludovic Courtès wrote:
Actually, Marijn: can you try “GC_DUMP_REGULARLY=1 ./meta/guile -c 0”,
and check what’s under “Static roots”?
More precisely:
--8---cut here---start-8---
Hello!
Marijn hk...@gentoo.org writes:
(gdb) p scm_protects
$1 = (SCM *) 0x77bc45a8
[...]
***Static roots:
From 0x601000 to 0x6010c0 (temporary)
From 0x77ddb000 to 0x77ddd5c8 (temporary)
From 0x77b9e000 to 0x77bcabb8 (temporary) ;; - here
Hmm so GC_is_visible
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/05/11 14:08, Ludovic Courtès wrote:
Hello!
Marijn hk...@gentoo.org writes:
(gdb) p scm_protects
$1 = (SCM *) 0x77bc45a8
[...]
***Static roots:
From 0x601000 to 0x6010c0 (temporary)
From 0x77ddb000 to 0x77ddd5c8
Hello,
Marijn hk...@gentoo.org writes:
On 05/05/11 14:08, Ludovic Courtès wrote:
[...]
How was libgc compiled? Does its ‘make check’ pass?
libgc was compiled from a gentoo ebuild and its sanity tests pass.
Which configure flags, make flags, patches, etc.?
./configure --prefix=/usr
Hi Marijn,
Marijn hk...@gentoo.org writes:
On 04/28/11 17:09, Ludovic Courtès wrote:
Andy Wingo wi...@pobox.com writes:
On Thu 28 Apr 2011 15:08, l...@gnu.org (Ludovic Courtès) writes:
/* Sanity check. */
if (!GC_is_visible (scm_protects))
abort ();
Is this even
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/28/11 15:08, Ludovic Courtès wrote:
Hello,
Andy Wingo wi...@pobox.com writes:
On Thu 14 Apr 2011 15:25, Marijn hk...@gentoo.org writes:
CCLD guile
GENguile-procedures.texi
0x75b260 is not a GC visible pointer location
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/28/11 17:09, Ludovic Courtès wrote:
Andy Wingo wi...@pobox.com writes:
On Thu 28 Apr 2011 15:08, l...@gnu.org (Ludovic Courtès) writes:
/* Sanity check. */
if (!GC_is_visible (scm_protects))
abort ();
Is this even
Hi Marijn,
Adding Ludo to the Cc: as he knows more about libgc.
On Thu 14 Apr 2011 15:25, Marijn hk...@gentoo.org writes:
CCLD guile
GENguile-procedures.texi
0x75b260 is not a GC visible pointer location
GC_is_visible test failed
This occurs in gc.c:
/* Sanity check. */
Hello,
Andy Wingo wi...@pobox.com writes:
On Thu 14 Apr 2011 15:25, Marijn hk...@gentoo.org writes:
CCLD guile
GENguile-procedures.texi
0x75b260 is not a GC visible pointer location
GC_is_visible test failed
This occurs in gc.c:
/* Sanity check. */
if
On Thu 28 Apr 2011 15:08, l...@gnu.org (Ludovic Courtès) writes:
/* Sanity check. */
if (!GC_is_visible (scm_protects))
abort ();
Is this even the right check to make? Shouldn't it check SCM2PTR
(scm_protects) instead of scm_protects?
Andy
--
http://wingolog.org/
Andy Wingo wi...@pobox.com writes:
On Thu 28 Apr 2011 15:08, l...@gnu.org (Ludovic Courtès) writes:
/* Sanity check. */
if (!GC_is_visible (scm_protects))
abort ();
Is this even the right check to make?
Yes: the goal is to make sure that the ‘scm_protect’ variable
Marco Maggi wrote:
Marijn wrote:
guile-2.0.0 fails to build without --disable-threads when
libgc (boehm-gc in gentoo) is built without threads:
I am following up here because I have a problem at the
same point when building branch stable-2.0;
Half of the problem is that I still had
Marco Maggi wrote:
I still get the Stack overflow problem though with the
stable-2.0 branch.
Snapshot guile-2.0.0.179-c89b.tar.gz builds successfully
if I use the --without-threads option, but fails in the
same way when I do not use the option.
It looks like it is the darn
Hi Marco,
On Tue 12 Apr 2011 08:49, Marco Maggi marco.maggi-i...@poste.it writes:
I am following up here because I have a problem at the same
point when building branch stable-2.0; I have just fetched
from the repository, so I have the commit c89b452993...
Actually, failing at that point
On Tue 12 Apr 2011 09:26, Marijn hk...@gentoo.org writes:
(boehm-gc in gentoo) is built without threads:
Interesting. Any plans to change that?
CCLD guile
./.libs/libguile-2.2.so: undefined reference to `GC_register_my_thread'
Fixed, I think; thanks for the full log.
Cheers,
Andy
--
On Wed 13 Apr 2011 13:42, Marco Maggi marco.maggi-i...@poste.it writes:
Marco Maggi wrote:
I still get the Stack overflow problem though with the
stable-2.0 branch.
Snapshot guile-2.0.0.179-c89b.tar.gz builds successfully
if I use the --without-threads option, but fails in the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/13/11 12:05, Andy Wingo wrote:
On Tue 12 Apr 2011 09:26, Marijn hk...@gentoo.org writes:
(boehm-gc in gentoo) is built without threads:
Interesting. Any plans to change that?
I said *when* libgc (boehm-gc in gentoo) is built without
Andy Wingo wrote:
Interesting. It seems that -O3 is consuming more C stack
space than with the default -O2. What does your `ulimit
-a' print out?
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size
On Wed 13 Apr 2011 15:44, Marijn hk...@gentoo.org writes:
CCLD guile
./.libs/libguile-2.2.so: undefined reference to `GC_register_my_thread'
Fixed, I think; thanks for the full log.
If you commit it, I will test it ;P
I think I did? Revision 8e76ce94a28c02324aa13de835b1e55282b8b760.
Andy Wingo wrote:
Throw without catch before boot:
Throw to key stack-overflow with args (#f Stack overflow #f #f)Aborting.
Can you submit a backtrace please?
(gdb) run
Starting program:
/home/marco/src/devel/scheme/checkouts/guile/libguile/.libs/lt-guile
--no-auto-compile
[Thread debugging
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/13/11 16:09, Andy Wingo wrote:
On Wed 13 Apr 2011 15:44, Marijn hk...@gentoo.org writes:
CCLD guile
./.libs/libguile-2.2.so: undefined reference to `GC_register_my_thread'
Fixed, I think; thanks for the full log.
If you commit it, I
Hi,
Marco Maggi marco.maggi-i...@poste.it writes:
CC posix.lo
posix.c:1910:1: error: unknown type name 'cpu_set_t'
This file lacks #include sched.h. Can you check whether it solves the
problem?
Thanks,
Ludo’.
Marijn wrote:
guile-2.0.0 fails to build without --disable-threads when
libgc (boehm-gc in gentoo) is built without threads:
GENguile-procedures.texi
0x75c140 is not a GC visible pointer location
GC_is_visible test failed
I am following up here because I have a problem at the same
On Thu 07 Apr 2011 16:47, Marijn hk...@gentoo.org writes:
guile-2.0.0 fails to build without --disable-threads when libgc
(boehm-gc in gentoo) is built without threads:
Can you try with a snapshot? Should be fixed in stable-2.0, but it
would be nice to get some feedback before releasing
35 matches
Mail list logo