Building Flock on Gentoo/PPC

Today I downloaded Flock 0.4.9 source and started compiling on my home pc mac running Gentoo.

Unfortunately it spew out a lot of errors and stopped compiling in a very early stage due to missing reference to memcpy@@GLIBC!

What the heck? Then I searched the web and found that there is a bug in the toolchain (GCC 3.4.3) I’m using, which is also being discussed in Mozilla’s bugzilla.

Now I remember why my earlier Firefox failed.

So, I edited the gcc_hidden.h under config/gcc_hidden.h and commented out the “#pragma GCC visibility push(hidden)” line and began compiling again.

Whoa! It worked!!

Leave a Reply