public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
@ 2002-01-21 7:36 weber
0 siblings, 0 replies; 4+ messages in thread
From: weber @ 2002-01-21 7:36 UTC (permalink / raw)
To: gcc-gnats; +Cc: weber
>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:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
@ 2002-01-28 12:36 Damian Weber
0 siblings, 0 replies; 4+ messages in thread
From: Damian Weber @ 2002-01-28 12:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/5443; it has been noted by GNATS.
From: Damian Weber <weber@informatik.fh-trier.de>
To: <rodrigc@gcc.gnu.org>
Cc:
Subject: Re: c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option
`-x'
Date: Mon, 28 Jan 2002 21:22:27 +0100 (CET)
Thank you - that solved the problem !
Best regards
Damian
> Subject: Re: c/5443: build cross compiler gcc 3.0.2 - as: unrecognized
> option `-x'
>
> Synopsis: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
>
> State-Changed-From-To: open->feedback
> State-Changed-By: rodrigc
> State-Changed-When: Mon Jan 21 18:33:57 2002
> State-Changed-Why:
> Did you follow all the instructions for building a cross
> compiler at:
> http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_4.html#SEC58
>
> and:
>
> http://www.objsw.com/CrossGCC/
>
> You need to build an IA64 capable version of binutils.
> The as command will then have a -x option.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
@ 2002-01-28 12:33 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-01-28 12:33 UTC (permalink / raw)
To: ellen, gcc-bugs, gcc-prs, nobody, weber
Synopsis: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Mon Jan 28 12:33:54 2002
State-Changed-Why:
Building an ia64 capable binutils solved the problem.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5443
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
@ 2002-01-21 18:33 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-01-21 18:33 UTC (permalink / raw)
To: ellen, gcc-bugs, gcc-prs, nobody, weber
Synopsis: build cross compiler gcc 3.0.2 - as: unrecognized option `-x'
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Mon Jan 21 18:33:57 2002
State-Changed-Why:
Did you follow all the instructions for building a cross
compiler at:
http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_4.html#SEC58
and:
http://www.objsw.com/CrossGCC/
You need to build an IA64 capable version of binutils.
The as command will then have a -x option.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5443
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-28 20:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-21 7:36 c/5443: build cross compiler gcc 3.0.2 - as: unrecognized option `-x' weber
2002-01-21 18:33 rodrigc
2002-01-28 12:33 rodrigc
2002-01-28 12:36 Damian Weber
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).