Skip to content

Ubuntu 20.04.2 LTS build fails while creating standalone executable bundles (AOT) #5480

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

Closed
vjayd opened this issue Mar 29, 2021 · 1 comment

Comments

@vjayd
Copy link

vjayd commented Mar 29, 2021

[495/727] Generating ../../../bundles/lenet_mnist/lenet_mnist.o
FAILED: bundles/lenet_mnist/lenet_mnist.o
cd /media/vijay/1TB/glow/build_Debug/examples/bundles/lenet_mnist && /media/vijay/1TB/glow/build_Debug/bin/model-compiler -g -model=/media/vijay/1TB/glow/build_Debug/examples/bundles/lenet_mnist/lenet_mnist -model-input=data,float,[1,1,28,28] -backend=CPU -emit-bundle=/media/vijay/1TB/glow/build_Debug/bundles/lenet_mnist -bundle-api=static
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0329 16:35:56.286278 58852 Graph.cpp:5912] Layout requirements checking is enabled
LLVMIRGen: libjit.bc: error: Unknown attribute kind (61) (Producer: 'LLVM10.0.0' Reader: 'LLVM 8.0.1')
F0329 16:35:56.717622 58852 LLVMIRGen.cpp:216] Check failed: llmodule_.get() Unable to load the JIT library.
*** Check failure stack trace: ***
#0 0x000055d8c5242dcf llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/media/vijay/1TB/glow/build_Debug/bin/model-compiler+0xa5edcf)
#1 0x000055d8c52411d2 llvm::sys::RunSignalHandlers() (/media/vijay/1TB/glow/build_Debug/bin/model-compiler+0xa5d1d2)
#2 0x000055d8c52431e8 SignalHandler(int) (/media/vijay/1TB/glow/build_Debug/bin/model-compiler+0xa5f1e8)
#3 0x00007f3de24a23c0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)
#4 0x00007f3de1f9418b raise /build/glibc-eX1tMB/glibc-2.31/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#5 0x00007f3de1f73859 abort /build/glibc-eX1tMB/glibc-2.31/stdlib/abort.c:81:7
#6 0x00007f3de282ae4c (/usr/lib/x86_64-linux-gnu/libglog.so.0+0x9e4c)
#7 0x00007f3de282e1c3 (/usr/lib/x86_64-linux-gnu/libglog.so.0+0xd1c3)
#8 0x00007f3de283325b google::LogMessage::SendToLog() (/usr/lib/x86_64-linux-gnu/libglog.so.0+0x1225b)
#9 0x00007f3de282debf google::LogMessage::Flush() (/usr/lib/x86_64-linux-gnu/libglog.so.0+0xcebf)
#10 0x00007f3de282e6ef google::LogMessageFatal::~LogMessageFatal() (/usr/lib/x86_64-linux-gnu/libglog.so.0+0xd6ef)
#11 0x000055d8c5426229 glow::LLVMIRGen::initCodeGen() /media/vijay/1TB/glow/glow/lib/LLVMIRCodeGen/LLVMIRGen.cpp:223:27
#12 0x000055d8c54765f7 glow::BundleSaver::BundleSaver(glow::LLVMBackend const&, llvm::StringRef, llvm::StringRef) /media/vijay/1TB/glow/glow/lib/LLVMIRCodeGen/BundleSaver.cpp:182:38
#13 0x000055d8c546b57a ZN4glow11make_uniqueINS_11BundleSaverEJRKNS_11LLVMBackendERN4llvm9StringRefES7_EEENSt9enable_ifIXntsrSt8is_arrayIT_E5valueESt10unique_ptrISA_St14default_deleteISA_EEE4typeEDpOT0 /media/vijay/1TB/glow/glow/include/glow/Support/Memory.h:65:63
#14 0x000055d8c5469a78 glow::LLVMBackend::createBundleSaver(glow::LLVMBackend const&, llvm::StringRef, llvm::StringRef) const /media/vijay/1TB/glow/glow/lib/LLVMIRCodeGen/LLVMBackend.cpp:729:1
#15 0x000055d8c54696c0 glow::LLVMBackend::save(glow::Function*, llvm::StringRef, llvm::StringRef, llvm::StringRef) const /media/vijay/1TB/glow/glow/lib/LLVMIRCodeGen/LLVMBackend.cpp:706:68
#16 0x000055d8c4c30b6d glow::Loader::compile(glow::CompilationContext&) /media/vijay/1TB/glow/glow/tools/loader/Loader.cpp:714:19
#17 0x000055d8c4c6fbab main /media/vijay/1TB/glow/glow/tools/loader/ModelCompiler.cpp:41:10
#18 0x00007f3de1f750b3 __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:342:3
#19 0x000055d8c4c2ceae _start (/media/vijay/1TB/glow/build_Debug/bin/model-compiler+0x448eae)
Aborted (core dumped)
[504/727] Linking CXX executable bin/resnet-verify
ninja: build stopped: subcommand failed.

@vjayd vjayd changed the title Ubuntu 20.94 build fails while creating standalone executable bundles (AOT) Ubuntu 20.04.2 LTS build fails while creating standalone executable bundles (AOT) Mar 30, 2021
@vjayd
Copy link
Author

vjayd commented Apr 29, 2021

Reinstalled from scratch again and it worked

@vjayd vjayd closed this as completed Apr 29, 2021
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