Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 18:45:12 +0200
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        Donald Wilde <dwilde1@gmail.com>
Cc:        freebsd-ports@freebsd.org, pgsql@freebsd.org, brooks@freebsd.org
Subject:   Re: stable postgresql11 appears to have issues
Message-ID:  <20200626164512.GA2475@elch.exwg.net>
In-Reply-To: <CAEC7391Y_BTCK0==uCEYo0rqkf7pDj=Qs%2BtpZqwBdumgHF73qg@mail.gmail.com>
References:  <CAEC7391Y_BTCK0==uCEYo0rqkf7pDj=Qs%2BtpZqwBdumgHF73qg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
## Donald Wilde (dwilde1@gmail.com):

> I ran into an issue, documented in the attachments, that seems to
> point to some quantity that does not include version 8 of the port,
> only 1 - 7. Being a tidy soul, I used make clean first and that
> resulted in a rebuild of LLVM90 as well.

This report misses some vital information - e.g. what version of
FreeBSD this is (and I'm only guessing this is on amd64), which
would give some clue what the base compiler is. The attachments
are somewhat incomplete, too - did you even have a look at
llvm90_makeinstall.txt? Especially the configure output from
PostgreSQL could have been helpful.
But then I'll just take that error message "can't create module
summary index for buffer: Invalid summary version 8. Version should
be in the range [1-7]." - that indicates that the llvm-lto/thinlink
version used in this step is older than the llvm used to generate
all the other bytecode files. As you're using llvm 9 in this step
(as seen from the path to llvm-lto) and the version in the bytecode
files ("8") is just one off from the acceptable range ("[1-7]")
I guess your base compiler is llvm 10.
I can see about two options to get out of that situation:
- disable option LLVM on postgresql*-server, or
- make sure there's only one llvm version involved

Regards,
Christoph

-- 
Spare Space



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200626164512.GA2475>