From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107990] Got Dying Light working in Arch by changing Mesa's compile steps, how to get it working Out Of the Box? Date: Sat, 12 Jan 2019 22:38:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0637202620==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 08F496E47A for ; Sat, 12 Jan 2019 22:38:49 +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 --===============0637202620== Content-Type: multipart/alternative; boundary="15473327282.97a52A7C.23291" Content-Transfer-Encoding: 7bit --15473327282.97a52A7C.23291 Date: Sat, 12 Jan 2019 22:38:48 +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=3D107990 --- Comment #7 from Aurryon Schwartz --- Good evening everyone, I'm having the same problem as mentioned and disabling glvnd in the build process prevented the segfault during the loading time of DL. Here are my specs: - Radeon WX 3100 - Vega 64 (used with DRI_PRIME env) - Ubuntu 18.10 Glxinfo: OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.27.0, 4.19.4-041904-lowlatency, LLVM 8.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel - padoka PPA OpenGL core profile shading language version string: 4.50 Default Ubuntu 18.10 compile flags: staraurryon@Aurryon-Desktop:~$ dpkg-buildflags=20 CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protecto= r-strong -Wformat -Werror=3Dformat-security CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2 CXXFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protec= tor-strong -Wformat -Werror=3Dformat-security FCFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protect= or-strong FFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protecto= r-strong GCJFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protec= tor-strong LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro OBJCFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security OBJCXXFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security Additional build flags in debian/rules: ifeq (,$(filter $(DEB_HOST_ARCH), armhf sh3 sh4)) buildflags =3D \ $(shell DEB_CFLAGS_MAINT_APPEND=3D-Wall DEB_CXXFLAGS_MAINT_APPEND= =3D-Wall dpkg-buildflags --export=3Dconfigure) else ifneq (,$(filter $(DEB_HOST_ARCH), armhf)) # Workaround for a variant of LP: #725126 buildflags =3D \ $(shell DEB_CFLAGS_MAINT_APPEND=3D"-Wall -fno-optimize-sibling-call= s" DEB_CXXFLAGS_MAINT_APPEND=3D"-Wall -fno-optimize-sibling-calls" dpkg-buildf= lags --export=3Dconfigure) else # Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83143 buildflags =3D \ $(shell DEB_CFLAGS_MAINT_APPEND=3D"-Wall -O1" DEB_CXXFLAGS_MAINT_APPEND=3D"-Wall -O1" dpkg-buildflags --export=3Dconfigur= e) endif endif I also tried to disable -Wl,-Bsymbolic-functions but without success as it = was not mentioned in RedHat build documentation. If you have any comment on my infos, please don't hesitate. I have started to investigate Fedora build flags as @Timothy Arceri mention= ed that there was no issue in Fedora. GL HF Regards, Aurryon --=20 You are receiving this mail because: You are the assignee for the bug.= --15473327282.97a52A7C.23291 Date: Sat, 12 Jan 2019 22:38:48 +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

Commen= t # 7 on bug 10799= 0 from Aurryon Schwartz
Good evening everyone,

I'm having the same problem as mentioned and disabling glvnd in the build
process prevented the segfault during the loading time of DL.

Here are my specs:
- Radeon WX 3100
- Vega 64 (used with DRI_PRIME env)
- Ubuntu 18.10

Glxinfo:

OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.27.0,
4.19.4-041904-lowlatency, LLVM 8.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.0.0-devel -
padoka PPA
OpenGL core profile shading language version string: 4.50

Default Ubuntu 18.10 compile flags:
staraurryon@Aurryon-Desktop:~$ dpkg-buildflags=20
CFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protecto=
r-strong
-Wformat -Werror=3Dformat-security
CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2
CXXFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protec=
tor-strong
-Wformat -Werror=3Dformat-security
FCFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protect=
or-strong
FFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protecto=
r-strong
GCJFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D. -fstack-protec=
tor-strong
LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro
OBJCFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D.
-fstack-protector-strong -Wformat -Werror=3Dformat-security
OBJCXXFLAGS=3D-g -O2 -fdebug-prefix-map=3D/home/staraurryon=3D.
-fstack-protector-strong -Wformat -Werror=3Dformat-security

Additional build flags in debian/rules:
ifeq (,$(filter $(DEB_HOST_ARCH), armhf sh3 sh4))
buildflags =3D \
        $(shell DEB_CFLAGS_MAINT_APPEND=3D-Wall DEB_CXXFLAGS_MAINT_APPEND=
=3D-Wall
dpkg-buildflags --export=3Dconfigure)
else
  ifneq (,$(filter $(DEB_HOST_ARCH), armhf))
  # Workaround for a variant of LP: #725126
  buildflags =3D \
        $(shell DEB_CFLAGS_MAINT_APPEND=3D"-Wall -fno-optimize-sibling=
-calls"
DEB_CXXFLAGS_MAINT_APPEND=3D"-Wall -fno-optimize-sibling-calls" d=
pkg-buildflags
--export=3Dconfigure)
  else
  # Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83143
  buildflags =3D \
        $(shell DEB_CFLAGS_MAINT_APPEND=3D"-Wall -O1"
DEB_CXXFLAGS_MAINT_APPEND=3D"-Wall -O1" dpkg-buildflags --export=
=3Dconfigure)
  endif
endif

I also tried to disable -Wl,-Bsymbolic-functions but without success as it =
was
not mentioned in RedHat build documentation.

If you have any comment on my infos, please don't hesitate.
I have started to investigate Fedora build flags as @Timothy Arceri men=
tioned
that there was no issue in Fedora.

GL HF

Regards,
Aurryon


You are receiving this mail because:
  • You are the assignee for the bug.
= --15473327282.97a52A7C.23291-- --===============0637202620== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0637202620==--