We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
undefined reference to `__atomic_load_8'
Compile tensorflow lite without errors
cd /home/pi/tensorflow ./tensorflow/lite/tools/make/build_rpi_armv6_lib.sh
Stuck here-Googling tells me it has to do with a cmake .txt file. I sh I uld be pasting set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic") in CMakelists.txt. /tensorflow pi@raspberrypi:~/tensorflow $ sudo bash ./tensorflow/lite/tools/make/build_rpi_armv6_lib.sh arm-linux-gnueabihf-g++ -O3 -DNDEBUG -fPIC --std=c++11 -march=armv6 -mfpu=vfp -funsafe-math-optimizations -ftree-vectorize -fPIC -I. -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/eigen -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/absl -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/gemmlowp -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/neon_2_sse -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/farmhash/src -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/include -I -I/usr/local/include -o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/minimal /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/examples/minimal/minimal.o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a -Wl,--no-export-dynamic -Wl,--exclude-libs,ALL -Wl,--gc-sections -Wl,--as-needed -lstdc++ -lpthread -lm -ldl arm-linux-gnueabihf-g++ -O3 -DNDEBUG -fPIC --std=c++11 -march=armv6 -mfpu=vfp -funsafe-math-optimizations -ftree-vectorize -fPIC -I. -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/eigen -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/absl -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/gemmlowp -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/neon_2_sse -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/farmhash/src -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/include -I -I/usr/local/include -o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/label_image /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/examples/label_image/label_image.o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/examples/label_image/bitmap_helpers.o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/tools/evaluation/utils.o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a -Wl,--no-export-dynamic -Wl,--exclude-libs,ALL -Wl,--gc-sections -Wl,--as-needed -lstdc++ -lpthread -lm -ldl /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()': eigen_support.cc:(.text+0x620)':: undefinedeigen_support.cc :reference( .totext +0x620__atomic_load_8)': /undefinedusr /referencebin /told : __atomic_load_8eigen_support.cc': (/.usrtext/+bin0x6d8/)ld:: undefinedeigen_support.cc :reference( .totext +0x6d8__atomic_compare_exchange_8)': /undefinedusr /bin/ldreference: toeigen_support.cc :(__atomic_compare_exchange_8.'text +/0x74cusr)/:bin /undefinedld :reference eigen_support.ccto: (.__atomic_load_8text'+ 0x74c/)usr:/ binundefined/ ldreference: toeigen_support.cc :(__atomic_load_8.'text /usr/+bin0x800/)ld:: undefinedeigen_support.cc :reference( .totext +0x800__atomic_load_8)': undefined/ usrreference/ binto/ld : __atomic_load_8/'home //piusr//tensorflowbin//tensorflowld/:lite //toolshome/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()': eigen_support.cc:(.text+0xcc8): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0xd80): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0xdf4): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0xea0): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function tflite::eigen_support::GetThreadPoolDevice(TfLiteContext*)': eigen_support.cc:(.text+0x1b70): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c10): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c7c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1d24): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::Cancel()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x38): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0xd8): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x14c): undefined reference to __atomic_load_8' /usr/bin/ld/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()': eigen_support.cc:(.text+0xcc8): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0xd80): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0xdf4): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0xea0): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function tflite::eigen_support::GetThreadPoolDevice(TfLiteContext*)': eigen_support.cc:(.text+0x1b70): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c10): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c7c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1d24): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::Cancel()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x38): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0xd8): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x14c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x1d0): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x44c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x4c0): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x5d4): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x42c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x498): undefined reference to __atomic_load_8' : eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x1d0): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x44c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x4c0): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x5d4): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:/(usr./bintext._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev/ld[:_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev ]eigen_support.cc+:0x42c().:text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev undefined reference to[ _ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev__atomic_compare_exchange_8]'+ 0x538/)usr:/ binundefined/ ldreference: toeigen_support.cc :__atomic_load_8('. text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev/[usr_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev/]bin+/0x498ld):: /undefinedhome /referencepi /totensorflow /tensorflow__atomic_load_8/'lite //toolsusr//makebin//genld/:rpi_armv6 /eigen_support.cclib:/(libtensorflow.-text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Evlite.a([eigen_support.o_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev)]:+ 0x538in) : undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::ScheduleWithHint(std::function<void ()>, int, int)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x56c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x63c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6a4): undefined reference to __atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6ec): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x84c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x8b0): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::WaitForWork(EigenForTFLite::EventCount::Waiter*, EigenForTFLite::StlThreadEnvironment::Task*)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x64): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x1b0): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x204): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c4): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x31c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x540): undefined reference to __atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x628): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x680): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x7e8): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x878): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x8ec): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0xa08): undefined reference to __atomic_load_8' function EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::ScheduleWithHint(std::function<void ()>, int, int)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x56c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x63c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6a4): undefined reference to __atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6ec): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x84c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x8b0): undefined reference to __atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::WaitForWork(EigenForTFLite::EventCount::Waiter*, EigenForTFLite::StlThreadEnvironment::Task*)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x64): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x1b0): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x204): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c4): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x31c): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x540): undefined reference to __atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x628): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x680): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x7e8): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x878): undefined reference to __atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x8ec): undefined reference to __atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0xa08): undefined reference to __atomic_load_8' collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status make: *** [tensorflow/lite/tools/make/Makefile:287: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/minimal] Error 1 make: *** Waiting for unfinished jobs.... make: *** [tensorflow/lite/tools/make/Makefile:309: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/label_image] Error 1
tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
0x620__atomic_load_8)': /undefinedusr /referencebin /told :
0x6d8__atomic_compare_exchange_8)': /undefinedusr /bin/ldreference: toeigen_support.cc :
.__atomic_load_8text'+ 0x74c/)usr:/ binundefined/ ldreference: toeigen_support.cc :
0x800__atomic_load_8)': undefined/ usrreference/ binto/ld :
tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()': eigen_support.cc:(.text+0xcc8): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0xdf4): undefined reference to
__atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c10): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1d24): undefined reference to
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::Cancel()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x38): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x14c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x44c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x5d4): undefined reference to
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x498): undefined reference to
__atomic_compare_exchange_8]'+ 0x538/)usr:/ binundefined/ ldreference: toeigen_support.cc :
tensorflow__atomic_load_8/'lite //toolsusr//makebin//genld/:rpi_armv6 /eigen_support.cclib:/(libtensorflow.-text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Evlite.a([eigen_support.o_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev)]:+ 0x538in) : undefined reference to
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::ScheduleWithHint(std::function<void ()>, int, int)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x56c): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6a4): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x84c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x64): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x204): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x31c): undefined reference to
__atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x628): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x7e8): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x8ec): undefined reference to
__atomic_load_8' function
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x63c): undefined reference to
__atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6ec): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x8b0): undefined reference to
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::WaitForWork(EigenForTFLite::EventCount::Waiter*, EigenForTFLite::StlThreadEnvironment::Task*)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x1b0): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c4): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x540): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x680): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x878): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0xa08): undefined reference to
<x.y.z>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Briefly summarize your issue:
undefined reference to `__atomic_load_8'
What is the expected behavior?
Compile tensorflow lite without errors
What behavior are you observing?
undefined reference to `__atomic_load_8'
Provide the steps to reproduce the issue, if applicable:
cd /home/pi/tensorflow
./tensorflow/lite/tools/make/build_rpi_armv6_lib.sh
Tell us about your environment:
Stuck here-Googling tells me it has to do with a cmake .txt file. I sh I uld be pasting set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -latomic") in CMakelists.txt.
/tensorflow
pi@raspberrypi:~/tensorflow $ sudo bash ./tensorflow/lite/tools/make/build_rpi_armv6_lib.sh
arm-linux-gnueabihf-g++ -O3 -DNDEBUG -fPIC --std=c++11 -march=armv6 -mfpu=vfp -funsafe-math-optimizations -ftree-vectorize -fPIC -I. -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/eigen -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/absl -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/gemmlowp -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/neon_2_sse -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/farmhash/src -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/include -I -I/usr/local/include
-o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/minimal /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/examples/minimal/minimal.o
/home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a -Wl,--no-export-dynamic -Wl,--exclude-libs,ALL -Wl,--gc-sections -Wl,--as-needed -lstdc++ -lpthread -lm -ldl
arm-linux-gnueabihf-g++ -O3 -DNDEBUG -fPIC --std=c++11 -march=armv6 -mfpu=vfp -funsafe-math-optimizations -ftree-vectorize -fPIC -I. -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/../../../../../../ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/ -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/eigen -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/absl -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/gemmlowp -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/neon_2_sse -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/farmhash/src -I/home/pi/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/include -I -I/usr/local/include
-o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/label_image /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/examples/label_image/label_image.o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/examples/label_image/bitmap_helpers.o /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/obj/tensorflow/lite/tools/evaluation/utils.o
/home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a -Wl,--no-export-dynamic -Wl,--exclude-libs,ALL -Wl,--gc-sections -Wl,--as-needed -lstdc++ -lpthread -lm -ldl
/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()':eigen_support.cc:(.text+0x620)'::
undefinedeigen_support.cc :reference( .totext +
0x620__atomic_load_8)': /undefinedusr /referencebin /told :
__atomic_load_8eigen_support.cc':(/.usrtext/+bin0x6d8/)ld:: undefinedeigen_support.cc :reference( .totext +
0x6d8__atomic_compare_exchange_8)': /undefinedusr /bin/ldreference: toeigen_support.cc :
(__atomic_compare_exchange_8.'text+/0x74cusr)/:bin /undefinedld :reference eigen_support.ccto: (
.__atomic_load_8text'+ 0x74c/)usr:/ binundefined/ ldreference: toeigen_support.cc :
(__atomic_load_8.'text/usr/+bin0x800/)ld:: undefinedeigen_support.cc :reference( .totext +
0x800__atomic_load_8)': undefined/ usrreference/ binto/ld :
__atomic_load_8/'home//piusr//tensorflowbin//tensorflowld/:lite //toolshome/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()': eigen_support.cc:(.text+0xcc8): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text+0xd80): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0xdf4): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text+0xea0): undefined reference to
__atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
tflite::eigen_support::GetThreadPoolDevice(TfLiteContext*)':eigen_support.cc:(.text+0x1b70): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c10): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text+0x1c7c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1d24): undefined reference to
__atomic_load_8'/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::Cancel()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x38): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0xd8): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x14c): undefined reference to
__atomic_load_8'/usr/bin/ld/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
tflite::eigen_support::(anonymous namespace)::EigenThreadPoolWrapper::~EigenThreadPoolWrapper()': eigen_support.cc:(.text+0xcc8): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text+0xd80): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text+0xdf4): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text+0xea0): undefined reference to
__atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
tflite::eigen_support::GetThreadPoolDevice(TfLiteContext*)':eigen_support.cc:(.text+0x1b70): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1c10): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text+0x1c7c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text+0x1d24): undefined reference to
__atomic_load_8'/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::Cancel()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x38): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0xd8): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x14c): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x1d0): undefined reference to
__atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::~ThreadPoolTempl()':eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x44c): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x4c0): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x5d4): undefined reference to
__atomic_load_8'/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x42c): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x498): undefined reference to
__atomic_load_8': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE6CancelEv]+0x1d0): undefined reference to
__atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::~ThreadPoolTempl()':eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x44c): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x4c0): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED0Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x5d4): undefined reference to
__atomic_load_8'/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::~ThreadPoolTempl()': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev]+0x394): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:/(usr./bintext._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev/ld[:_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev ]eigen_support.cc+:0x42c().:text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev undefined reference to[ _ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev
__atomic_compare_exchange_8]'+ 0x538/)usr:/ binundefined/ ldreference: toeigen_support.cc :
__atomic_load_8('.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Ev/[usr_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev/]bin+/0x498ld):: /undefinedhome /referencepi /totensorflow /
tensorflow__atomic_load_8/'lite //toolsusr//makebin//genld/:rpi_armv6 /eigen_support.cclib:/(libtensorflow.-text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED2Evlite.a([eigen_support.o_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEED5Ev)]:+ 0x538in) : undefined reference to
__atomic_load_8'/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::ScheduleWithHint(std::function<void ()>, int, int)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x56c): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x63c): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6a4): undefined reference to
__atomic_store_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6ec): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x84c): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x8b0): undefined reference to
__atomic_load_8' /usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::WaitForWork(EigenForTFLite::EventCount::Waiter*, EigenForTFLite::StlThreadEnvironment::Task*)':eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x64): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x1b0): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x204): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c4): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x31c): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x540): undefined reference to
__atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x628): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x680): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x7e8): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x878): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x8ec): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0xa08): undefined reference to
__atomic_load_8' function
EigenForTFLite::ThreadPoolTemplEigenForTFLite::StlThreadEnvironment::ScheduleWithHint(std::function<void ()>, int, int)':eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x56c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x63c): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6a4): undefined reference to
__atomic_store_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x6ec): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x84c): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE16ScheduleWithHintESt8functionIFvvEEii]+0x8b0): undefined reference to
__atomic_load_8'/usr/bin/ld: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/lib/libtensorflow-lite.a(eigen_support.o): in function
EigenForTFLite::ThreadPoolTempl<EigenForTFLite::StlThreadEnvironment>::WaitForWork(EigenForTFLite::EventCount::Waiter*, EigenForTFLite::StlThreadEnvironment::Task*)': eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x64): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x1b0): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x204): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x2c4): undefined reference to
__atomic_load_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x31c): undefined reference to
__atomic_compare_exchange_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x540): undefined reference to
__atomic_store_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x628): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x680): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x7e8): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x878): undefined reference to
__atomic_compare_exchange_8'/usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0x8ec): undefined reference to
__atomic_load_8' /usr/bin/ld: eigen_support.cc:(.text._ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE[_ZN14EigenForTFLite15ThreadPoolTemplINS_20StlThreadEnvironmentEE11WaitForWorkEPNS_10EventCount6WaiterEPNS1_4TaskE]+0xa08): undefined reference to
__atomic_load_8'collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make: *** [tensorflow/lite/tools/make/Makefile:287: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/minimal] Error 1
make: *** Waiting for unfinished jobs....
make: *** [tensorflow/lite/tools/make/Makefile:309: /home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv6/bin/label_image] Error 1
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):
Raspbian Buster
The text was updated successfully, but these errors were encountered: