Undefined symbol : __sync_fetch_and_add_4 in file t-assign.o

Marc Glisse marc.glisse at inria.fr
Tue Jun 21 16:22:45 CEST 2011


On Tue, 21 Jun 2011, Dennis Clarke wrote:

> -mtune=i386 -march=i386
[...]
> Undefined                       first referenced
> symbol                             in file
> __sync_fetch_and_add_4              t-assign.o

A classic. You need to replace -march=i386 with something more recent. 
Blame it on gcc if you must.

-- 
Marc Glisse


More information about the gmp-bugs mailing list