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

Cmake fails on Ubuntu 20 #460

Open
neocoretechs opened this issue May 8, 2024 · 0 comments
Open

Cmake fails on Ubuntu 20 #460

neocoretechs opened this issue May 8, 2024 · 0 comments

Comments

@neocoretechs
Copy link

uname -a:
Linux braincoral 5.4.0-177-generic #197-Ubuntu SMP Thu Mar 28 22:45:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Cmake begins failing when producing C API when following build instructions here:
https://www.tensorflow.org/lite/guide/build_cmake
Also fails in same manner following steps 1-5. Thanks.

[ 80%] Building CXX object tensorflow-lite/CMakeFiles/tensorflow-lite.dir/kernels/rng_bit_generator.cc.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[ 80%] Building CXX object tensorflow-lite/CMakeFiles/tensorflow-lite.dir/kernels/round.cc.o
make[2]: *** [tensorflow-lite/CMakeFiles/tensorflow-lite.dir/build.make:63: tensorflow-lite/CMakeFiles/tensorflow-lite.dir/core/acceleration/configuration/delegate_registry.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[ 80%] Building CXX object tensorflow-lite/CMakeFiles/tensorflow-lite.dir/kernels/rng_util.cc.o
make[2]: *** [tensorflow-lite/CMakeFiles/tensorflow-lite.dir/build.make:76: tensorflow-lite/CMakeFiles/tensorflow-lite.dir/core/acceleration/configuration/nnapi_plugin.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [tensorflow-lite/CMakeFiles/tensorflow-lite.dir/build.make:128: tensorflow-lite/CMakeFiles/tensorflow-lite.dir/core/api/op_resolver.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [tensorflow-lite/CMakeFiles/tensorflow-lite.dir/build.make:115: tensorflow-lite/CMakeFiles/tensorflow-lite.dir/core/api/flatbuffer_conversions.cc.o] Error 1
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [tensorflow-lite/CMakeFiles/tensorflow-lite.dir/build.make:154: tensorflow-lite/CMakeFiles/tensorflow-lite.dir/core/c/c_api.cc.o] Error 1
[ 80%] Building CXX object tensorflow-lite/CMakeFiles/tensorflow-lite.dir/kernels/scatter_nd.cc.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

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

1 participant