From owner-freebsd-ports@freebsd.org Fri Jun 26 16:45:15 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2283E35BEE2 for ; Fri, 26 Jun 2020 16:45:15 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [88.198.69.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.burggraben.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49tjRZ1njgz4rlj; Fri, 26 Jun 2020 16:45:14 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by smtp.burggraben.net (Postfix) with ESMTPS id 86E99C00311; Fri, 26 Jun 2020 18:45:12 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 0B569139877; Fri, 26 Jun 2020 18:45:12 +0200 (CEST) Date: Fri, 26 Jun 2020 18:45:12 +0200 From: Christoph Moench-Tegeder To: Donald Wilde 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> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.14.5 (2020-06-23) X-Rspamd-Queue-Id: 49tjRZ1njgz4rlj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of cmt@burggraben.net designates 88.198.69.140 as permitted sender) smtp.mailfrom=cmt@burggraben.net X-Spamd-Result: default: False [-2.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.92)[-0.919]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.198.69.140]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[burggraben.net]; NEURAL_HAM_LONG(-1.01)[-1.013]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.23)[-0.232]; RCVD_IN_DNSWL_NONE(0.00)[88.198.69.140:from]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.198.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2020 16:45:15 -0000 ## 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