bugGuile - Bugs: bug #30122, [1.9.11] test failure with clang


bug #30122: [1.9.11] test failure with clang

Submitted by:  Elias Pipping <pipping>
Submitted on:  Sun 13 Jun 2010 04:57:24 AM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 22 Oct 2011 11:01:57 PM UTC, comment #2:

The issue persists with the last version of clang (from git) and guile 2.0.3.

Elias Pipping <pipping>
Tue 26 Jul 2011 10:09:32 PM UTC, comment #1:

The status with guile 2.0.2 is:

two tests fail when guile is compiled with clang. they do not fail when guile is compiled with gcc.

bad return from expression `(f-sum -1 2000 -30000 40000000000)': expected 39999971999; got 39999972255
FAIL: test-ffi
PASS: test-list
PASS: test-unwind
fail: scm_is_unsigned_integer ((- (expt 2 64) 1), 0, 18446744073709551615) == 1
FAIL: test-conversion

% gcc --version
gcc (Exherbo gcc-4.5.3-r1) 4.5.3

% clang --version
clang version 3.0 ([..] b5fd253af366cae059f7e2f0db8a261076e39e81)

Elias Pipping <pipping>
Sun 13 Jun 2010 04:57:24 AM UTC, original submission:

I believe this didn't happen with 1.9.10.

Here's the test failure after compiling with clang:

make[2]: Entering directory `/var/tmp/paludis/build/dev-lang-guile-1.9.11/work/guile-1.9.11/module'
../meta/uninstalled-env \
guile-tools compile -Wunbound-variable -Warity-mismatch -o "ice-9/eval.go" "ice-9/eval.scm"
ERROR: Stack overflow
guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S (exact integer (#t #<catch-closure 2997a20> #<catch-closure 29979c0> #<catch-closure 29979a0>)) ((#t #<catch-closure 2997a20> #<catch-closure 29979c0> #<catch-closure 29979a0>)))
make[2]: Leaving directory `/var/tmp/paludis/build/dev-lang-guile-1.9.11/work/guile-1.9.11/module'

Tried it multiple times with clang (occurred all the time) and gcc (did not occur even once).

I'm attaching the build logs.

Elias Pipping <pipping>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #20742:  1276392994-install-dev-lang_guile-1.9.11:2.0::arbor.out.xz added by pipping (42KiB - application/x-xz - one that works (gcc))


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by pipping (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Jun 2010 04:59:15 AM UTCpippingAttached File-=>Added 1276392994-install-dev-lang_guile-1.9.11:2.0::arbor.out.xz, #20742
    Sun 13 Jun 2010 04:57:24 AM UTCpippingAttached File-=>Added 1276391464-install-dev-lang_guile-1.9.11:2.0::arbor.out, #20741

    Back to the top

    Powered by Savane 3.1-cleanup1