[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mesa: [m68k] FTBFS due to lack of GCC atomic builtins



Source: mesa
Version: 7.11.2-1

Hi,

mesa FTBFS (with gcc-4.6) with error messages like these:

/tmp/buildd/mesa-7.11.2/build/dri/src/gallium/drivers/r600/../../../../src/gallium/auxiliary/util/u_atomic.h:151: undefined reference to _sync_sub_and_fetch_4'

This is due to it using GCC Atomic builtins which are not supported
on all architectures. Can it be told to use libatomic-ops-dev instead,
which implements all this stuff correctly?

Otherwise, PIPE_ATOMIC_OS_UNLOCKED might be an option, but if mesa
is used from threaded programmes, probably unsafe even on !SMP.

Any idea?

Thanks in advance,
//mirabilos
-- 
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)


Reply to: