Posts

Showing posts from September, 2017

Happy Holiday 10.01~10.08

Image

How to generate crash backtrace just from your serial crash log, without coredump file.

If your crash log have dump maps, user stacks, and you have symbols too, You can try to get a backtrace via below python scripts. [2-11624.8825] PC, LR MEMINFO [2-11624.8825] -------------------------------------------------------------------------------------- [2-11624.8825] PC:46cbfc92, LR:46cbfc59 [2-11624.8825] -------------------------------------------------------------------------------------- [2-11624.8825] PC meminfo (0x46cc005d to 0x46cc0092) [2-11624.8825] 0040:                                                                                [2-11624.8825] 0060: be07e9cd 801cf8d0 f04fb08...

Fix up : Configurable attribute "copts" doesn't match this configuration

ERROR: /home/lenger/.cache/bazel/_bazel_lenger/e744db622218e02ee1e2cbf3b8750f17/external/nsync/BUILD:402:13: Configurable attribute "copts" doesn't match this configuration ( would a default condition help? ). Conditions checked:  @nsync//:android_arm  @nsync//:android_arm64  @nsync//:android_armeabi  @nsync//:android_x86_32  @nsync//:android_x86_64  @nsync//:clang_macos_x86_64  @nsync//:gcc_linux_aarch64  @nsync//:gcc_linux_ppc64  @nsync//:gcc_linux_x86_64_1  @nsync//:gcc_linux_x86_64_2  @nsync//:ios_x86_64  @nsync//:msvc_windows_x86_64. Solution: vim /home/lenger/.cache/bazel/_bazel_lenger/e744db622218e02ee1e2cbf3b8750f17/external/nsync/BUILD Add a default conditions there as marked as red line below: NSYNC_OPTS_GENERIC = select({     # Select the CPU architecture include directory.     # This select() has no real effect in the C++11 build, but satisfies a     # #include th...

Cross compile tensorflow for armv7l targets via bazel

Image
Refer: https://github.com/bazelbuild/bazel/wiki/Building-with-a-custom-toolchain https://www.tensorflow.org/tutorials/image_recognition

happy weekend

Image
Image
何必为衣裳忧虑呢?你想野地里的百合花怎么长起来;它也不劳苦,也不纺线。  (马太福音 6:28 和合本) “And why do you worry about clothes? See how the flowers of the field grow. They do not labor or spin. (Matthew 6:28 NIV) 然而我告诉你们,就是所罗门极荣华的时候,他所穿戴的,还不如这花一朵呢!  (马太福音 6:29 和合本) Yet I tell you that not even Solomon in all his splendor was dressed like one of these. (Matthew 6:29 NIV)