sync_add_and_fetch problem
Vardhan, Sundara (GE Infra, Energy)
sundara.vardhan@ge.com
Thu Dec 4 12:41:00 GMT 2008
Hi Charles
Use -march=i486 or later or march=pentium-pro for the atomic-builtin to
be linked.
With Regards
Vardhan
-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Charles Crisler
Sent: Wednesday, December 03, 2008 7:04 PM
To: gcc-help@gcc.gnu.org
Subject: sync_add_and_fetch problem
Hello GCC! I am trying to compile/link/run some code that uses
sync_add_and_fetch(). The dynamic linker is failing to load one of my
libraries because this function cannot be resolved. I thought that this
function was included with GCC 4.1 and later. I have Fedora 9 32-bit on
an x86 system with GCC version 4.3.0 20080428. Where should I look to
fix or go around this problem? Thank you! Chuck Crisler
More information about the Gcc-help
mailing list