v1.3.0 problems

Eronen, Jussi (GE Healthcare) jussi.eronen@med.ge.com
Wed Dec 3 13:03:00 GMT 2008

Hi Yann,
I am building toolchain for ppc with gcc 4.2.4 and glibc 2.6.1 on Fedora8.

I had to delete patch "270-soft-float.patch". With this in place glibc build always
fails due to missing arithmetic primitives (__gcc_gadd, __gcc_gsub, __gcc_gmul, __gcc_gdiv).

Is there a better way to fix this than what I did by removing the file?

There was also problems with build tuple (CT_BUILD). F8 native gcc -dumpmachine gives i386-redhat-linux,
but config.guess says i686-pc-linux-gnu and build fails. Your latest version in svn almost fixes this and
a small change made it work for me:
+    # Canonicalise CT_BUILD and CT_HOST
+    # Not only will it give us full-qualified tuples, but it will also ensure
+    # that they are valid tuples (in case of typo with user-provided tuples)
+    # That's way better than trying to rewrite config.sub ourselves...
+    CT_BUILD=$(./tools/config.sub "${CT_BUILD}")
+    CT_HOST=$(./tools/config.sub "${CT_HOST}")

changed two last lines to
+    CT_BUILD=$(`dirname $0`/../tools/config.sub "${CT_BUILD}")
+    CT_HOST=$(`dirname $0`/../tools/config.sub "${CT_HOST}")


For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list