From nobody Wed May 26 11:43:01 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C7D2BD79CC5 for ; Wed, 26 May 2021 11:43:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fqpwj5DBVz4p9N for ; Wed, 26 May 2021 11:43:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C53E105B2 for ; Wed, 26 May 2021 11:43:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 14QBh1gb043464 for ; Wed, 26 May 2021 11:43:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 14QBh1cn043463 for ports-bugs@FreeBSD.org; Wed, 26 May 2021 11:43:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256167] databases/postgresql13-server: Fix build with clang 12 Date: Wed, 26 May 2021 11:43:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pgsql@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256167 Bug ID: 256167 Summary: databases/postgresql13-server: Fix build with clang 12 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pgsql@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(pgsql@FreeBSD.org) Assignee: pgsql@FreeBSD.org Created attachment 225276 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225276&action= =3Dedit Bump highest LLVM version in ports to 12 During an exp-run for llvm 12 (see bug 255570), it turned out that cad/brlc= ad does not build with clang 12.0.0 [1], at least not on i386: ... cd '/wrkdirs/usr/ports/databases/postgresql13-server/work/stage/usr/local/lib/= postgresql/bitcode' && /usr/local/llvm11/bin/llvm-lto -thinlto -thinlto-action=3Dthinlink -o postgres.index.bc postgres/access/brin/brin.bc postgres/access/brin/brin_inclusion.bc postgres/access/brin/brin_minmax.bc postgres/access/brin/brin_pageops.bc [...lots more bc files...] LLVM ERROR: ThinLTO cannot create input file: Unknown attribute kind (97) (Producer: 'LLVM12.0.0' Reader: 'LLVM 11.0.1') PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Obviously this is a mixup between .bc files compiled with clang 12, and the /usr/local/llvm11/bin/llvm-lto which is 11.0.1. It seems that the "Highest LLVM version in ports" mentioned in databases/postgresql13-server/Makefile is still at 11, so can we bump that = to 12? Then this problem should go away. [1] http://gohan04.nyi.freebsd.org/data/maini386PR255570-default/2021-05-23_20h= 12m16s/logs/errors/postgresql13-server-13.3.log --=20 You are receiving this mail because: You are the assignee for the bug.=