Summary: | Iris fails to start with new disk cache | ||
---|---|---|---|
Product: | Mesa | Reporter: | Mike Lothian <mike> |
Component: | Drivers/Gallium/Iris | Assignee: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | mike |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | attachment-9998-0.html |
Description
Mike Lothian
2019-05-25 00:13:01 UTC
I'm not able to reproduce this, could you attach information on how your system/environment looks like? As example what kind of machine is used and options given to Mesa build. This might happen if you have custom linker flags, you should make sure you have "-Wl,--build-id=sha1" included in linker args. Please send also output of "eu-readelf -n iris_dri.so", it should say something like: --- 8< --- Note section [ 1] '.note.gnu.build-id' of 36 bytes at offset 0x238: Owner Data size Type GNU 20 GNU_BUILD_ID Build ID: 69c825313091a22c6f34df5185c209236d127839 --- 8< --- Neither iris or radeonsi had anything This patch makes everything work though... --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -46,7 +46,7 @@ libgallium_dri = shared_library( ], c_args : [c_vis_args], cpp_args : [cpp_vis_args], - link_args : [ld_args_gc_sections, gallium_dri_ld_args], + link_args : [ld_args_build_id, ld_args_gc_sections, gallium_dri_ld_args], link_depends : gallium_dri_link_depends, link_with : [ libmesa_gallium, libdricommon, libmegadriver_stub, libdri, libgalliumvl, Might be overkill if it's just iris that needs this (In reply to Mike Lothian from comment #4) > Neither iris or radeonsi had anything > > This patch makes everything work though... > > --- a/src/gallium/targets/dri/meson.build > +++ b/src/gallium/targets/dri/meson.build > @@ -46,7 +46,7 @@ libgallium_dri = shared_library( > ], > c_args : [c_vis_args], > cpp_args : [cpp_vis_args], > - link_args : [ld_args_gc_sections, gallium_dri_ld_args], > + link_args : [ld_args_build_id, ld_args_gc_sections, gallium_dri_ld_args], > link_depends : gallium_dri_link_depends, > link_with : [ > libmesa_gallium, libdricommon, libmegadriver_stub, libdri, libgalliumvl, > > > Might be overkill if it's just iris that needs this Right, I have same patch for iris but I was a bit confused why it works for me + others. Maybe it's just that efault is configured differently with different toolchains, manual page of ld says that "If style is omitted, "sha1" is used.". Created attachment 144361 [details] attachment-9998-0.html I have --hash-style=gnu set On Tue, 28 May 2019, 12:10 , <bugzilla-daemon@freedesktop.org> wrote: > *Comment # 5 <https://bugs.freedesktop.org/show_bug.cgi?id=110757#c5> on > bug 110757 <https://bugs.freedesktop.org/show_bug.cgi?id=110757> from > Tapani Pälli <lemody@gmail.com> * > > (In reply to Mike Lothian from comment #4 <https://bugs.freedesktop.org/show_bug.cgi?id=110757#c4>)> Neither iris or radeonsi had anything > > > > This patch makes everything work though... > > > > --- a/src/gallium/targets/dri/meson.build > > +++ b/src/gallium/targets/dri/meson.build > > @@ -46,7 +46,7 @@ libgallium_dri = shared_library( > > ], > > c_args : [c_vis_args], > > cpp_args : [cpp_vis_args], > > - link_args : [ld_args_gc_sections, gallium_dri_ld_args], > > + link_args : [ld_args_build_id, ld_args_gc_sections, gallium_dri_ld_args], > > link_depends : gallium_dri_link_depends, > > link_with : [ > > libmesa_gallium, libdricommon, libmegadriver_stub, libdri, libgalliumvl, > > > > > > Might be overkill if it's just iris that needs this > > Right, I have same patch for iris but I was a bit confused why it works for me > + others. Maybe it's just that efault is configured differently with different > toolchains, manual page of ld says that "If style is omitted, "sha1" is > used.". > > ------------------------------ > You are receiving this mail because: > > - You are on the CC list for the bug. > - You reported the bug. > > (In reply to Mike Lothian from comment #6) > Created attachment 144361 [details] > attachment-9998-0.html > > I have --hash-style=gnu set > OK cool, makes sense. IMO your patch looks fine, please send MR (or just patch to list)! I've created https://gitlab.freedesktop.org/mesa/mesa/merge_requests/961 Do I have to send an email to the list too? This is my first patch via MR Thanks Mike! I pushed your patch. Fixed by: commit 29ea92e6a1e8f5cb3295011d907ea211d6f8f644 Author: Mike Lothian <mike@fireburn.co.uk> Date: Tue May 28 12:26:21 2019 +0100 meson: Link Gallium drivers with ld_args_build_id |
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.