GNU bug report logs - #13342
Clang, the FFI, and 8-bit signed integers

Previous Next

Package: guile;

Reported by: Peter Teeson <pteeson <at> me.com>

Date: Wed, 2 Jan 2013 23:06:02 UTC

Severity: normal

Tags: notabug

Merged with 13386

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #8 received at 13342 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Peter Teeson <pteeson <at> me.com>
Cc: 13342 <at> debbugs.gnu.org
Subject: Re: bug#13342: Errors trying to build Guile 2.0.7
Date: Thu, 03 Jan 2013 16:22:24 +0100
Hi!

Peter Teeson <pteeson <at> me.com> skribis:

> I get the following 2 errors, (A & B below) trying to build Guile.
>
> (A) I solved this one by installing GNU readline-6.2.
> Prior to that it must have used Apple's deadline which didn't have the rl_get_keymap_name
> function.

Yes, that’s because you were using the Readline “compatibility” layer of
libeditline, which is shipped as part of MacOS.

> You might wish to make a test for that function in configure and maybe make GNU readline a required lib?

There are tests checking for GNU Readline.  The problem is that
libeditline attempts to replicate Readline’s API, but not quite, hence
the problem.  That’s why ‘README’ insists on using GNU Readline.

> bad return from expression `(f-sum -1 2000 -30000 40000000000)': expected 39999971999; got 39999972255
> FAIL: test-ffi

This is a known issue when building Guile with LLVM/Clang:

  http://bugs.gnu.org/10015
  http://bugs.gnu.org/10681

It would be great if you could investigate.

Thanks,
Ludo’.




This bug report was last modified 12 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.