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
[email protected]
PostgreSQL is normally configured with LLVM support for platforms where that is supported. This happened on RockyLinux 8.5.
Configuring Babelfish --with-llvm causes the LLVM linker to crash with the following error in the babelfishpg_tsql module:
cd '/root/rpmbuild/BUILDROOT/babelfishpg13-1.1.0-1BABEL.el8.x86_64/usr/pgsql-13/lib/bitcode' && /usr/bin/llvm-lto -thinlto -thinlto-action=thinlink -o babelfishpg_tsql.index.bc babelfishpg_tsql/src/pl_gram.bc babelfishpg_tsql/src/pl_handler.bc babelfishpg_tsql/src/pl_comp.bc babelfishpg_tsql/src/pl_exec.bc babelfishpg_tsql/src/pl_funcs.bc babelfishpg_tsql/src/pl_scanner.bc babelfishpg_tsql/src/pl_comp-2.bc babelfishpg_tsql/src/properties.bc babelfishpg_tsql/src/databasepropertyex.bc babelfishpg_tsql/src/plan_inval.bc babelfishpg_tsql/src/procedures.bc babelfishpg_tsql/src/cursor.bc babelfishpg_tsql/src/applock.bc babelfishpg_tsql/src/pltsql_coerce.bc babelfishpg_tsql/runtime/functions.bc babelfishpg_tsql/src/err_handler.bc babelfishpg_tsql/src/pltsql_function_probin_handler.bc babelfishpg_tsql/src/pltsql_utils.bc babelfishpg_tsql/src/tablecmds.bc babelfishpg_tsql/src/stmt_walker.bc babelfishpg_tsql/src/codegen.bc babelfishpg_tsql/src/dynavec.bc babelfishpg_tsql/src/dynastack.bc babelfishpg_tsql/src/analyzer.bc babelfishpg_tsql/src/prepare.bc babelfishpg_tsql/src/compile_context.bc babelfishpg_tsql/src/collation.bc babelfishpg_tsql/src/string.bc babelfishpg_tsql/src/forxml.bc babelfishpg_tsql/src/pltsql_identity.bc babelfishpg_tsql/src/collationproperty.bc babelfishpg_tsql/src/rolecmds.bc babelfishpg_tsql/src/backend_parser/keywords.bc babelfishpg_tsql/src/backend_parser/parser.bc babelfishpg_tsql/src/backend_parser/scan-backend.bc babelfishpg_tsql/src/backend_parser/gram-backend.bc babelfishpg_tsql/src/backend_parser/gram_hook.bc babelfishpg_tsql/src/dbcmds.bc babelfishpg_tsql/src/session.bc babelfishpg_tsql/src/guc.bc babelfishpg_tsql/src/catalog.bc babelfishpg_tsql/src/schemacmds.bc babelfishpg_tsql/src/hooks.bc babelfishpg_tsql/src/tsqlNodes.bc babelfishpg_tsql/src/tsqlHandler.bc babelfishpg_tsql/src/tsqlUnsupportedFeatureHandler.bc babelfishpg_tsql/src/tsqlIface.bc babelfishpg_tsql/antlr/libantlr_tsql.a babelfishpg_tsql/src/multidb.bc LLVM ERROR: ThinLTO cannot create input file: The file was not recognized as a valid object file PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: 0. Program arguments: /usr/bin/llvm-lto -thinlto -thinlto-action=thinlink -o babelfishpg_tsql.index.bc babelfishpg_tsql/src/pl_gram.bc babelfishpg_tsql/src/pl_handler.bc babelfishpg_tsql/src/pl_comp.bc babelfishpg_tsql/src/pl_exec.bc babelfishpg_tsql/src/pl_funcs.bc babelfishpg_tsql/src/pl_scanner.bc babelfishpg_tsql/src/pl_comp-2.bc babelfishpg_tsql/src/properties.bc babelfishpg_tsql/src/databasepropertyex.bc babelfishpg_tsql/src/plan_inval.bc babelfishpg_tsql/src/procedures.bc babelfishpg_tsql/src/cursor.bc babelfishpg_tsql/src/applock.bc babelfishpg_tsql/src/pltsql_coerce.bc babelfishpg_tsql/runtime/functions.bc babelfishpg_tsql/src/err_handler.bc babelfishpg_tsql/src/pltsql_function_probin_handler.bc babelfishpg_tsql/src/pltsql_utils.bc babelfishpg_tsql/src/tablecmds.bc babelfishpg_tsql/src/stmt_walker.bc babelfishpg_tsql/src/codegen.bc babelfishpg_tsql/src/dynavec.bc babelfishpg_tsql/src/dynastack.bc babelfishpg_tsql/src/analyzer.bc babelfishpg_tsql/src/prepare.bc babelfishpg_tsql/src/compile_context.bc babelfishpg_tsql/src/collation.bc babelfishpg_tsql/src/string.bc babelfishpg_tsql/src/forxml.bc babelfishpg_tsql/src/pltsql_identity.bc babelfishpg_tsql/src/collationproperty.bc babelfishpg_tsql/src/rolecmds.bc babelfishpg_tsql/src/backend_parser/keywords.bc babelfishpg_tsql/src/backend_parser/parser.bc babelfishpg_tsql/src/backend_parser/scan-backend.bc babelfishpg_tsql/src/backend_parser/gram-backend.bc babelfishpg_tsql/src/backend_parser/gram_hook.bc babelfishpg_tsql/src/dbcmds.bc babelfishpg_tsql/src/session.bc babelfishpg_tsql/src/guc.bc babelfishpg_tsql/src/catalog.bc babelfishpg_tsql/src/schemacmds.bc babelfishpg_tsql/src/hooks.bc babelfishpg_tsql/src/tsqlNodes.bc babelfishpg_tsql/src/tsqlHandler.bc babelfishpg_tsql/src/tsqlUnsupportedFeatureHandler.bc babelfishpg_tsql/src/tsqlIface.bc babelfishpg_tsql/antlr/libantlr_tsql.a babelfishpg_tsql/src/multidb.bc #0 0x00007f6adbe20a00 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/lib64/libLLVM-12.so+0xb4fa00) #1 0x00007f6adbe1e5c4 llvm::sys::RunSignalHandlers() (/lib64/libLLVM-12.so+0xb4d5c4) #2 0x00007f6adbe1f155 (/lib64/libLLVM-12.so+0xb4e155) #3 0x00007f6adb0c3c20 __restore_rt (/lib64/libpthread.so.0+0x12c20) #4 0x00007f6ada3f437f raise (/lib64/libc.so.6+0x3737f) #5 0x00007f6ada3dedb5 abort (/lib64/libc.so.6+0x21db5) #6 0x00007f6adbd6862a llvm::report_fatal_error(llvm::Twine const&, bool) (/lib64/libLLVM-12.so+0xa9762a) #7 0x00007f6adbd68794 (/lib64/libLLVM-12.so+0xa97794) #8 0x00007f6add3c4a39 llvm::ThinLTOCodeGenerator::addModule(llvm::StringRef, llvm::StringRef) (/lib64/libLLVM-12.so+0x20f3a39) #9 0x000055c9bfffcf06 (/usr/bin/llvm-lto+0x15f06) #10 0x000055c9bfff283c (/usr/bin/llvm-lto+0xb83c) #11 0x00007f6ada3e0493 __libc_start_main (/lib64/libc.so.6+0x23493) #12 0x000055c9bfff49ae (/usr/bin/llvm-lto+0xd9ae) make: Leaving directory '/root/rpmbuild/BUILD/babelfishpg-extensions-1.1.0-PG-13.5/contrib/babelfishpg_tsql' make: *** [/usr/pgsql-13/lib/pgxs/src/makefiles/pgxs.mk:234: install] Aborted (core dumped) error: Bad exit status from /var/tmp/rpm-tmp.iij6Jf (%install) Bad exit status from /var/tmp/rpm-tmp.iij6Jf (%install)
BABEL_1_X_DEV (Default)
babelfishpg_tsql (Default)
Other
No response
The text was updated successfully, but these errors were encountered:
amazon-auto
No branches or pull requests
Contact Details
[email protected]
What happened?
PostgreSQL is normally configured with LLVM support for platforms where that is supported. This happened on RockyLinux 8.5.
Configuring Babelfish --with-llvm causes the LLVM linker to crash with the following error in the babelfishpg_tsql module:
Version
BABEL_1_X_DEV (Default)
Extension
babelfishpg_tsql (Default)
What flavour of Linux are you running into the bug?
Other
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: