Building Firefox 1.5 RC3 (Deerpark) on OpenSUSE/PPC

I tried compiling Firefox 1.5 RC3 on my new OpenSUSE/PPC system. Again, I experieced the same problem relating to undefined reference to memcpy@@GLIBC that I encountered while compiling Flock on Gentoo/PPC.

Okay, so I just commented the pragma line in config/gcc_hidden.h, and voila, it worked!

BTW, my GCC toolchain version is 4.0.2, that supposed to fixed the problem, anyway here’s the spec:


shell> gcc -v
Using built-in specs.
Target: powerpc64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --with-cpu=default32 --host=powerpc64-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)

and here is the pointer to the GCC bug and the discussion in Mozilla’s Bugzilla.

technorati tags: , , , ,

Leave a Reply