* [CT-NG] - Fail installing C compiler, configure: error: C compiler cannot create executables
@ 2012-01-07 2:23 Josh Kugelmann
0 siblings, 0 replies; only message in thread
From: Josh Kugelmann @ 2012-01-07 2:23 UTC (permalink / raw)
To: crossgcc
Hi,
I have now managed to get most of my toolchain to compile under Mac OS X, however I'm now getting an error when the gcc is being built and installed:
[INFO ] Installing static core C compiler
[ERROR] make[2]: *** [cc1-dummy] Error 1
[ERROR] make[1]: *** [all-gcc] Error 2
This leads to other errors occurring:
[INFO ] Installing shared core C compiler
[ERROR] make[2]: *** [cc1-dummy] Error 1
[ERROR] make[1]: *** [all-gcc] Error 2
[INFO ] =================================================================
[INFO ] Installing C library
[ERROR] Linux version is unavailable in installed headers files
[INFO ] =================================================================
[INFO ] Installing final compiler
[ERROR] make[3]: *** [cc1-dummy] Error 1
[ERROR] make[3]: *** [cc1plus-dummy] Error 1
[ERROR] make[2]: *** [all-gcc] Error 2
[ERROR] make[1]: *** [all] Error 2
[INFO ] =================================================================
[INFO ] Installing cross-gdb
[ERROR] configure: error: in `/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/build-gdb-cross':
[ERROR] configure: error: C compiler cannot create executables
According the build.log, this seems to be caused by the -Bstatic option being passed to ld.
[ALL ] x86_64-build_apple-darwin11.2.0-gcc -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o arm-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.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/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lcloog -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lppl_c -lppl -lgmpxx -static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -L/Volumes/rsmedia-toolchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lmpfr -lgmp
[ALL ] ld: unknown option: -Bstatic
[ALL ] collect2: ld returned 1 exit status
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-07 2:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-07 2:23 [CT-NG] - Fail installing C compiler, configure: error: C compiler cannot create executables Josh Kugelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).