Building crosstool-ng for MIPS on Mac OS X

Pierrick Brossin pierrick@bs-network.net
Tue Mar 22 20:27:00 GMT 2011


Hello,

> Please send the ct-ng .config file.

I didn't know there was sample configurations available. Very smart idea.
I went for mips-unknown-linux-uclibc so I think there's no need to send 
the .config file over, right ?
This time I get the following message in the log file:

[ALL  ]    x86_64-build_apple-darwin10.7.3-gcc   -pipe -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-Wmissing-format-attribute -pedantic -Wno-long-long 
-Wno-variadic-macros                               
-Wno-overlength-strings    -DHAVE_CONFIG_H -lstdc++ -lm -o 
cc1plus-dummy         cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o 
cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o 
cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o 
cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o 
cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o 
cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o 
attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o 
c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o 
c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o tree-inline.o 
dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a 
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a  -liconv 
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
-L/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/.build/mips-unknown-linux-uclibc/build/static/lib 
-L/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/.build/mips-unknown-linux-uclibc/build/static/lib 
-lmpfr -lgmp
[ALL  ]    x86_64-build_apple-darwin10.7.3-gcc   -pipe -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-Wmissing-format-attribute -pedantic -Wno-long-long 
-Wno-variadic-macros                               
-Wno-overlength-strings    -DHAVE_CONFIG_H -lstdc++ -lm -o 
f951            fortran/arith.o fortran/array.o fortran/bbt.o 
fortran/check.o fortran/data.o fortran/decl.o fortran/dump-parse-tree.o 
fortran/error.o fortran/expr.o fortran/interface.o fortran/intrinsic.o 
fortran/io.o fortran/iresolve.o fortran/match.o fortran/matchexp.o 
fortran/misc.o fortran/module.o fortran/openmp.o fortran/options.o 
fortran/parse.o fortran/primary.o fortran/resolve.o fortran/scanner.o 
fortran/simplify.o fortran/st.o fortran/symbol.o fortran/target-memory.o 
fortran/convert.o fortran/dependency.o fortran/f95-lang.o 
fortran/trans.o fortran/trans-array.o fortran/trans-common.o 
fortran/trans-const.o fortran/trans-decl.o fortran/trans-expr.o 
fortran/trans-intrinsic.o fortran/trans-io.o fortran/trans-openmp.o 
fortran/trans-stmt.o fortran/trans-types.o main.o  libbackend.a 
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a  
-liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
attribs.o 
-L/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/.build/mips-unknown-linux-uclibc/build/static/lib 
-L/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/.build/mips-unknown-linux-uclibc/build/static/lib 
-lmpfr -lgmp
[ALL  ]    ld: duplicate symbol _insert_decl_map in 
libbackend.a(tree-inline.o) and tree-inline.o for architecture x86_64
[ALL  ]    collect2: ld returned 1 exit status
[ERROR]    make[3]: *** [cc1plus-dummy] Error 1
[ALL  ]    make[3]: *** Waiting for unfinished jobs....
[ALL  ]    rm gfortran.pod
[ERROR]    make[2]: *** [all-gcc] Error 2
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing final compiler'
[ERROR]    Error happened in 
'/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/scripts/functions' in 
function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from 
'/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/scripts/build/cc/gcc.sh' 
at line # 524 in function 'do_cc'
[ERROR]          called from 
'/Volumes/CrosstoolCompile/crosstool-ng-1.10.0/scripts/crosstool-NG.sh' 
at line # 606 in function 'main'
[ERROR]    Look at 
'/Volumes/Crosstool/mips-unknown-linux-uclibc/build.log' for more info 
on this error.
[ERROR]  (elapsed: 13:56.00)

Thank you for your time,

Pierrick

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



More information about the crossgcc mailing list