[Mesa-dev] [Bug 109391] LTO Build fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jan 31 22:57:59 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109391
--- Comment #3 from Hi-Angel <Hi-Angel at yandex.ru> ---
(In reply to Eric Engestrom from comment #2)
> 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 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89147 FWIW with clang it
works correctly.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190131/bc0a2184/attachment.html>
More information about the mesa-dev
mailing list