Bug#654630: Please review this diff for atomic ops in mesa on m68k
Dixi quod…
>Andreas Schwab dixit:
>
>>>>>> mesa FTBFS on m68k due to lack of GCC atomic intrinsics. (Why are
>>>>>> they (still) missing, anyway?) Ib>>>
>
>>>> They are now implemented in 4.7.
>>>
>>> Can they easily be backported to Debian's gcc 4.x (x = 6?)?
>>
>>Probably.
>
>Seems so. I’m trying that now (patched package is compiling
>on m68k and an amd64 VM) so expect results in three days or
>so. ☺
“Or so.”
Turns out init_sync_libfuncs (added in gcc r181134) is not
in 4.6, and without that, handling of the atomic builtins
looks funny; it touches quite a bit of MI code and probably
needs later followup commits (I’ve seen references to other
commits touching this function), so I give up on this.
We’ll “just” have to build Mesa with gcc-4.7 next time. This
of course will have to wait until gcc-4.7 is in unstable, but
it’s looked good so far.
bye,
//mirabilos
--
[00:02] <Vutral> gecko: benutzt du emacs ?
[00:03] <gecko> nö [00:03] <gecko> nur n normalen mac
[00:04] <Vutral> argl [00:04] <Vutral> ne den editor
-- Vutral und gecko2 in #deutsch (NB: Editor? Betriebssystem.)
Reply to: