Issue 135112
Summary Plugin entry point not found in 'libtriton.so
Labels new issue
Assignees
Reporter zhananran
    I customized the new pass, but the .so file generated by the final compilation does not work properly

My instructions are:
triton-opt --load-pass-plugin=libtriton.so -enable-new-pm=0

And the bug is:
Failed to load passes from 'libtriton.so'. Request ignored.
Expected<T> must be checked before access or destruction.
Unchecked Expected<T> contained error:
Plugin entry point not found in 'libtriton.soPLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: triton-opt --load-pass-plugin=libtriton.so -enable-new-pm=0
 #0 0x00005640cc35c657 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/whr/triton-addOP/build/bin/triton-opt+0x3993657)
 #1 0x00005640cc35a3fe llvm::sys::RunSignalHandlers() (/home/whr/triton-addOP/build/bin/triton-opt+0x39913fe)
 #2 0x00005640cc35cd0a SignalHandler(int) Signals.cpp:0:0
 #3 0x00007f42803ed520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007f42804419fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
 #5 0x00007f42803ed476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x00007f42803d37f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00005640c9ab18db llvm::Expected<mlir::PassPlugin>::fatalUncheckedExpected() const (/home/whr/triton-addOP/build/bin/triton-opt+0x10e88db)
 #8 0x00005640c9ab17de (/home/whr/triton-addOP/build/bin/triton-opt+0x10e87de)
 #9 0x00005640c8f5ae65 llvm::cl::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef) (/home/whr/triton-addOP/build/bin/triton-opt+0x591e65)
#10 0x00005640cc2ef01b ProvideOption(llvm::cl::Option*, llvm::StringRef, llvm::StringRef, int, char const* const*, int&) CommandLine.cpp:0:0
#11 0x00005640cc2f2ba2 llvm::cl::ParseCommandLineOptions(int, char const* const*, llvm::StringRef, llvm::raw_ostream*, char const*, bool) (/home/whr/triton-addOP/build/bin/triton-opt+0x3929ba2)
#12 0x00005640c9aae897 mlir::MlirOptMain(int, char**, llvm::StringRef, mlir::DialectRegistry&, bool) (/home/whr/triton-addOP/build/bin/triton-opt+0x10e5897)
#13 0x00005640c8ce7150 main (/home/whr/triton-addOP/build/bin/triton-opt+0x31e150)
#14 0x00007f42803d4d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#15 0x00007f42803d4e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#16 0x00005640c8d186d5 _start (/home/whr/triton-addOP/build/bin/triton-opt+0x34f6d5)
Aborted (core dumped)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to