<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 33: ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/</link><description>Recent changes to 33: ARM fixes</description><atom:link href="https://sourceforge.net/p/clisp/patches/33/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 16 Aug 2018 07:59:03 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/clisp/patches/33/feed.rss" rel="self" type="application/rss+xml"/><item><title>#33 ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/?limit=25#9370/b9b9/f2cf</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm terribly sorry, I saw some bug reports and work done on other bug reports and assumed it's well known.&lt;/p&gt;
&lt;p&gt;Well, I'm trying to install sbcl for armhf in Alpine 3.8 on RPi3B+, the only thing matters here is the architecture used for the kernel, in my case ARMv7 (ARMv8 - aarch64 is supported but it doesn't matter, same thing happens).&lt;/p&gt;
&lt;p&gt;Since there was no package I tried downloading the same files as appear in the APKBUILD definition (the file used by Alpine to describe all the different aspect of installing the products alongside relevant patches and required configuration).&lt;/p&gt;
&lt;p&gt;Since sbcl does not compile without the clisp package I had to build the package manually (I'd rather use the package manager, apk, for dependency sake), so when I tried compiling it there was only a single patch called no-page.h.patch which is part of the x86_64 package, so I downloaded and configured the patch above (only this one first) and then when it didn't work I tried all the other patches deleted from this repository:&lt;br/&gt;
&lt;a href="https://github.com/archlinuxarm/PKGBUILDs/" rel="nofollow"&gt;https://github.com/archlinuxarm/PKGBUILDs/&lt;/a&gt; (I just searched for clisp and found all the relevant data from pull requests).&lt;/p&gt;
&lt;p&gt;Despite all that I'm getting the exact same error which is:&lt;br/&gt;
…&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;rm -f genclisph clisp-test-clisp clisp-test-lispbibl clisp-test-clisp.out clisp-test-lispbibl.out
gcc -Os -fomit-frame-pointer -I/workspace_clisp/src/clisp-2.49/gllib -Os -fomit-frame-pointer -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O2 -DENABLE_UNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -c modules.c
rm -rf data
mkdir data
cd data &amp;amp;&amp;amp; ln -s /workspace_clisp/src/clisp-2.49/utils/unicode/UnicodeDataFull.txt .
cd data &amp;amp;&amp;amp; ln -s /workspace_clisp/src/clisp-2.49/doc/Symbol-Table.text .
gcc -Os -fomit-frame-pointer -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O2 -DENABLE_UNICODE -DDYNAMIC_FFI -DNO_GETTEXT -I. -Wl,--as-needed  spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o built.o ariarm.o modules.o -lncurses /usr/lib/libavcall.so /usr/lib/libcallback.so  -L/usr/lib -lsigsegv libgnu_cl.a -o lisp.run
./lisp.run -B . -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp /workspace_clisp/src/clisp-2.49/src/ -x '(and (load "/workspace_clisp/src/clisp-2.49/src/init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)'
make: *** [Makefile:1732: interpreted.mem] Segmentation fault
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The full log can be found here:&lt;br/&gt;
&lt;a href="https://hastebin.com/upinoriyuh.bash" rel="nofollow"&gt;https://hastebin.com/upinoriyuh.bash&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you and sorry for the misunderstanding.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yaron Shahrabani</dc:creator><pubDate>Thu, 16 Aug 2018 07:59:03 -0000</pubDate><guid>https://sourceforge.net3183088498c9695d0f5aebb22abd283a3dcb8a07</guid></item><item><title>#33 ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/?limit=25#9370/b9b9</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I don't know what you mean by "still" or "doesn't work".  Be more specific please.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerry James</dc:creator><pubDate>Thu, 16 Aug 2018 03:25:21 -0000</pubDate><guid>https://sourceforge.net84aafb8e69458423ae4f599fcfc6b8441b6c86c2</guid></item><item><title>#33 ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/?limit=25#9370</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Tried using this patch, still doesn't work, I tried patching it for Alpine 3.8.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yaron Shahrabani</dc:creator><pubDate>Wed, 15 Aug 2018 08:28:17 -0000</pubDate><guid>https://sourceforge.net0afa8c67b2d9b7bf7612f5fade4f8e24480b0544</guid></item><item><title>#33 ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/?limit=250#8336</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Bruno Haible&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Steingold</dc:creator><pubDate>Thu, 23 Mar 2017 14:31:27 -0000</pubDate><guid>https://sourceforge.net7d0879106ce973645c4ac4d93028de31a716e30e</guid></item><item><title>ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;As reported recently on the mailing list, I have had some problems with clisp failing to build on ARM platforms.  WIth the help of Google and the ARM assembly language reference manual, I think I have all the problems sorted out now.  The illegal instruction problem I reported is due to lines like this:&lt;/p&gt;
&lt;p&gt;LDMFD sp!, {v1,v2,v3,v4,v5,v6,pc}^&lt;/p&gt;
&lt;p&gt;The trailing carat indicates that this is a return-from-exception.  But it isn't.  All instances of this in the code are normal function returns.  This patch eliminates all such trailing carats.  After doing that, I again hit an illegal instruction, this time on a line of this form:&lt;/p&gt;
&lt;p&gt;MOVEQS pc, lr&lt;/p&gt;
&lt;p&gt;That form of the instruction has been deprecated, and is apparently now illegal on whatever Fedora's koji builders use.  The new way to do that is this:&lt;/p&gt;
&lt;p&gt;BXEQ lr&lt;/p&gt;
&lt;p&gt;which the assembly language reference manual says is also friendlier to the branch prediction logic.  However, that instruction is not available on ARM v4 and earlier.  That doesn't cause me any issues, since Fedora only supports ARM v5 and later, but if you want to support those earlier versions, you may need a macro that expands to the existing form for v4 and earlier, and the new form for v5 and later.&lt;/p&gt;
&lt;p&gt;GCC 4.7 also wants functions to have the appropriate ELF type, so I added the appropriate magic to the GLABEL macro.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerry James</dc:creator><pubDate>Thu, 24 May 2012 23:02:27 -0000</pubDate><guid>https://sourceforge.net02202e1a02287d1225291abad450044dfaa30587</guid></item><item><title>ARM fixes</title><link>https://sourceforge.net/p/clisp/patches/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 33 has been modified: ARM fixes&lt;br/&gt;
Edited By: Sam Steingold (sds)&lt;br/&gt;
Owner updated: None =&amp;gt; u'haible'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerry James</dc:creator><pubDate>Thu, 24 May 2012 23:02:27 -0000</pubDate><guid>https://sourceforge.net9f73ec5f8bbf001d60cfbc864ecb66f6892c2131</guid></item></channel></rss>