It looks like the:
#elif JUCE_GCC to JUCE_LINUX
Change that happened when you changed iPhone atomics broke my Linux compile. I'm using Codeblocks and GCC, and I leave the arch blank for the compiler to work it out.
The __sync_ functions come up as undefined when I compile my final project. I tried to add -march=i486 or i686 as suggested on the web, but that didn't help. Do I need to change the juce project's makefile for that?
Edit - maybe not so simple. Changing that one define back didn't help. I just refreshed from the tip, about a 3 week old version. Nothing changed on the Linux machine since I had working compiles. Could it be something in the makefile?
Edit - jucedemo won't compile here either.