commercetest / cross-compiling-gnunet

A work-in-progress repository of the scripts, discoveries, tips and traps we're discovering during the process of cross-compiling GNUnet for Android.
MIT License
0 stars 0 forks source link

Shared objects incorrect architecture for ARMv7 (32-bit) #2

Open julianharty opened 4 months ago

julianharty commented 4 months ago

Context

As per #1 we're focusing on building for 64-bit, I noticed when building for armv7 (32-bit) the shared object libraries are for ARMv8 instead. I've not investigated much at this stage since 32-bit isn't our focus.

Evidence:

echo $TARGET
armv7a-linux-androideabi

Build the various dependencies, then check the shared object libraries e.g. for libtool:

file ./libltdl/.libs/libltdl.so
./libltdl/.libs/libltdl.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, with debug_info, not stripped

This is worth investigating once we make more progress with building for 64-bit.