On Wed, Apr 06, 2011 at 07:55:26PM +0200, ri...@happyleptic.org wrote: > > running the 'make check' of guile 2.0 I've got an Illegal instruction. I > > don't know any mips, so I'd like someone here to check this. > > When I run make check on git tag v2.0.0 I have only > one test that fails (foreign.test), probably due to a > bug in libffi (already reported on their mailing list > and here too some weeks ago). > > On which test do you encountered this error? > And more importantly, what are your libffi version > and cflags for guile and libffi? It's numeric.test iirc.
> I run ABI n32, libffi master (as of yesterday) with > CFLAGS=-march=loongson2f -mabi=n32 -pipe -Wa,-mfix-loongson2f-nop > with gcc 4.5.2 Yes, same here. Ludovic tracked the issue down to a "(sin +nan.0)" operation. >From what I understood from the loongson2f manual, a quiet nan should not cause any illegal operation unless there is a trap set. Who may be setting such a trap, I don't know. > > Guile is built for n64 with gcc 4.5.1. > > Out of curiosity, which distro is that? I use nixos, you know already :) It's the guile in nipxkgs trunk. And I meant n32, not n64. -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.