Issue 131429
Summary LLVM ERROR: ThinLink didn't create an index
Labels
Assignees
Reporter NuLL3rr0r
    As the error says:

```
cd '/var/tmp/portage/dev-db/pg_repack-9999/image/usr/lib64/postgresql-14/lib64/bitcode' && /usr/lib/llvm/19/bin/llvm-lto -thinlto -thinlto-action="" -o pg_repack.index.bc pg_repack/repack.bc pg_repack/pgut/pgut-spi.bc
error: can't create module summary index for buffer: Invalid summary version 12. Version should be in the range [1-10].
LLVM ERROR: ThinLink didn't create an index
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/lib/llvm/19/bin/llvm-lto -thinlto -thinlto-action="" -o pg_repack.index.bc pg_repack/repack.bc pg_repack/pgut/pgut-spi.bc
 #0 0x00007f921c109a53 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm/19/bin/../lib64/libLLVM.so.19.1+0xeb8a53)
 #1 0x00007f921c107094 llvm::sys::RunSignalHandlers() (/usr/lib/llvm/19/bin/../lib64/libLLVM.so.19.1+0xeb6094)
 #2 0x00007f921c1074a6 (/usr/lib/llvm/19/bin/../lib64/libLLVM.so.19.1+0xeb64a6)
 #3 0x00007f921ae22ec0 (/lib64/libc.so.6+0x3cec0)
 #4 0x00007f921ae78ebc (/lib64/libc.so.6+0x92ebc)
 #5 0x00007f921ae22d96 raise (/lib64/libc.so.6+0x3cd96)
 #6 0x00007f921ae0b30b abort (/lib64/libc.so.6+0x2530b)
 #7 0x00007f921baecdb6 (/usr/lib/llvm/19/bin/../lib64/libLLVM.so.19.1+0x89bdb6)
 #8 0x00007f921c039b1e llvm::report_fatal_error(char const*, bool) (/usr/lib/llvm/19/bin/../lib64/libLLVM.so.19.1+0xde8b1e)
 #9 0x00005559374afd7c (/usr/lib/llvm/19/bin/llvm-lto+0x1bd7c)
#10 0x00005559374a4232 (/usr/lib/llvm/19/bin/llvm-lto+0x10232)
#11 0x00007f921ae0d1ee (/lib64/libc.so.6+0x271ee)
#12 0x00007f921ae0d2a9 __libc_start_main (/lib64/libc.so.6+0x272a9)
#13 0x00005559374a6565 (/usr/lib/llvm/19/bin/llvm-lto+0x12565)
make[1]: *** [/usr/lib64/postgresql-14/lib64/pgxs/src/makefiles/pgxs.mk:238: install] Aborted
make[1]: Leaving directory '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14/lib'
make: *** [Makefile:35: install] Error 2
 * ERROR: dev-db/pg_repack-9999::NuLL3rr0r failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-db/pg_repack-9999::NuLL3rr0r'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/pg_repack-9999::NuLL3rr0r'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/pg_repack-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999-14'
 * S: '/var/tmp/portage/dev-db/pg_repack-9999/work/pg_repack-9999'
```

While building [this Gentoo ebuild](https://github.com/NuLL3rr0r/gentoo-overlay/tree/master/dev-db/pg_repack).
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to