{"id":263,"date":"2015-08-15T19:11:23","date_gmt":"2015-08-16T03:11:23","guid":{"rendered":"http:\/\/eschatologist.net\/blog\/?p=263"},"modified":"2023-02-22T18:23:11","modified_gmt":"2023-02-23T02:23:11","slug":"sbcl-test-failures-on-arm","status":"publish","type":"post","link":"https:\/\/eschatologist.net\/blog\/?p=263","title":{"rendered":"SBCL test failures on ARM"},"content":{"rendered":"<p>For hacking\/prototyping\/fun purposes I have a few embedded systems laying around. For example, I have a couple of Raspberry Pi systems, one of the original Raspberry Pi model B boards and one of the new Raspberry Pi 2 model B boards.<\/p>\n<p>And on everything, I have the latest <a href=\"http:\/\/sbcl.org\/\">Steel Bank Common Lisp<\/a> building.<\/p>\n<p>On my Raspberry Pi, which is an <code>armv6<\/code> device, I see the following failures in SBCL\u2019s unit tests:<\/p>\n<pre><code> Failure:            debug.impure.lisp \/ (TRACE ENCAPSULATE NIL)\n Failure:            debug.impure.lisp \/ (TRACE-RECURSIVE ENCAPSULATE NIL)\n Expected failure:   packages.impure.lisp \/ USE-PACKAGE-CONFLICT-SET\n Expected failure:   packages.impure.lisp \/ IMPORT-SINGLE-CONFLICT\n (62 tests skipped for this combination of platform and features)\n<\/code><\/pre>\n<p>On my Raspberry Pi 2, which is an <code>armv7<\/code> device, I see the following additional failures:<\/p>\n<pre><code> Failure:            float.pure.lisp \/ (SCALE-FLOAT-OVERFLOW BUG-372)\n Failure:            float.pure.lisp \/ (ADDITION-OVERFLOW BUG-372)\n Failure:            float.pure.lisp \/ (ADDITION-OVERFLOW BUG-372 TAKE-2)\n Failure:            debug.impure.lisp \/ (TRACE ENCAPSULATE NIL)\n Failure:            debug.impure.lisp \/ (TRACE-RECURSIVE ENCAPSULATE NIL)\n Expected failure:   packages.impure.lisp \/ USE-PACKAGE-CONFLICT-SET\n Expected failure:   packages.impure.lisp \/ IMPORT-SINGLE-CONFLICT\n (62 tests skipped for this combination of platform and features)\n<\/code><\/pre>\n<p>This says to me that, contrary to what some have told me, SBCL probably <em>does<\/em> need to distinguish the various ARM instruction set variants.<\/p>\n<p>Is anyone actually working on SBCL on ARM?<\/p>\n<p>I also have a <a href=\"https:\/\/www.96boards.org\/products\/ce\/dragonboard410c\/\">DragonBoard 410c<\/a> on the way, and it might be nice to have a fast Lisp on ARM64, though I suspect that\u2019s a bit further out\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For hacking\/prototyping\/fun purposes I have a few embedded systems laying around. For example, I have a couple of Raspberry Pi systems, one of the original Raspberry Pi model B boards and one of the new Raspberry Pi 2 model B boards. And on everything, I have the latest Steel Bank Common Lisp building. On my&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[148,40,22,147],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-technology","tag-embedded","tag-lisp","tag-programming","tag-raspberry-pi"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p74loH-4f","_links":{"self":[{"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263"}],"version-history":[{"count":3,"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":357,"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/263\/revisions\/357"}],"wp:attachment":[{"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eschatologist.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}