[Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread Peter Bex
Hi there, I am getting a strange segfault in Chicken when I compile SRFI-19. It happens reliably. This system is NetBSD/amd64, it happens both with the latest release (2.41) and the latest SVN checkout (2.430). The reason I'm posting here is that there is one thing that baffles me: When running

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread Mario Domenech Goulart
On Mon, 11 Sep 2006 20:00:16 +0200 Peter Bex <[EMAIL PROTECTED]> wrote: > The reason I'm posting here is that there is one thing that baffles me: > When running a backtrace with GDB, it tells me the error occurs in a > function in lookup-table.c. But I can't find this file (or > lookup-table.scm)

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 11, 2006, at 11:00 AM, Peter Bex wrote: Hi there, I am getting a strange segfault in Chicken when I compile SRFI-19. It happens reliably. This system is NetBSD/amd64, it happens both with the latest release (2.41) and the latest SVN chec

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread Peter Bex
On Mon, Sep 11, 2006 at 11:47:28AM -0700, Kon Lovett wrote: > srfi-19 uses srfi-29 uses lookup-table. The "srfi-29.meta" file does > state the need for lookup-table, so I wonder why it is not installed. > How old is your copy of srfi-29? The need for lookup-table is from > version 1.2, quite

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 11, 2006, at 11:55 AM, Peter Bex wrote: Aha, that explains. I'm using the latest version, but I was looking in the Chicken svn repos, libc, ld.elf_so etc. I never thought that the compilation would use another egg! Stupid me :) During c

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-11 Thread felix winkelmann
On 9/11/06, Peter Bex <[EMAIL PROTECTED]> wrote: The reason I'm posting here is that there is one thing that baffles me: When running a backtrace with GDB, it tells me the error occurs in a function in lookup-table.c. But I can't find this file (or lookup-table.scm) anywhere! Hi, Peter! look

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-12 Thread Peter Bex
On Tue, Sep 12, 2006 at 08:15:22AM +0200, felix winkelmann wrote: > Hi, Peter! > > lookup-table.c is one source file of the lookup-table egg. The .c files > are installed together with a compiled extension. > > The reason for the crash seems to be egg-dependency issues. > I could reproduce a cras

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-12 Thread felix winkelmann
On 9/12/06, Peter Bex <[EMAIL PROTECTED]> wrote: > > LIST ALL (that is: "A-L-L") DIRECTLY AND _INDIRECTLY_ USED EXTENSIONS > IN YOUR *.META FILES!!! This is Really Bad News. I'm having another error (this time a bus error) and figuring out where in the egg dependency chain this is caused will b

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-12 Thread felix winkelmann
Attached is a patch for chicken-setup.scm that should really, really handle dependencies correctly. This doesn't sort out all problems, though: the generic setup-header.scm in most of Kon's extensions passes -X easyfii and -X dollar to compilation commands, but doesn't list them in the "need" cla

Re: [Chicken-users] Bizarre chicken build/segfault problem

2006-09-12 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 12, 2006, at 4:46 AM, felix winkelmann wrote: Attached is a patch for chicken-setup.scm that should really, really handle dependencies correctly. This doesn't sort out all problems, though: the generic setup- header.scm in most of Kon's ext