[CT_NG] bug - compiling mips gcc (4.1.2) with glibc 2.6.1

Marco Fonseca mfonseca@fortresstech.com
Tue Oct 30 16:54:00 GMT 2007


Seems as if when configuring part of the glibc package, the native 
compiler (gcc) is being used instead of the newly built boot strapped 
compiler (mips-unknown-linux-gnu-gcc in my case).  This causes the 
compiler to barf when getting mips specific arguments (in my case: cc1: 
error: unrecognized command line option "-mabi=32"). 

A one line change was enough to get me going (listed below)

My build log is available should someone want to look at it.



--- libc_glibc.sh       2007-10-29 13:58:28.000000000 -0400
+++ libc_glibc.sh.patched       2007-10-29 14:04:12.000000000 -0400
@@ -88,7 +88,7 @@
     CT_DoLog DEBUG "Extra config passed : \"${addons_config}\""

     libc_cv_ppc_machine=yes                     \
-    CC=${CT_CC_NATIVE}                          \
+    CC=${cross_cc}                              \
     "${CT_SRC_DIR}/${CT_LIBC_FILE}/configure"   \
         --build="${CT_UNIQ_BUILD}"              \
         --host="${CT_TARGET}"                   \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.bz2
Type: application/octet-stream
Size: 47369 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20071030/3f374c8f/attachment.obj>
-------------- next part --------------
For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list