<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - 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"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96550#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - 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"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96550">bug 96550</a>
from <span class="vcard"><a class="email" href="mailto:warpme@o2.pl" title="warpme@o2.pl">warpme@o2.pl</a>
</span></b>
<pre>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 ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>