#12 0x00007effc4371385 __libc_start_main (/lib64/libc.so.6+0x23385) #13 0x0000556af597ad11 (/usr/lib/llvm/14/bin/llvm-lto+0xad11) make[1]: *** [../../src/makefiles/pgxs.mk:238: install] Aborted make[1]: Leaving directory '/var/tmp/portage/dev-db/postgresql-14.5/work/postgresql-14.5/contrib/xml2' make: *** [Makefile:46: install-xml2-recurse] Error 2 make: *** Waiting for unfinished jobs.... #0 0x00007f4f4ae86923 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm/14/bin/../lib64/libLLVM-14.so+0xc6c923) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j4-20221012-170019 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.2 Python 3.10.8 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit 366278c2d45bcba21be170f51d966adece32a0b4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Oct 13 02:18:59 2022 +0000 2022-10-13 02:18:58 UTC emerge -qpvO dev-db/postgresql [ebuild N ] dev-db/postgresql-14.5 USE="icu llvm nls pam readline ssl uuid xml zlib -debug -doc -kerberos -ldap -lz4 -perl -python (-selinux) -server -static-libs -systemd -tcl -threads" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Created attachment 823777 [details] emerge-info.txt
Created attachment 823779 [details] clang.tar.bz2
Created attachment 823781 [details] dev-db:postgresql-14.5:20221013-043055.log.bz2
Created attachment 823783 [details] emerge-history.txt
Created attachment 823785 [details] environment
Created attachment 823787 [details] etc.portage.tar.bz2
Created attachment 823789 [details] logs.tar.bz2
Created attachment 823791 [details] temp.tar.bz2
LLVM ERROR: ThinLTO cannot create input file: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0 .2' Reader: 'LLVM 14.0.6') 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/14/bin/llvm-lto -thinlto -thinlto-action=thinlink -o uuid-ossp.index.bc uuid-ossp/uui d-ossp.bc This looks like crosstalk between llvm-14 and -15. Since postgres[llvm] does not yet compile with llvm-15 (next release should have the patches for that) this is currently very tricky to fix
Not a C99 problem.