SHA256
1
0
forked from pool/Mesa

Accepting request 1058694 from home:frispete:branches:X11:XOrg

- Compile with gcc12 on Leaps: building drivers fails with:
  /usr/include/dxguids/dxguids.h:70:1: internal compiler error: 
  in cxx_eval_bit_field_ref, at cp/constexpr.c:2578

OBS-URL: https://build.opensuse.org/request/show/1058694
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1178
This commit is contained in:
Stefan Dirsch 2023-01-18 15:11:04 +00:00 committed by Git OBS Bridge
parent 6d002ac08e
commit 8afe70f492
2 changed files with 15 additions and 0 deletions

View File

@ -6,6 +6,13 @@ Mon Jan 16 22:44:11 UTC 2023 - Martin Hauke <mardnh@gmx.de>
You will need to set your environment to use it You will need to set your environment to use it
* See https://docs.mesa3d.org/envvars#rusticl-environment-variables * See https://docs.mesa3d.org/envvars#rusticl-environment-variables
-------------------------------------------------------------------
Mon Jan 16 11:27:13 UTC 2023 - Hans-Peter Jansen <hp@urpla.net>
- Compile with gcc12 on Leaps: building drivers fails with:
/usr/include/dxguids/dxguids.h:70:1: internal compiler error:
in cxx_eval_bit_field_ref, at cp/constexpr.c:2578
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 15 12:40:15 UTC 2023 - Martin Hauke <mardnh@gmx.de> Sun Jan 15 12:40:15 UTC 2023 - Martin Hauke <mardnh@gmx.de>

View File

@ -154,7 +154,11 @@ BuildRequires: bison
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: flex BuildRequires: flex
%if 0%{?sle_version} >= 150400
BuildRequires: gcc12-c++
%else
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%endif
BuildRequires: glslang-devel BuildRequires: glslang-devel
BuildRequires: imake BuildRequires: imake
BuildRequires: libtool BuildRequires: libtool
@ -801,6 +805,10 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
%ifarch ppc64 ppc64le %ifarch ppc64 ppc64le
%limit_build -m 1024 %limit_build -m 1024
%endif %endif
%if 0%{?sle_version} >= 150400
export CC=gcc-12
export CXX=g++-12
%endif
egl_platforms=x11,wayland egl_platforms=x11,wayland