[CentOS-devel] Issue with 32-bit build of devtoolset 1.1?

Thu Mar 27 20:31:25 UTC 2014
Dave Johansen <davejohansen at gmail.com>

I'm trying to build ODB on RHEL 5 32-bit and I get some linker errors. Here
are some examples:
odb-option-functions.o: In function `__exchange_and_add':
/opt/rh/devtoolset-1.1/root/usr/lib/gcc/i386-CentOS-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:48:
undefined reference to `__atomic_fetch_add_4'
odb-profile.o: In function `__exchange_and_add':
/opt/rh/devtoolset-1.1/root/usr/lib/gcc/i386-CentOS-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:48:
undefined reference to `__atomic_fetch_add_4'
semantics/relational/odb-name.o: In function `__exchange_and_add':
/opt/rh/devtoolset-1.1/root/usr/lib/gcc/i386-CentOS-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:48:
undefined reference to `__atomic_fetch_add_4'
odb-options.o:/opt/rh/devtoolset-1.1/root/usr/lib/gcc/i386-CentOS-linux/4.7.2/../../../../include/c++/4.7.2/ext/atomicity.h:48:
more undefined references to `__atomic_fetch_add_4' follow

It builds fine on RHEL 5 64-bit. Any ideas what the issue might be?

Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140327/2411af0d/attachment-0006.html>