Building arm on aarch64

Alexander Larsson alexl at redhat.com
Wed Mar 29 19:14:49 UTC 2017


On Wed, 2017-03-29 at 20:12 +0200, Aleix Pol wrote:
> Hi,
> As you can see, my endeavour isn't over just yet.
> 
> Gnome kindly gave me access to an aarch64 system (much appreciated!)
> where I've been trying to get the build sorted.
> 
> I'm using flatpak-build-tools to get things working on that system.
> aarch64 seems to work just fine, arm builds don't seem to prosper
> that
> well.
> 
> This is the build.conf I'm using nowadays:
> https://paste.kde.org/piy2zsqpp/9kkvy0/raw
> 
> flatpak-builder is being called like this:
> flatpak-builder --arch=arm --force-clean --require-changes --ccache
> --repo=/srv/gnome_aarch64/flatpak-build-scripts/work/export/repo
> --subject="build of org.kde.Sdk, `date`"  sdk org.kde.Sdk.json
> 
> That's the error I'm getting:
> HEAD is now at a55f362... Fix the JPEG EXIF reader to deal with some
> broken/corrupt files
> execvp ./configure: Exec format error
> Error: module qt5-qtbase: Child process exited with code 1
> make: *** [all] Error 1

This looks like its trying to run an unsupported elf format bash (or
whatever shell the configure file references). That is weird though, I
thought aarch64 machines always could run arm executables?

Does running an arm binary work outside of flatpak?

Also, is this the first module in the json, or did anything work before
it failed?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a bookish misogynist messiah living undercover at Ringling Bros. 
Circus. She's a cosmopolitan psychic cab driver in the wrong place at the 
wrong time. They fight crime! 



More information about the xdg-app mailing list