Re: The Road to 2.2

2013-05-22 Thread Nala Ginrut
On Wed, 2013-05-22 at 00:23 -0400, Noah Lavine wrote: On Sun, May 19, 2013 at 6:02 PM, Ludovic Courtès l...@gnu.org wrote: Andy Wingo wi...@pobox.com skribis: On Sat 18 May 2013 15:44, Noah Lavine noah.b.lav...@gmail.com writes: I have a very small question, based on something I

Deadlock with GC 7.2alpha6 on master

2013-05-22 Thread Ludovic Courtès
Hello! On a fresh build of ‘master’ (.go not built yet), ../meta/guile -c 1 hangs like this: --8---cut here---start-8--- (gdb) bt #0 0x775d922c in __lll_lock_wait () from /home/ludo/.guix-profile/lib/libpthread.so.0 #1 0x775d503c in

Re: Deadlock with GC 7.2alpha6 on master

2013-05-22 Thread Ludovic Courtès
There’s no such problem with GC 7.2d. Sorry for the noise! Ludo’.

Re: [PATCH 1/6] split linker out of elf module

2013-05-22 Thread Ludovic Courtès
Hello! Note: I’m just familiarizing with the new code, so I may miss things, and may make mostly superficial comments. Andy Wingo wi...@pobox.com skribis: * module/Makefile.am: * module/system/vm/linker.scm: New file, split out of (system vm elf). * module/system/vm/elf.scm: Remove linking

Re: [PATCH 2/6] ELF refactor and consequent linker simplifications

2013-05-22 Thread Ludovic Courtès
Andy Wingo wi...@pobox.com skribis: * module/system/vm/elf.scm: Add commentary. (make-elf): Add a constructor similar to make-elf-segment and make-elf-section. (write-elf32-header, write-elf64-header, write-elf-header): Take an elf instead of all the fields separately.

Re: [PATCH 3/6] elf: add accessors for header members that might need relocation

2013-05-22 Thread Ludovic Courtès
Andy Wingo wi...@pobox.com skribis: * module/system/vm/elf.scm (elf-header-shoff-offset) (elf-section-header-addr-offset, elf-section-header-offset-offset): New accessors. --- module/system/vm/elf.scm | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-)

Re: [PATCH 4/6] refactor linker to lay out ELF files and memory in the same way

2013-05-22 Thread Ludovic Courtès
This goes beyond my ELF capabilities, so can’t really comment on this. Style comments: Andy Wingo wi...@pobox.com skribis: * module/system/vm/linker.scm (make-linker-object): (linker-object-section-symbol): (linker-object-symbols*): Create a symbol to the start of a linker object.

Re: CPS thoughts

2013-05-22 Thread Noah Lavine
An update: I just rebased wip-rtl-cps on top of wip-rtl-may-2013 and pushed. The most interesting thing was how trivial it was: all I had to do was make a one-line change in how I called `begin-program'. Best, Noah On Wed, May 22, 2013 at 12:33 AM, Noah Lavine noah.b.lav...@gmail.comwrote: