[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-2.0.1 on 64-bit PowerPC Gentoo Linux: one test failure
From: |
Ludovic Courtès |
Subject: |
Re: guile-2.0.1 on 64-bit PowerPC Gentoo Linux: one test failure |
Date: |
Sun, 08 May 2011 17:27:31 +0200 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) |
Hi Nelson,
> "Nelson H. F. Beebe" <address@hidden> writes:
>
>> I've just done two builds of guile-2.0.1 on 64-bit PowerPC Gentoo
>> Linux with differing choices of PATH. Here are the settings for one
>> of them:
>>
>> % cat /etc/gentoo-release
>> Gentoo Base System release 1.12.14
>>
>> % gcc --version
>> gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
>>
>> PATH=/usr/local/bin:/usr/bin:/bin
>>
>> LDFLAGS='-Wl,-rpath,/lib -L/lib -Wl,-rpath,/usr/lib -L/usr/lib
>> -Wl,-rpath,/usr/local/lib -L/usr/local/lib'
>> LIBS=-lgc
>>
>> The builds are successful, but there is a single test failure:
>>
>> PASS: test-asmobs
>> bad return from expression `(f-s8-)': expected -100; got -1
>> bad return from expression `(f-u8-)': expected 200; got 0
>> bad return from expression `(f-s16-)': expected -20000; got -1
>> bad return from expression `(f-u16-)': expected 40000; got 0
>> bad return from expression `(f-s32-)': expected -2000000000; got -1
>> bad return from expression `(f-u32-)': expected 4000000000; got 0
>
> I’ve reproduced the problem and I’m looking for a fix that won’t break
> other arches. ;-)
>
> See <http://thread.gmane.org/gmane.comp.lib.ffi.general/406> for
> details.
Commit 012062a0d61cbd297dd58c8168433518c8b450cc fixes it. You can test
it using a 2.0 snapshot, see
<http://www.gnu.org/software/guile/download.html#snapshots>.
Thanks,
Ludo’.