From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29944 invoked by alias); 7 Jan 2012 02:23:03 -0000 Received: (qmail 29933 invoked by uid 22791); 7 Jan 2012 02:23:02 -0000 X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BJ,TW_PX X-Spam-Check-By: sourceware.org Received: from nm7-vm0.bullet.mail.sp2.yahoo.com (HELO nm7-vm0.bullet.mail.sp2.yahoo.com) (98.139.91.192) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Sat, 07 Jan 2012 02:22:49 +0000 Received: from [98.139.91.65] by nm7.bullet.mail.sp2.yahoo.com with NNFMP; 07 Jan 2012 02:22:49 -0000 Received: from [208.71.42.214] by tm5.bullet.mail.sp2.yahoo.com with NNFMP; 07 Jan 2012 02:22:49 -0000 Received: from [127.0.0.1] by smtp225.mail.gq1.yahoo.com with NNFMP; 07 Jan 2012 02:22:49 -0000 X-Yahoo-SMTP: TAoXr7yswBCTi.LDM8lL6DReAerEcJdhnTGm8k0- Received: from [10.0.0.8] (joshk@124.181.194.45 with plain) by smtp225.mail.gq1.yahoo.com with SMTP; 06 Jan 2012 18:22:49 -0800 PST From: Josh Kugelmann Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [CT-NG] - Fail installing C compiler, configure: error: C compiler cannot create executables Date: Sat, 07 Jan 2012 02:23:00 -0000 Message-Id: To: crossgcc@sourceware.org Mime-Version: 1.0 (Apple Message framework v1251.1) Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00020.txt.bz2 Hi, I have now managed to get most of my toolchain to compile under Mac OS X, h= owever 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 ] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [INFO ] Installing C library [ERROR] Linux version is unavailable in installed headers files [INFO ] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [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 ] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [INFO ] Installing cross-gdb [ERROR] configure: error: in `/Volumes/rsmedia-toolchain/.build/arm-rsme= dia-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 bei= ng passed to ld. [ALL ] x86_64-build_apple-darwin11.2.0-gcc -pipe -DIN_GCC -DCROSS_DIR= ECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-pr= ototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-a= ttribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-stri= ngs -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-com= mon.o c-dump.o c-pch.o c-parser.o arm-c.o c-gimplify.o tree-mudflap.o c-pre= tty-print.o c-omp.o dummy-checksum.o main.o libbackend.a ../libcpp/libc= pp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -liconv ../libibert= y/libiberty.a ../libdecnumber/libdecnumber.a -L/Volumes/rsmedia-toolchain/.= build/arm-rsmedia-linux-gnu/build/static/lib -lcloog -L/Volumes/rsmedia-too= lchain/.build/arm-rsmedia-linux-gnu/build/static/lib -lppl_c -lppl -lgmpxx = -static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm -L/Volumes/rsmedia-toolc= hain/.build/arm-rsmedia-linux-gnu/build/static/lib -L/Volumes/rsmedia-toolc= hain/.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