-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi, I'm trying to build r2inference for my 64bit ARMV8 board with tflite. We have tensorflow-lite 2.0.0 already installed. So, I used autogen script with --enable-tflite option. After this when i gave make, I got the following error -
Error:
mv -f .deps/libr2inference_0.0_la-imageformat.Tpo .deps/libr2inference_0.0_la-imageformat.Plo
/bin/sh ../libtool --tag=CXX --mode=link g++ -Werror -Wall -O0 -ggdb3 -g -O2 -o libr2inference-0.0.la -rpath /usr/local/lib libr2inference_0.0_la-iframeworkfactory.lo libr2inference_0.0_la-runtimeerror.lo libr2inference_0.0_la-imageformat.lo ../r2i/tflite/libtflite.la
libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../crti.o /usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../aarch64-poky-linux/7.3.1/crtbeginS.o .libs/libr2inference_0.0_la-iframeworkfactory.o .libs/libr2inference_0.0_la-runtimeerror.o .libs/libr2inference_0.0_la-imageformat.o -Wl,--whole-archive ../r2i/tflite/.libs/libtflite.a -Wl,--no-whole-archive -ltensorflow-lite -ldl -lrt -L/usr/lib64/gcc/aarch64-poky-linux/7.3.1 -L/usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../aarch64-poky-linux/7.3.1 -L/usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../.. -L/lib64 -L/usr/lib64/aarch64-poky-linux/7.3.1 -L/usr/lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../aarch64-poky-linux/7.3.1/crtendS.o /usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../crtn.o -O0 -ggdb3 -g -O2 -pthread -Wl,-soname -Wl,libr2inference-0.0.so.0 -o .libs/libr2inference-0.0.so.0.0.0
/usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../../aarch64-poky-linux/bin/ld: /usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../libtensorflow-lite.a(activations.o)(.text._ZN5Eigen8internal19throw_std_bad_allocEv[_ZN5Eigen8internal19throw_std_bad_allocEv]+0x10): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `_ZTVSt9bad_alloc@@GLIBCXX_3.4'
/usr/lib64/gcc/aarch64-poky-linux/7.3.1/../../../../aarch64-poky-linux/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:582: libr2inference-0.0.la] Error 1
make[3]: Leaving directory '/home/root/r2inference/r2i'
make[2]: *** [Makefile:670: all-recursive] Error 1
make[2]: Leaving directory '/home/root/r2inference/r2i'
make[1]: *** [Makefile:543: all-recursive] Error 1
make[1]: Leaving directory '/home/root/r2inference'
Not sure what the issue is here. Kindly help. Thank you.
Metadata
Metadata
Assignees
Labels
No labels