<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Jancy building in aarm64]]></title><description><![CDATA[<p dir="auto">Hello again Vladimir!<br />
This is not a big issue for me, but I tell you, fyi, as could be useful to fix something.<br />
I tried to build Jancy in a aarm64 plataform (a Rasperry Pi 3 and a Rock64, with Arch Linux 64).<br />
I was able to build it (more details below), but when I "make test", there are many failed tests.<br />
<img src="/forum/assets/uploads/files/1695807997019-c65988b9-ca0e-4087-b181-5a786da15964-image.png" alt="c65988b9-ca0e-4087-b181-5a786da15964-image.png" class=" img-responsive img-markdown" width="1099" height="1033" /></p>
<p dir="auto">Looking inside the LastTest.log, I saw something I felt could be at the root of the problem, the SISSEGV event<br />
<img src="/forum/assets/uploads/files/1695808189531-7071aacf-8f9e-4afa-8666-0936c52fddb7-image.png" alt="7071aacf-8f9e-4afa-8666-0936c52fddb7-image.png" class=" img-responsive img-markdown" width="981" height="500" />  (I have no problem to provide you the file, if you want it)</p>
<p dir="auto">As I commented, in fact, I have an issue when building it, the problem was when proceding to the "cmake" of de LLVM 3.4.2, then an error of triplet unknown is thrown an it said about use a more recent version of the config.guess and config.sub (the message even told about where you can wget them). Once updated, LLVM could be build.</p>
<p dir="auto">Well, as I told you, it is not a big issue for me (as I am not sure if were going to use Jancy in those plataforms), but perhaps this info is useful to you, or could be indicative of other problems.</p>
<p dir="auto">Also, I confirm that I am able to build Jancy on a Intel PC without problem (0 tests failed)</p>
<p dir="auto">Regards!<br />
Josep</p>
]]></description><link>http://64.23.185.212/forum/topic/193/jancy-building-in-aarm64</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 17:17:39 GMT</lastBuildDate><atom:link href="http://64.23.185.212/forum/topic/193.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 27 Sep 2023 10:01:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Jancy building in aarm64 on Thu, 05 Oct 2023 20:46:37 GMT]]></title><description><![CDATA[<p dir="auto"><img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--clap" title=":clap:" alt="👏" /><img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--clap" title=":clap:" alt="👏" /><img src="http://64.23.185.212/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44f.png?v=miq4h6da9ug" class="not-responsive emoji emoji-android emoji--clap" title=":clap:" alt="👏" /></p>
<p dir="auto">I confirm that the Easy Way works perfectly. Thank you and regards!<br />
Josep</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1696538698217-f7440544-3e60-4559-a973-8452b9e8d22b-image.png" alt="f7440544-3e60-4559-a973-8452b9e8d22b-image.png" class=" img-responsive img-markdown" width="1056" height="282" /></p>
]]></description><link>http://64.23.185.212/forum/post/484</link><guid isPermaLink="true">http://64.23.185.212/forum/post/484</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Thu, 05 Oct 2023 20:46:37 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Wed, 04 Oct 2023 09:16:06 GMT]]></title><description><![CDATA[<p dir="auto">The "easy way" should work now, too. The latest Jancy commit makes use of <code>llvm-config</code> to build the list of required LLVM libs (and will pick up the LLVM shared object installed by <code>pacman -S llvm</code>)</p>
]]></description><link>http://64.23.185.212/forum/post/481</link><guid isPermaLink="true">http://64.23.185.212/forum/post/481</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Wed, 04 Oct 2023 09:16:06 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Tue, 03 Oct 2023 10:20:03 GMT]]></title><description><![CDATA[<p dir="auto">Hmm, you are right.. Looks like they stopped packaging static LLVM libs into the recent LLVM development packages on Arch. At the same time, <code>llvm_map_components_to_libnames</code> still returns a list of static libs (rather than a single shared object). It looks like the new "proper" way of getting a list of LLVM libraries to link to is not to use the official LLVM CMake macros -- but to call the <code>llvm-config</code> tool instead. Kinda weird calling an external executable from a CMake script when there is a dedicated official CMake macro for this exact purpose, but oh well..</p>
<p dir="auto">I'll need to update the Jancy CMake files to address that. In the meantime -- follow the way of the Samurai. BTW, it's okay not to add <code>-fvisibility=hidden</code> to <code>CMAKE_C_FLAGS/CMAKE_CXX_FLAGS</code> -- this is taken care of by the versioning script for <code>libjancy.so</code> now.</p>
<p dir="auto">So, the modifications required to build the minimal LLVM for arm64:</p>
<pre><code>CMAKE_BUILD_TYPE=Release
CMAKE_INSTALL_PREFIX=(where to install, e.g. /home/you/Develop/llvm/llvm-x.x.x)
LLVM_BUILD_RUNTIME=ON
LLVM_BUILD_(everything else)=OFF
LLVM_INCLUDE_(everything)=OFF
LLVM_TARGETS_TO_BUILD=AArch64 
</code></pre>
]]></description><link>http://64.23.185.212/forum/post/479</link><guid isPermaLink="true">http://64.23.185.212/forum/post/479</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Tue, 03 Oct 2023 10:20:03 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Tue, 03 Oct 2023 05:56:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello!<br />
In fact, I had already tried the "Easy way", and there is no easy way (at least, not so easy). It seems that there is something missing, because after installing the llvm package, when building jancy it seems to go well... but eventually fails<br />
<img src="/forum/assets/uploads/files/1696312075868-3c0955c9-f1af-47c5-a2f3-9aa45b83e868-image.png" alt="3c0955c9-f1af-47c5-a2f3-9aa45b83e868-image.png" class=" img-responsive img-markdown" width="1510" height="400" /></p>
<p dir="auto">(I do not know, but perhaps the available package for Arm have differences respect the "regular" x86-64 one)</p>
<p dir="auto">Anyway, I will take the Way of the Samurai, and let you know what happens.<br />
Thank you, and regards!</p>
]]></description><link>http://64.23.185.212/forum/post/478</link><guid isPermaLink="true">http://64.23.185.212/forum/post/478</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Tue, 03 Oct 2023 05:56:41 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Tue, 03 Oct 2023 02:10:26 GMT]]></title><description><![CDATA[<p dir="auto">Yeah, many versions of LLVM just don't build out-of-the-box with the default settings. Here's what you can do:</p>
<ol>
<li>Easy way</li>
</ol>
<p dir="auto">Simply install the LLVM coming with your distro. If you are on Arch, then <code>pacman -S llvm</code> should do (<code>llvm-libs</code> install runtime shared objects only, without the development files).</p>
<ol start="2">
<li>Way of the Samurai</li>
</ol>
<p dir="auto">Build LLVM from sources. A bit trickier, but allows you to choose the exact version of LLVM for your projects. Here's the suggested sequence of steps:</p>
<pre><code>cd ./llvm-x.x.x-src
mkdir build
cd build
cmake ..
ccmake .
</code></pre>
<p dir="auto">Then navigate through the settings using UI (<code>ccmake</code> or <code>cmake-gui</code>) and fine-tune the following:</p>
<pre><code>CMAKE_BUILD_TYPE=Release
CMAKE_INSTALL_PREFIX=(where to install, e.g. /home/you/Develop/llvm/llvm-x.x.x)
CMAKE_C_FLAGS=-fvisibility=hidden
CMAKE_CXX_FLAGS=-fvisibility=hidden
LLVM_BUILD_RUNTIME=ON
LLVM_BUILD_(everything else)=OFF
LLVM_INCLUDE_(everything)=OFF
LLVM_TARGETS_TO_BUILD=AArch64 
</code></pre>
<p dir="auto">To access <code>CMAKE_C_FLAGS/CMAKE_CXX_FLAGS</code>, switch to the "Advanced" mode (<code>t</code> in <code>ccmake</code>)</p>
<p dir="auto">Then "Configure" and "Generate" from the UI (<code>c</code> then <code>g</code> in <code>ccmake</code>)</p>
<p dir="auto">Finally, build and install:</p>
<pre><code>make -j4 install
</code></pre>
]]></description><link>http://64.23.185.212/forum/post/475</link><guid isPermaLink="true">http://64.23.185.212/forum/post/475</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Tue, 03 Oct 2023 02:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Sat, 30 Sep 2023 08:49:04 GMT]]></title><description><![CDATA[<p dir="auto">Hello!<br />
I tried to build LLVM 11.0.1, but it eventually fails<br />
<img src="/forum/assets/uploads/files/1696063327144-d148de5b-75f8-4dfd-919a-87610f698d56-image.png" alt="d148de5b-75f8-4dfd-919a-87610f698d56-image.png" class=" img-responsive img-markdown" width="934" height="258" /></p>
<p dir="auto">I followed the same indications that are in the Jancy building guide:<br />
<img src="/forum/assets/uploads/files/1696063463135-2b99df21-9113-4868-8aa7-6b6459d14f53-image.png" alt="2b99df21-9113-4868-8aa7-6b6459d14f53-image.png" class=" img-responsive img-markdown" width="983" height="51" /><br />
and then just "make" it.<br />
Do I have to do some different? Take into account that I have nearly zero knowledge about cmake and building process (and less than zero about LLMV), so perhaps I am missing some basic thing.<br />
Regards</p>
]]></description><link>http://64.23.185.212/forum/post/474</link><guid isPermaLink="true">http://64.23.185.212/forum/post/474</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Sat, 30 Sep 2023 08:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Thu, 28 Sep 2023 11:43:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello! Quite sure that this solves the issue. I try and confirm you that. Thank you! and -about the Ethernet tap- they are great news!!</p>
]]></description><link>http://64.23.185.212/forum/post/472</link><guid isPermaLink="true">http://64.23.185.212/forum/post/472</guid><dc:creator><![CDATA[Jose Marro]]></dc:creator><pubDate>Thu, 28 Sep 2023 11:43:31 GMT</pubDate></item><item><title><![CDATA[Reply to Jancy building in aarm64 on Thu, 28 Sep 2023 09:56:59 GMT]]></title><description><![CDATA[<p dir="auto">Hello Josep,</p>
<p dir="auto">Thank you for the issue report!</p>
<p dir="auto">Jancy is fully functional on arm64; the SEGFAULTs you see are caused by incomplete support of the arm64 ABI in <code>llvm-3.4.2</code>.</p>
<p dir="auto">I've just checked our build boxes -- we build the official packages for Linux-arm64 using <code>llvm-11.0.1</code>; packages for macOS-arm64 are built using <code>llvm-15.0.7</code>.</p>
<p dir="auto">I remember trying to bisect and find the LLVM release where the arm64 ABI compatibility issues were fixed, and I think it was <code>llvm-9</code> (but that's not 100%). You can go for <code>llvm-11</code> or higher just to be sure, it works fine on arm64.</p>
<p dir="auto">Also, I have some good news regarding your previous report (Ethernet Tap + <code>ioninja-hwc</code>). I'll post a reply in the original thread.</p>
]]></description><link>http://64.23.185.212/forum/post/469</link><guid isPermaLink="true">http://64.23.185.212/forum/post/469</guid><dc:creator><![CDATA[Vladimir]]></dc:creator><pubDate>Thu, 28 Sep 2023 09:56:59 GMT</pubDate></item></channel></rss>