Git Product home page Git Product logo

Comments (11)

DanAlbert avatar DanAlbert commented on July 2, 2024

Works fine with build 2490520, so this is a pretty recent regression (I assume that by "clang3.8/android-ndk-20160105 snapshot on Debian Jessie" you mean you built it yourself? Or does Debian provide nightlies?)

Checking with a ToT build right now.

from ndk.

DanAlbert avatar DanAlbert commented on July 2, 2024

Those symbols, and a few others, ended up getting accidentally removed from the NDK's definition of libc while we were purging other private symbols and whatnot. @dimitry- is working on a fix.

from ndk.

BlueMax avatar BlueMax commented on July 2, 2024

Nice, thx.
Yes, i built it myself. I'm not sure where to find the NDK build number but the last commit of 'NDK' folder is:

commit 6488e1c4dca9fe7529de66e04af290eb7f27bed0
Merge: 9c0014c 299d47d
Author: Dan Albert <[email protected]>
Date:   Mon Jan 4 22:30:04 2016 +0000

    Merge "Update the changelog for build 2510877."

from ndk.

DanAlbert avatar DanAlbert commented on July 2, 2024

Yeah, unfortunately our build servers aren't publicly visible (yet, I'm working on making that happen).

from ndk.

dimitry- avatar dimitry- commented on July 2, 2024

Fixed by:
https://android-review.googlesource.com/194652
https://android-review.googlesource.com/194625

from ndk.

BlueMax avatar BlueMax commented on July 2, 2024

Here's another one:
__gnu_Unwind_Find_exidx
Unresolved in $TOOLCHAIN/arm-linux-androideabi/lib/armv7-a/thumb/libc++_shared.so:

Is make-standalone-toolchain.sh --stl=gnustl not yet ready? --stl=libc++ works properly.
ERROR: Cant' copy from non-directory: /home/bob/Android/android-ndk-20160106/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/thumb

cmdline:
$ANDROID_NDK_ROOT/build/tools/make-standalone-toolchain.sh --verbose --platform=android-21 --install-dir=$TOOLCHAIN --arch=arm --toolchain=arm-linux-androideabi-4.9 --use-llvm --stl=gnustl

from ndk.

dimitry- avatar dimitry- commented on July 2, 2024

will move it to LIBC there are couple of others I missed (__popcount_tab?)

from ndk.

BlueMax avatar BlueMax commented on July 2, 2024

Not sure about any more libc symbols but the libc++_shared.so seems completely unusable:

0 bob ~ $ echo "int main() { return 0; }" | $TRIPLE-clang++ -xc++ - -lc++_shared
/home/bob/Android/mytoolchain/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/lib/../lib/libc++_shared.so: error: undefined reference to '__gnu_Unwind_Find_exidx'
clang38++: error: linker command failed with exit code 1 (use -v to see invocation)
1 bob ~ $

from ndk.

dimitry- avatar dimitry- commented on July 2, 2024

CLs:
https://android-review.googlesource.com/195350 and
https://android-review.googlesource.com/195322

from ndk.

BlueMax avatar BlueMax commented on July 2, 2024

I think __page_size is another one used by https://github.com/seth-hg/fuse-android.

from ndk.

dimitry- avatar dimitry- commented on July 2, 2024

__page_size was only used for android-12 and below.. I have fixed getpagesize for these versions to use PAGE_SIZE instead

from ndk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.