gcc 3.3 and java on mips

Jonathan Springer springer at reservoir.com
Fri Feb 27 09:54:20 PST 2009

Sergey Anosov wrote:
> Hello!
> I make a cross build of IcedTea 1.6 for mips, using zero-port and gcc 3.3.6 compiler.
> There are some __sync_* finctions in atomic_linux_zero.inline.hpp, which gcc 3.3.6 don't understand.
> After some googling, I've find that __sync_* builtin functions was first defined in gcc 4.1.0.
> What can I do? Make a patch, which defines that functions in gcc 3.3, or make realisation in C(C++) for IcedTea? if there is any other way?
> Thanks

Hi Sergey,

IcedTea is supposed to be built with GCC 4.3+, so your best bet would be 
to upgrade your build environment.  Even if you work around the __sync_* 
issue, you may run into other issues with 3.3.


(CCing porters-dev so some IcedTea folks might see it and comment further.)


Jonathan Springer     |
Reservoir Labs, Inc.  |  http://www.reservoir.com/

More information about the porters-dev mailing list