Re: Build Error in Master

2012-03-12 Thread Noah Lavine
This problem went away for me when I made distclean and built the most recent master. I don't know why that fixed it. 2012/3/9 Ludovic Courtès : > Hi Noah! > > Noah Lavine skribis: > >> When building the latest git master, I get this error: >> >>   GUILEC language/tree-il/compile-glil.go >> Asser

Re: Build Error in Master

2012-03-09 Thread Ludovic Courtès
Hi Noah! Noah Lavine skribis: > When building the latest git master, I get this error: > > GUILEC language/tree-il/compile-glil.go > Assertion failed: (table->n_items < size), function rob_from_rich, > file weak-table.c, line 252. I’m seeing that too sometimes when running ./check-guile, with

Re: Build Error in Master

2012-03-07 Thread Mark H Weaver
Hi Noah, Noah Lavine writes: > When building the latest git master, I get this error: > > GUILEC language/tree-il/compile-glil.go > Assertion failed: (table->n_items < size), function rob_from_rich, > file weak-table.c, line 252. > > Has weak-table.c changed recently? This is just a guess, but

Re: Build Error in master

2012-02-07 Thread Noah Lavine
Oh, and the same will happen with GC_get_suspend_signal, which we define at scmsigs.c:155. Other than that, though, the new gc resolves the problem I had. I am willing to chalk this up to a GC bug and not worry about it more. Noah On Tue, Feb 7, 2012 at 9:07 AM, Noah Lavine wrote: > Hello, > >

Re: Build Error in master

2012-02-07 Thread Noah Lavine
Hello, I inserted a GC_is_visible check in my code and learned that 'symbols' is visible, but the things it points to were getting garbage collected anyway. It seemed like a GC bug, so I'm trying to build Guile with the latest version of GC and hoping that fixes it. I just wanted to warn everyone

Re: Build Error in master

2012-02-02 Thread Noah Lavine
Got it! And unfortunately, it's a GC error. Here's what happens: symbols is an SCM object defined in symbols.c. It points to an scm_cell_t which has two elements: a type tag, and a pointer to an scm_weak_set_t. That scm_cell_t is at 0x10101cff0. However, that scm_cell_t is garbage collected in th

Re: Build Error in master

2012-02-01 Thread Andy Wingo
On Wed 01 Feb 2012 03:12, Noah Lavine writes: > In the failing call, > the SCM 'symbols' is 0x10101cff0, but the failing set is at 0x304, > which has not been allocated. 0x304 is one of the iflags, SCM_EOL I think. So, I know it might not have anything to do with it, but can you verify that y

Re: Build Error in master

2012-01-31 Thread Noah Lavine
I've done some debugging. Here is what I know so far: The error happens in scm_bootstrap_vm, which is called before we enter Scheme, so the error is only in the C code. It happens in scm_i_str2symbol, when scm_bootstrap_vm wants to make some symbol. Here's how symbols work: there is a variable ca

Re: Build Error in master

2012-01-29 Thread Catonano
Il giorno 26 gennaio 2012 23:06, Andy Wingo ha scritto: > On Thu 26 Jan 2012 15:26, Noah Lavine writes: > > > I just checked out the latest master. I attempted to build it, but got > > stuck at this point: > > Is it http://lists.gnu.org/archive/html/bug-guile/2011-12/msg00058.html > ? > yyes, i

Re: Build Error in master

2012-01-26 Thread Noah Lavine
I don't think so, because I don't get Throw to key misc-error with args ("module-transformer" "no module, and `macroexpand' unbound" () #f). I'm going to try a git bisect and see where this appears. Noah On Thu, Jan 26, 2012 at 5:06 PM, Andy Wingo wrote: > On Thu 26 Jan 2012 15:26, Noah Lavine

Re: Build Error in master

2012-01-26 Thread Andy Wingo
On Thu 26 Jan 2012 15:26, Noah Lavine writes: > I just checked out the latest master. I attempted to build it, but got > stuck at this point: Is it http://lists.gnu.org/archive/html/bug-guile/2011-12/msg00058.html ? Andy -- http://wingolog.org/