Bug 112236 - xf86-video-intel: segfault when built with clang
Summary: xf86-video-intel: segfault when built with clang
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: not set not set
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
Depends on:
Reported: 2019-11-08 20:29 UTC by e5ten.arch
Modified: 2019-11-27 13:51 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

log file from someone else who was able to reproduce (7.84 KB, text/plain)
2019-11-08 20:29 UTC, e5ten.arch
no flags Details

Description e5ten.arch 2019-11-08 20:29:41 UTC
Created attachment 145916 [details]
log file from someone else who was able to reproduce

On git master (current commit bff5eca) and before then for a while, building xf86-video-intel with clang leads to a guaranteed segfault when attempting to start xorg.
Comment 1 Chris Wilson 2019-11-09 23:06:54 UTC
Just the usual clang not generating compile-time constants for offsetof().
Comment 2 e5ten.arch 2019-11-15 22:32:41 UTC
Where does that problem manifest in xf86-video-intel's code?
Comment 3 Martin Peres 2019-11-27 13:51:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/issues/171.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.