[Mesa-dev] [Bug 96550] 12.0.0-rc3: mesa_dri_drivers.so linking fails with: relocation R_X86_64_32S against `V4F_COUNT' can not be used when making a shared object

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 10 15:30:26 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96550

--- Comment #1 from warpme at o2.pl ---
FYI:

ppl from Phoronix forums located the cause of the problem: gen_matypes.c is
passed to the compiler in order to generate assembly code in text form
(compiler switch: -S), but with -flto GCC doesn't output any code nor data
because that is postponed to link time. In such case gcc -S -flto generates a
file with empty .text and .data sections.

This isn't a GCC bug. Passing -ffat-lto-objects solves issue for me so maybe if
compile passes -S together with -flto then the config should imply
-ffat-lto-objects ?

-- 
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/20160810/0b7efbfd/attachment.html>


More information about the mesa-dev mailing list