RE: sync_add_and_fetch problem

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

 



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@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of Charles Crisler
Sent: Wednesday, December 03, 2008 7:04 PM
To: gcc-help@xxxxxxxxxxx
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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux