New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 Linux build? #199

Closed
directhex opened this Issue Feb 20, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@directhex

directhex commented Feb 20, 2018

ARM64 has been mainstream for a while now.

builder@xam-softiron-1:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/5/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-arm64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-arm64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-arm64 --with-arch-directory=aarch64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.5) 
builder@xam-softiron-1:~$ uname -a
Linux xam-softiron-1 4.14.0-16-generic #19-Ubuntu SMP Mon Jan 8 18:00:01 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

ericsink added a commit that referenced this issue Feb 23, 2018

@ericsink

This comment has been minimized.

Owner

ericsink commented Feb 24, 2018

SQLitePCL.raw pre-release version 1.1.10-pre20180223200113 has been pushed to nuget. Let me know if the linux-arm64 build seems to work okay?

@directhex

This comment has been minimized.

directhex commented Mar 12, 2018

I can't easily test this in a real HW environment right now, but it seems sane in a quick test environment.

root@flame:/# ldd /tmp/libe_sqlite3.so 
	libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000004000915000)
	/lib/ld-linux-aarch64.so.1 (0x0000004000000000)
root@flame:/# strings /tmp/libe_sqlite3.so | grep ^GLIBC_
GLIBC_2.17
root@flame:/# nm /tmp/libe_sqlite3.so | wc -l
2304

Decent compatibility profile, about the right number of symbols, minimal dependencies. Seems sane.

@ericsink

This comment has been minimized.

Owner

ericsink commented Mar 28, 2018

Version 1.1.10 is now on nuget.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment