public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: weber@informatik.fh-trier.de To: gcc-gnats@gcc.gnu.org Cc: weber@informatik.fh-trier.de Subject: c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option `-x' Date: Mon, 21 Jan 2002 07:36:00 -0000 [thread overview] Message-ID: <20020121153052.5710.qmail@sources.redhat.com> (raw) >Number: 5443 >Category: c >Synopsis: build cross compiler gcc 3.0.2 - as: unrecognized option `-x' >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jan 21 07:36:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Damian Weber >Release: gcc-3.0.2 >Organization: >Environment: i686-pc-linux-gnu >Description: error when building a cross compiler gcc-3.0.2 on an i686-pc-linux-gnu (for an ia64-unknown-linux) message: "as: unrecognized option `-x'" the native installed compiler on the i686 machine is a ... gcc version 2.95.3 20010315 (SuSE) (specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs) ...which is invoked using export CC=/usr/bin/gcc system type: i686-pc-linux-gnu configured using: ../gcc-3.0.2/configure --target=ia64-unknown-linux --prefix=/usr /local/ia64 preprocessed file: none my installation attempt with: make all install stops with: make[1]: Entering directory `/home/root/system/ia64/build-gcc/libiberty' make[2]: Entering directory `/home/root/system/ia64/build-gcc/libiberty/testsuite' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/root/system/ia64/build-gcc/libiberty/testsuite' make[1]: Leaving directory `/home/root/system/ia64/build-gcc/libiberty' make[1]: Entering directory `/home/root/system/ia64/build-gcc/zlib' true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/gcc" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" " CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/sh /root/home/system/i a64/gcc-3.0.2/install-sh -c" "INSTALL_DATA=/bin/sh /root/home/system/ia64/gcc-3.0. 2/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /root/home/system/ia64/gcc-3.0.2/ install-sh -c " "INSTALL_SCRIPT=/bin/sh /root/home/system/ia64/gcc-3.0.2/install-s h -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAK EINFO=makeinfo " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local/ia64" "infodir=/usr/loc al/ia64/info" "libdir=/usr/local/ia64/lib" "prefix=/usr/local/ia64" "tooldir=/usr/ local/ia64/ia64-unknown-linux" "AR=ar" "AS=as" "CC=/usr/bin/gcc" "CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do make[1]: Leaving directory `/home/root/system/ia64/build-gcc/zlib' make[1]: Entering directory `/home/root/system/ia64/build-gcc/fastjar' make[1]: Leaving directory `/home/root/system/ia64/build-gcc/fastjar' make[1]: Entering directory `/home/root/system/ia64/build-gcc/gcc' (cd intl && make all) make[2]: Entering directory `/home/root/system/ia64/build-gcc/gcc/intl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/root/system/ia64/build-gcc/gcc/intl' (cd po && make all) make[2]: Entering directory `/home/root/system/ia64/build-gcc/gcc/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/root/system/ia64/build-gcc/gcc/po' if [ -f specs.ready ] ; then \ true; \ else \ echo timestamp > specs.ready; \ fi /root/home/system/ia64/build-gcc/gcc/xgcc -B/root/home/system/ia64/build-gcc/gcc/ -B/usr/local/ia64/ia64-unknown-linux/bin/ -B/usr/local/ia64/ia64-unknown-linux/lib / -isystem /usr/local/ia64/ia64-unknown-linux/include -c -o crtbegin.o ../../gcc-3 .0.2/gcc/config/ia64/crtbegin.asm xgcc: ../../gcc-3.0.2/gcc/config/ia64/crtbegin.asm: linker input file unused becau se linking not done /root/home/system/ia64/build-gcc/gcc/xgcc -B/root/home/system/ia64/build-gcc/gcc/ -B/usr/local/ia64/ia64-unknown-linux/bin/ -B/usr/local/ia64/ia64-unknown-linux/lib / -isystem /usr/local/ia64/ia64-unknown-linux/include -c -o crtend.o ../../gcc-3.0 .2/gcc/config/ia64/crtend.asm xgcc: ../../gcc-3.0.2/gcc/config/ia64/crtend.asm: linker input file unused because linking not done /root/home/system/ia64/build-gcc/gcc/xgcc -B/root/home/system/ia64/build-gcc/gcc/ -B/usr/local/ia64/ia64-unknown-linux/bin/ -B/usr/local/ia64/ia64-unknown-linux/lib / -isystem /usr/local/ia64/ia64-unknown-linux/include -DSHARED -c -o crtbeginS.o . ./../gcc-3.0.2/gcc/config/ia64/crtbegin.asm xgcc: ../../gcc-3.0.2/gcc/config/ia64/crtbegin.asm: linker input file unused becau se linking not done /root/home/system/ia64/build-gcc/gcc/xgcc -B/root/home/system/ia64/build-gcc/gcc/ -B/usr/local/ia64/ia64-unknown-linux/bin/ -B/usr/local/ia64/ia64-unknown-linux/lib / -isystem /usr/local/ia64/ia64-unknown-linux/include -DSHARED -c -o crtendS.o ../ ../gcc-3.0.2/gcc/config/ia64/crtend.asm xgcc: ../../gcc-3.0.2/gcc/config/ia64/crtend.asm: linker input file unused because linking not done make GCC_FOR_TARGET="/root/home/system/ia64/build-gcc/gcc/xgcc -B/root/home/system /ia64/build-gcc/gcc/ -B/usr/local/ia64/ia64-unknown-linux/bin/ -B/usr/local/ia64/i a64-unknown-linux/lib/ -isystem /usr/local/ia64/ia64-unknown-linux/include" \ HOST_PREFIX="" HOST_PREFIX_1="loser-" \ AR_FOR_TARGET="ia64-unknown-linux-ar" \ AR_CREATE_FOR_TARGET="ia64-unknown-linux-ar rc" \ AR_FLAGS_FOR_TARGET="" \ OLDCC="cc" CCLIBFLAGS="-O" \ CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \ RANLIB_FOR_TARGET="ia64-unknown-linux-ranlib" \ RANLIB_TEST_FOR_TARGET="[ -f ia64-unknown-linux-ranlib ] || ( [ "i686-pc-linux-g nu" = "ia64-unknown-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \ NM_FOR_TARGET="nm" AWK="gawk" \ LIBGCC2_CFLAGS="-O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstri ct-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D_ _GCC_FLOAT_NOT_NEEDED -Dinhibit_libc" \ INCLUDES="-I. -I. -I../../gcc-3.0.2/gcc -I../../gcc-3.0.2/gcc/. -I../../gcc-3.0. 2/gcc/config -I../../gcc-3.0.2/gcc/../include" MAYBE_USE_COLLECT2="" \ CONFIG_H="tconfig.h insn-codes.h insn-flags.h" MACHMODE_H="machmode.h machmode. def" \ LIB1ASMSRC='ia64/lib1funcs.asm' \ MAKEOVERRIDES= \ -f libgcc.mk all make[2]: Entering directory `/home/root/system/ia64/build-gcc/gcc' for d in libgcc; do \ if [ -d $d ]; then true; else mkdir $d; fi \ done if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /root/home/system/ia64/build-gcc/gcc/xgcc -B/root/home/system/ia64/build-gcc/gcc/ -B/usr/local/ia64/ia64-unknown-linux/bin/ -B/usr/local/ia64/ia64-unknown-linux/lib / -isystem /usr/local/ia64/ia64-unknown-linux/include -O2 -DCROSS_COMPILE -DIN_GC C -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./ include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. - I../../gcc-3.0.2/gcc -I../../gcc-3.0.2/gcc/. -I../../gcc-3.0.2/gcc/config -I../../ gcc-3.0.2/gcc/../include -DL__divtf3 -xassembler-with-cpp -c ../../gcc-3.0.2/gcc/c onfig/ia64/lib1funcs.asm -o libgcc/./__divtf3.o as: unrecognized option `-x' make[2]: *** [libgcc/./__divtf3.o] Error 1 make[2]: Leaving directory `/home/root/system/ia64/build-gcc/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/home/root/system/ia64/build-gcc/gcc' make: *** [all-gcc] Error 2 >How-To-Repeat: obvious from description >Fix: none I can think of >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-01-21 15:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-21 7:36 weber [this message] 2002-01-21 18:33 rodrigc 2002-01-28 12:33 rodrigc 2002-01-28 12:36 Damian Weber
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020121153052.5710.qmail@sources.redhat.com \ --to=weber@informatik.fh-trier.de \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).