crosstool: problem building ppc64 toolchain w/ ppc64 kernel, ppc32 userspace

Roland Dreier roland@topspin.com
Mon Aug 16 09:09:00 GMT 2004


By the way, I am having this problem with crosstool-0.28-rc32.  (I
forgot to include that critical bit of info in my first email)

I just read the crossgcc archives a little more carefully, and I saw
that building an x86-64 toolchain on i386 userspace running on a
64-bit x86_64 kernel has exactly the same problem.  Unfortunately
glibc-2.3.2-cross-2.patch doesn't seem to be all that's required in my
ppc32 userspace on ppc64 kernel setup (I just checked, and the patch
definitely applied to glibc in my build tree).

As a ludicrous workaround for the moment, I put the following in
/usr/local/bin/uname:

    #!/bin/sh
    /bin/uname $@ | sed -e's/ppc64/ppc/'

and glibc successfully configures.

Thanks,
  Roland

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list