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

 
 

bug #30122: [1.9.11] test failure with clang

Submitter:  Elias Pipping <pipping>
Submitted:  Sun 13 Jun 2010 04:57:24 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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'
GUILE_AUTO_COMPILE=0                                    \
        ../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 Files:
   
   
Comment:
   

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
  • -email is unavailable- added by pipping (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-13 pipping Attached File- Added 1276392994-install-dev-lang_guile-1.9.11:2.0::arbor.out.xz, #20742
    2010-06-13 pipping Attached File- Added 1276391464-install-dev-lang_guile-1.9.11:2.0::arbor.out, #20741

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code