My apologies; I just realized that I was compiling with the LLVM dragonegg 3.4 GCC plugin, which apparently does not support all of GCC yet. Hopefully this will be of some help to someone in the future!
-- Hugo Gagnon On Wed, Aug 21, 2013, at 7:07, Bert Wesarg wrote: > Hugo, > > On Tue, Aug 20, 2013 at 6:09 PM, Hugo Gagnon > <opensource.open...@user.fastmail.fm> wrote: > > Hi, > > > > I'm encountering this error during "make all": > > > > Undefined symbols for architecture x86_64: > > "___atomic_fetch_add_4", referenced from: > > std::locale::locale<SpaceSeparator>(std::locale const&, > > SpaceSeparator*) in otfprofile-create_latex.o > > > > See attached for the complete output. > > while I'm not a Mac use at all, but I have colleques which developed > this code in question on there Mac system and do not have this error. > I can only guess that the used MacPorts GCC is somehow is broken. If > at all this reference to the function comes from inside the C++ STL > headers, not from the to be compiled code. Thus maybe the wrong C++ > STL headers are used. Could you provide the preprocessed output of the > otfprofile-create_latex.o target. Than we could check from where the > STL headers are taken. > > HTH, > Bert > > > > > Thanks, > > -- > > Hugo Gagnon > >