ppc64 build, was Re: libgcc_s is not linked in applications. Any suggestion?

Dan Nicholson dbn.lists at gmail.com
Wed Feb 22 14:56:59 PST 2006


On 2/22/06, Ken Moffat <ken at linuxfromscratch.org> wrote:
>
>   Building with -m64 (not that I particularly _need_ a 64-bit firefox,
> but the X-6.9 rc I was using at the time crapped out when run with -m32
> on ppc4), the build stops after less than two minutes.  I don't have a
> log, but my notes mention a relocation error with what looked like a
> glibc 2.3 symbol, in xpcom/typelib/xpt/tools - the only half-related
> things I found on google pointed to a -fvisibility problem,
> target/PR20199, and then to libstdc++/PR19664.  That old bug was still
> open earlier this week, but I grabbed an attached patch and tried to
> apply it to gcc-4.0.2 in /opt - made no difference to firefox, nor did a
> gcc-4.1 snapshot, and 3.4.4 didn't compile on this glibc.

Ken,

Look at pr20297: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297

Seems to do with the #pragma visibility thing (not that I understand
what that means at all :-).  Juerg at Paldo applies this patch to
gcc-4.0 specifically for Firefox-1.5.  You may have to fool around
with a gcc snapshot because the Mozilla devs in the PR say this isn't
fixed with gcc-4.1 either.

http://www.paldo.org/paldo/sources/gcc/gcc-4.0-20051006-visibility-builtin-pr20297-1.patch.bz2

I don't have the resources to test this out, but maybe it will help. 
I know paldo builds x86_64 pure64 style and they seem to have a
working system.

--
Dan



More information about the cross-lfs mailing list