Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649450 - sys-devel/gcc-7 - Issues with BMI on 32bit x86 apps
Summary: sys-devel/gcc-7 - Issues with BMI on 32bit x86 apps
Status: RESOLVED DUPLICATE of bug 645776
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Keywords: PATCH
Depends on:
Blocks: gcc-7
  Show dependency tree
Reported: 2018-03-03 12:52 UTC by sigurse
Modified: 2018-03-13 06:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description sigurse 2018-03-03 12:52:36 UTC
I recently rebuilt my entire system using gcc 7.3, and from that moment on several Steam games crashed with a segmentation fault related to graphics/AMDGPU/LLVM (e.g. Black Mesa, Stellaris) while other games worked flawlessly (e.g. Civilization VI).

After searching around I found the following bug report in mesa
which lead to the following bug report in gcc

By creating my own gcc-7.3.0-r1 whose only difference from gcc-7.3.0 was the addition of the patch in
and rebuilding everything, the segmentation faults are gone. I would guess this could be of use for the wider Gentoo community while we wait for gcc 7.4 which will include the aforementioned patch.
Comment 1 sigurse 2018-03-13 06:31:37 UTC
The suggested patch seems identical to the patch from Mike Lothian to (, so this is probably a duplicate bug.
Comment 2 sigurse 2018-03-13 06:35:29 UTC

*** This bug has been marked as a duplicate of bug 645776 ***