From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM Date: Mon, 22 Jul 2019 16:57:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1837065184==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A011D89CF9 for ; Mon, 22 Jul 2019 16:57:19 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1837065184== Content-Type: multipart/alternative; boundary="15638146391.9ceCf02A0.31132" Content-Transfer-Encoding: 7bit --15638146391.9ceCf02A0.31132 Date: Mon, 22 Jul 2019 16:57:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D111077 --- Comment #12 from Matt Turner --- (In reply to roland@rptd.ch from comment #11) > ../src/amd/common/ac_nir_to_llvm.c > ../src/amd/common/ac_nir_to_llvm.c: In function =E2=80=98ac_llvm_finalize= _module=E2=80=99: > ../src/amd/common/ac_nir_to_llvm.c:6614:2: error: implicit declaration of > function =E2=80=98LLVMAddPromoteMemoryToRegisterPass=E2=80=99; did you me= an > =E2=80=98LLVMAddDemoteMemoryToRegisterPass=E2=80=99? [-Werror=3Dimplicit-= function-declaration] > LLVMAddPromoteMemoryToRegisterPass(passmgr); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > LLVMAddDemoteMemoryToRegisterPass > cc1: some warnings being treated as errors > [425/1549] Compiling C object > 'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'. > ninja: build stopped: subcommand failed. Is this during the bisect, or when? Try adding=20 #if HAVE_LLVM >=3D 0x0700 #include #endif to the #include section of src/amd/common/ac_nir_to_llvm.c --=20 You are receiving this mail because: You are the assignee for the bug.= --15638146391.9ceCf02A0.31132 Date: Mon, 22 Jul 2019 16:57:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 12 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #11)
> ../src/amd/common/ac_nir_to_llvm.c
> ../src/amd/common/ac_nir_to_llvm.c: In function =E2=80=98ac_llvm_final=
ize_module=E2=80=99:
> ../src/amd/common/ac_nir_to_llvm.c:6614:2: error: implicit declaration=
 of
> function =E2=80=98LLVMAddPromoteMemoryToRegisterPass=E2=80=99; did you=
 mean
> =E2=80=98LLVMAddDemoteMemoryToRegisterPass=E2=80=99? [-Werror=3Dimplic=
it-function-declaration]
>   LLVMAddPromoteMemoryToRegisterPass(passmgr);
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   LLVMAddDemoteMemoryToRegisterPass
> cc1: some warnings being treated as errors
> [425/1549] Compiling C object
> 'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'.
> ninja: build stopped: subcommand failed.

Is this during the bisect, or when?

Try adding=20

#if HAVE_LLVM >=3D 0x0700
#include <llvm-c/Transforms/Utils.h>
#endif

to the #include section of src/amd/common/ac_nir_to_llvm.c


You are receiving this mail because:
  • You are the assignee for the bug.
= --15638146391.9ceCf02A0.31132-- --===============1837065184== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1837065184==--