undefined reference to `__atomic_fetch_add_4'

在Fedora17 i386平台(gcc4.7),使用rpm打包发现一个问题,so文件不包含__atomic_fetch_add_4的符号定义,类似
src/foo/.libs/libfoo.so: undefined reference to `__atomic_fetch_add_4'
+ CFLAGS='-O2 -g -march=i386 -mtune=i686'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -march=i386 -mtune=i686'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -march=i386 -mtune=i686'
+ export FFLAGS

%configure CFLAGS="-g -O2" CXXFLAGS="-g -O2"

Monthly Archives


Powered by Movable Type 7.7.2

About this Entry

This page contains a single entry by Cnangel published on July 20, 2012 5:56 PM.

openssh and X11 forwarding was the previous entry in this blog.

log4cpp 1.1.0 patch is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.