Boinc on ArchLinuxARM 64bit - solution

Message boards : Android : Boinc on ArchLinuxARM 64bit - solution
Message board moderation

To post messages, you must log in.

AuthorMessage
sirzooro

Send message
Joined: 17 Feb 13
Posts: 13
Poland
Message 75341 - Posted: 17 Jan 2017, 20:38:46 UTC
Last modified: 17 Jan 2017, 20:43:12 UTC

I tried to add answer to https://boinc.berkeley.edu/dev/forum_thread.php?id=10895, but that thread is locked, so I am creating a new one.

I have found on Odroid forum that it is possible to add repository for another architecture. Following commands will install 32-bit libs needed to run most BOINC apps:

sudo dpkg --add-architecture armhf
sudo apt-get update
sudo apt-get install libc6:armhf libstdc++6:armhf

Additionally you have to add alternate platform identifier to your cc_config.xml file:

<cc_config>
    <options>
        <alt_platform>arm-unknown-linux-gnueabihf</alt_platform>
    </options>
</cc_config>

After doing this, BOINC will be able to download and run 32-bit ARM apps on 64-bit ARM devices. Happy crunching :)
ID: 75341 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 75409 - Posted: 20 Jan 2017, 14:32:40 UTC

This solution may not apply to all ARM systems. The linked thread specifically mentions the Raspberry3 which has a 32bit kernel and OS and can't execute 64bit executables. The Odroids on the other hand have a 64bit kernel and operating system and there you need the multilib support in order to execute 32bit executables.
ID: 75409 · Report as offensive

Message boards : Android : Boinc on ArchLinuxARM 64bit - solution

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.