Skip to content
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
Closed

ARM64 Linux build? #199

directhex opened this issue Feb 20, 2018 · 3 comments

Comments

@directhex
Copy link

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants