<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - LTO Build fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109391#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - LTO Build fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109391">bug 109391</a>
from <span class="vcard"><a class="email" href="mailto:che666@gmail.com" title="Rudolf Kastl <che666@gmail.com>"> <span class="fn">Rudolf Kastl</span></a>
</span></b>
<pre>(In reply to Hi-Angel from <a href="show_bug.cgi?id=109391#c5">comment #5</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=143280" name="attach_143280" title="Fix LTO build with GCC">attachment 143280</a> <a href="attachment.cgi?id=143280&action=edit" title="Fix LTO build with GCC">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=109391&attachment=143280'>[review]</a> [review]
> Fix LTO build with GCC</span >
(In reply to Hi-Angel from <a href="show_bug.cgi?id=109391#c3">comment #3</a>)
<span class="quote">> (In reply to Eric Engestrom from <a href="show_bug.cgi?id=109391#c2">comment #2</a>)
> > That file is generated by src/mapi/mapi_abi.py
> > The exact command line used to generate src/glapi/gen/glapi_mapi_tmp.h is:
> > $ python3 src/mapi/mapi_abi.py --printer glapi
> > src/mapi/glapi/gen/gl_and_es_API.xml > build/src/glapi/gen/glapi_mapi_tmp.h
> >
> > I'm afraid I can't help with any assembly issue though.
> >
> > As for LTO, it never worked for me :/
> > It's been on my "to look at eventually" list, but I haven't yet.
>
> Oh, thank you very much! For some reason I didn't get a notification about
> reply, it could've saved me some hours :(
>
> ------
>
> To give some update, I reduced it to a minimal testcase, the problem turns
> out that gcc with flto removes functions implemented in asm. I reported a
> bug on that <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89147">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89147</a> FWIW with
> clang it works correctly.</span >
Thank you for taking the time to look into that. I will do a scratch build with
the patch tomorrow and some testing! Awesome!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>