* test-round fails on alpha
@ 2009-01-26 10:16 Marijn Schouten (hkBst)
2009-01-27 8:29 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Marijn Schouten (hkBst) @ 2009-01-26 10:16 UTC (permalink / raw)
To: bug-guile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
guile-1.8.6's test-round fails on alpha:
make[4]: Entering directory
`/var/tmp/portage/dev-scheme/guile-1.8.5-r1/work/guile-1.8.5/test-suite/standalone'
PASS: test-system-cmds
PASS: test-require-extension
PASS: test-bad-identifiers
PASS: test-num2integral
test-round: test-round.c:98: test_scm_c_round: Assertion `x == floor (x)'
failed.
/bin/sh: line 4: 19071 Aborted "../../pre-inst-guile-env"
${dir}$tst
FAIL: test-round
PASS: test-gh
PASS: test-asmobs
PASS: test-list
PASS: test-unwind
PASS: test-conversion
PASS: test-use-srfi
PASS: test-with-guile-module
Marijn
- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl9jY0ACgkQp/VmCx0OL2ziPQCgwPxr9E57MDwsqqHJCr3nvFR/
QnQAn2SBtzzPUwaudDAAb5yChPeyYIYW
=cASC
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-26 10:16 test-round fails on alpha Marijn Schouten (hkBst)
@ 2009-01-27 8:29 ` Ludovic Courtès
2009-01-27 9:56 ` Marijn Schouten (hkBst)
0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2009-01-27 8:29 UTC (permalink / raw)
To: bug-guile
Hi,
"Marijn Schouten (hkBst)" <hkBst@gentoo.org> writes:
> guile-1.8.6's test-round fails on alpha:
>
>
> make[4]: Entering directory
> `/var/tmp/portage/dev-scheme/guile-1.8.5-r1/work/guile-1.8.5/test-suite/standalone'
This is actually 1.8.5. :-)
> test-round: test-round.c:98: test_scm_c_round: Assertion `x == floor (x)'
> failed.
> /bin/sh: line 4: 19071 Aborted "../../pre-inst-guile-env"
I can't reproduce it on a GNU/Linux Alpha box:
http://autobuild.josefsson.org/guile/#guile-alphaev56-unknown-linux-gnu
That said, Debian once hit this problem too:
http://www.nabble.com/Re%3A-Summer-holidays-tt18648822.html#a18922155
I don't know how it was solved, though. Neil?
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-27 8:29 ` Ludovic Courtès
@ 2009-01-27 9:56 ` Marijn Schouten (hkBst)
2009-01-27 12:55 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Marijn Schouten (hkBst) @ 2009-01-27 9:56 UTC (permalink / raw)
To: Ludovic �; +Cc: bug-guile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ludovic � wrote:
> Hi,
>
> "Marijn Schouten (hkBst)" <hkBst@gentoo.org> writes:
>
>> guile-1.8.6's test-round fails on alpha:
>>
>>
>> make[4]: Entering directory
>> `/var/tmp/portage/dev-scheme/guile-1.8.5-r1/work/guile-1.8.5/test-suite/standalone'
>
> This is actually 1.8.5. :-)
Indeed it is. Sorry. I didn't have access to the actual 1.8.6 output, but it
fails in the same way:
make check-TESTS
make[4]: Entering directory
`/var/tmp/portage/dev-scheme/guile-1.8.6/work/guile-1.8.6/test-suite/standalone'
PASS: test-system-cmds
PASS: test-require-extension
PASS: test-bad-identifiers
PASS: test-num2integral
test-round: test-round.c:98: test_scm_c_round: Assertion `x == floor (x)'
failed.
/bin/sh: line 4: 21303 Aborted "../../pre-inst-guile-env"
${dir}$tst
FAIL: test-round
PASS: test-gh
PASS: test-asmobs
PASS: test-list
PASS: test-unwind
PASS: test-conversion
PASS: test-use-srfi
PASS: test-scm-c-read
PASS: test-with-guile-module
PASS: test-scm-with-guile
==================================
1 of 14 tests failed
>> test-round: test-round.c:98: test_scm_c_round: Assertion `x == floor (x)'
>> failed.
>> /bin/sh: line 4: 19071 Aborted "../../pre-inst-guile-env"
>
> I can't reproduce it on a GNU/Linux Alpha box:
>
> http://autobuild.josefsson.org/guile/#guile-alphaev56-unknown-linux-gnu
the alpha that this fails on is apparently "EV68AL with alpha-unknown-linux-gnu"
Marijn
- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl+2l0ACgkQp/VmCx0OL2zqrQCgxqassr+4bCSY6dndjbATvHVq
j1kAnRtTy+Ejei7ZYqIAezgtJFDYyt8T
=3DzZ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-27 9:56 ` Marijn Schouten (hkBst)
@ 2009-01-27 12:55 ` Ludovic Courtès
2009-01-27 21:20 ` Neil Jerram
0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2009-01-27 12:55 UTC (permalink / raw)
To: Marijn Schouten (hkBst); +Cc: bug-guile
Hi,
"Marijn Schouten (hkBst)" <hkBst@gentoo.org> writes:
>> I can't reproduce it on a GNU/Linux Alpha box:
>>
>> http://autobuild.josefsson.org/guile/#guile-alphaev56-unknown-linux-gnu
>
> the alpha that this fails on is apparently "EV68AL with alpha-unknown-linux-gnu"
According to http://en.wikipedia.org/wiki/DEC_Alpha, it's a more recent
model than EV56, but I don't know how it differs. Unfortunately, I
don't have access to such a machine so I can't really help.
Anyway, I think experience from Debian (Rob & Neil) on that matter could
be helpful.
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-27 12:55 ` Ludovic Courtès
@ 2009-01-27 21:20 ` Neil Jerram
2009-01-29 13:41 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Neil Jerram @ 2009-01-27 21:20 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: bug-guile
ludo@gnu.org (Ludovic Courtès) writes:
> Anyway, I think experience from Debian (Rob & Neil) on that matter could
> be helpful.
It was being seen on m68k, and apparently that is not a
release-critical architecture for Lenny (the next Debian release), so
I stopped looking at it.
I've appended relevant history below, but basically this still needs
investigation.
Neil
Me:
> For the rest... There is a remaining bug in test-round in m68k:
>
> lt-test-round: test-round.c:86: test_scm_c_round: Assertion
> `scm_c_round (x) == want' failed.
>
> Will that prevent the upload from reaching testing? If so, I'll look
> into a fix.
Me again:
> It seems to be a fairly obscure rounding test that is failing:
>
> x = ldexp (1.0, DBL_MANT_DIG - 1) - 1.0 + 0.5;
> want = ldexp (1.0, DBL_MANT_DIG - 1);
> assert (scm_c_round (x) == want);
>
> i.e., IIUC, testing rounding near the upper limit of what can be
> represented as a floating point number.
>
> Looking at this from the "what changed" point of view: I don't believe
> that either the code (scm_c_round() in libguile/numbers.c) or the test
> (test-suite/standalone/test-round.c) has changed significantly since
> 2004. As far as Debian is concerned, therefore, I would have expected
> to see exactly the same m68k build failure for 1.8.1+1-4 (the current
> stable version) and 1.8.4+1.2 (current testing). But I haven't been
> able to find any build logs to confirm or deny that.
Rob:
> Note that if I recall correctly, m68k isn't a release critical
> architecture for lenny, so although I think it would be good to fix
> this, it may not affect guile's inclusion in lenny.
Me:
> Excellent, sounds like we're all set then.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-27 21:20 ` Neil Jerram
@ 2009-01-29 13:41 ` Ludovic Courtès
2009-01-29 14:05 ` Marijn Schouten (hkBst)
0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2009-01-29 13:41 UTC (permalink / raw)
To: bug-guile
Hello!
Marijn, assuming you have access to the EV68, do you feel like debugging
this further? :-)
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-29 13:41 ` Ludovic Courtès
@ 2009-01-29 14:05 ` Marijn Schouten (hkBst)
2009-03-30 19:22 ` Marijn Schouten (hkBst)
0 siblings, 1 reply; 9+ messages in thread
From: Marijn Schouten (hkBst) @ 2009-01-29 14:05 UTC (permalink / raw)
To: Ludovic �; +Cc: bug-guile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ludovic � wrote:
> Hello!
>
> Marijn, assuming you have access to the EV68, do you feel like debugging
> this further? :-)
>
> Thanks,
> Ludo'.
>
I can get access to that machine. If you have some ideas that you would like me
to try I could do that. Otherwise I don't know when I'll look into it.
Marijn
- --
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmBt8EACgkQp/VmCx0OL2zyPACgsiUkWSIA8smWdTJI+L+PTVwR
R00AoKjAtI/9tvOcsQlOpKySP9cnkcDZ
=268A
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-01-29 14:05 ` Marijn Schouten (hkBst)
@ 2009-03-30 19:22 ` Marijn Schouten (hkBst)
2009-03-30 21:05 ` Neil Jerram
0 siblings, 1 reply; 9+ messages in thread
From: Marijn Schouten (hkBst) @ 2009-03-30 19:22 UTC (permalink / raw)
To: Ludovic �; +Cc: bug-guile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marijn Schouten (hkBst) wrote:
> Ludovic ý wrote:
>> Hello!
>
>> Marijn, assuming you have access to the EV68, do you feel like debugging
>> this further? :-)
>
>> Thanks,
>> Ludo'.
>
>
> I can get access to that machine. If you have some ideas that you would like me
> to try I could do that. Otherwise I don't know when I'll look into it.
>
> Marijn
Hi,
it seems this is a glibc issue:
http://bugs.gentoo.org/show_bug.cgi?id=245701#c18
so not a guile bug :)
Marijn
- --
Gods do not want you to think, lest they lose existence.
Religions do not want you to think, lest they lose power.
Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAknRHAIACgkQp/VmCx0OL2y43wCfeBL/X/zpuPChG5wuLxWfREuU
FMwAn1mscMd3WKmeJ8RPI/DOyDjtLM4W
=ablX
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: test-round fails on alpha
2009-03-30 19:22 ` Marijn Schouten (hkBst)
@ 2009-03-30 21:05 ` Neil Jerram
0 siblings, 0 replies; 9+ messages in thread
From: Neil Jerram @ 2009-03-30 21:05 UTC (permalink / raw)
To: Marijn Schouten (hkBst); +Cc: bug-guile, Ludovic �
"Marijn Schouten (hkBst)" <hkBst@gentoo.org> writes:
> it seems this is a glibc issue:
> http://bugs.gentoo.org/show_bug.cgi?id=245701#c18
>
> so not a guile bug :)
Thanks for discovering this and letting us know!
Neil
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-30 21:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 10:16 test-round fails on alpha Marijn Schouten (hkBst)
2009-01-27 8:29 ` Ludovic Courtès
2009-01-27 9:56 ` Marijn Schouten (hkBst)
2009-01-27 12:55 ` Ludovic Courtès
2009-01-27 21:20 ` Neil Jerram
2009-01-29 13:41 ` Ludovic Courtès
2009-01-29 14:05 ` Marijn Schouten (hkBst)
2009-03-30 19:22 ` Marijn Schouten (hkBst)
2009-03-30 21:05 ` Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).