This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14147] New: Cross-Compilation fails
- From: "joachim dot eibl at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Feb 2004 15:10:17 -0000
- Subject: [Bug c/14147] New: Cross-Compilation fails
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I've installed gcc-3.4-20040211 on a Pentium M-machine and try to crosscompile
for any 64-bit target because I want to check if my program would compile.
Targets I've tried are: alpha, mips, ia64
Neither of them completes the crosscompilation, but for different reasons. See
the error-messages further below.
- For alpha it seems to be a problem with the assembler.
- For mips the compiler doesn't have the option -EB
- For ia64 the assembler misses the option -x
Did I miss an important step before starting the gcc-build? Here is my
configure-output for the alpha-target:
joachim@toshiba:~/Documents/gcc-3.4-20040211/build_alpha2> ../configure
--prefix=/usr/local/gcc_alpha --target=alpha-pc-linux
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... alpha-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-as... no
checking for as... as
checking for i686-pc-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-linux-gnu-ld... no
checking for ld... ld
checking for i686-pc-linux-gnu-nm... no
checking for nm... nm
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-windres... no
checking for windres... windres
checking for i686-pc-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-linux-gnu-objdump... no
checking for objdump... objdump
checking for alpha-pc-linux-ar... no
checking for alpha-pc-linux-as... no
checking for alpha-pc-linux-dlltool... no
checking for alpha-pc-linux-ld... no
checking for alpha-pc-linux-nm... no
checking for alpha-pc-linux-ranlib... no
checking for alpha-pc-linux-windres... no
checking whether to enable maintainer-specific portions of Makefiles... no
updating cache ./config.cache
creating ./config.status
creating Makefile
Error on alpha-pc-linux:
joachim@toshiba:~/Documents/gcc-3.4-20040211/build_alpha> make
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/libiberty'
make[2]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/libiberty/testsuite'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/libiberty/testsuite'
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/libiberty'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/intl'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/intl'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2"
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2 -mieee"
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
"LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 -mieee"
"MAKE=make" "MAKEINFO=/home/joachim/Documents/gcc-3.4-20040211/missing
makeinfo --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET="
"SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/usr/local/gcc_alpha" "infodir=/usr/local/gcc_alpha/info"
"libdir=/usr/local/gcc_alpha/lib" "prefix=/usr/local/gcc_alpha"
"tooldir=/usr/local/gcc_alpha/alpha-pc-linux" "AR=ar" "AS=as" "CC=gcc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=all multi-do
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/zlib'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc'
/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc/xgcc
-B/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc/
-B/usr/local/gcc_alpha/alpha-pc-linux/bin/
-B/usr/local/gcc_alpha/alpha-pc-linux/lib/
-isystem /usr/local/gcc_alpha/alpha-pc-linux/include
-isystem /usr/local/gcc_alpha/alpha-pc-linux/sys-include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time \
-Dinhibit_libc -c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
/tmp/ccQc9Fb6.s: Assembler messages:
/tmp/ccQc9Fb6.s:1: Error: expected comma after "noreorder"
/tmp/ccQc9Fb6.s:2: Error: expected comma after "volatile"
/tmp/ccQc9Fb6.s:3: Error: expected comma after "noat"
/tmp/ccQc9Fb6.s:5: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:10: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:19: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:24: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:28: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:40: Error: no such instruction: `ldgp $29,0($27)'
/tmp/ccQc9Fb6.s:42: Error: no such instruction: `lda $30,-32($30)'
/tmp/ccQc9Fb6.s:43: Error: no such instruction: `stq $10,16($30)'
/tmp/ccQc9Fb6.s:44: Error: no such instruction: `lda $10,completed.1'
/tmp/ccQc9Fb6.s:45: Error: no such instruction: `stq $26,0($30)'
/tmp/ccQc9Fb6.s:46: Error: no such instruction: `stq $9,8($30)'
/tmp/ccQc9Fb6.s:47: Error: invalid character '_' in mnemonic
/tmp/ccQc9Fb6.s:48: Error: no such instruction: `extbl $1,$10,$1'
/tmp/ccQc9Fb6.s:49: Error: no such instruction: `bne $1,$L1'
/tmp/ccQc9Fb6.s:50: Error: no such instruction: `lda $9,p.0'
/tmp/ccQc9Fb6.s:51: Error: no such instruction: `br $31,$L9'
/tmp/ccQc9Fb6.s:54: Error: no such instruction: `ldq $1,0($9)'
/tmp/ccQc9Fb6.s:55: Error: no such instruction: `lda $1,8($1)'
/tmp/ccQc9Fb6.s:56: Error: no such instruction: `stq $1,0($9)'
/tmp/ccQc9Fb6.s:57: Error: no such instruction: `jsr $26,($27),0'
/tmp/ccQc9Fb6.s:58: Error: no such instruction: `ldgp $29,0($26)'
/tmp/ccQc9Fb6.s:60: Error: no such instruction: `ldq $1,0($9)'
/tmp/ccQc9Fb6.s:61: Error: no such instruction: `ldq $27,0($1)'
/tmp/ccQc9Fb6.s:62: Error: no such instruction: `bne $27,$L11'
/tmp/ccQc9Fb6.s:63: Error: no such instruction: `lda
$1,__deregister_frame_info'
/tmp/ccQc9Fb6.s:64: Error: no such instruction: `beq $1,$L6'
/tmp/ccQc9Fb6.s:65: Error: no such instruction: `lda $16,__EH_FRAME_BEGIN__'
/tmp/ccQc9Fb6.s:66: Error: no such instruction: `jsr
$26,__deregister_frame_info'
/tmp/ccQc9Fb6.s:67: Error: no such instruction: `ldgp $29,0($26)'
/tmp/ccQc9Fb6.s:69: Error: no such instruction: `lda $1,1($31)'
/tmp/ccQc9Fb6.s:70: Error: invalid character '_' in mnemonic
/tmp/ccQc9Fb6.s:71: Error: no such instruction: `insbl $1,$10,$1'
/tmp/ccQc9Fb6.s:72: Error: no such instruction: `mskbl $2,$10,$2'
/tmp/ccQc9Fb6.s:73: Error: no such instruction: `bis $1,$2,$1'
/tmp/ccQc9Fb6.s:74: Error: invalid character '_' in mnemonic
/tmp/ccQc9Fb6.s:76: Error: no such instruction: `ldq $26,0($30)'
/tmp/ccQc9Fb6.s:77: Error: no such instruction: `ldq $9,8($30)'
/tmp/ccQc9Fb6.s:78: Error: no such instruction: `ldq $10,16($30)'
/tmp/ccQc9Fb6.s:79: Error: no such instruction: `lda $30,32($30)'
/tmp/ccQc9Fb6.s:80: Error: too many memory references for `ret'
/tmp/ccQc9Fb6.s:82: Error: no such instruction: `br $29,1f'
/tmp/ccQc9Fb6.s:83: Error: no such instruction: `ldgp $29,0($29)'
/tmp/ccQc9Fb6.s:84: Error: no such instruction: `unop'
/tmp/ccQc9Fb6.s:85: Error: no such instruction: `jsr
$26,__do_global_dtors_aux'
/tmp/ccQc9Fb6.s:86: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:90: Error: alignment not a power of 2
/tmp/ccQc9Fb6.s:97: Error: no such instruction: `ldgp $29,0($27)'
/tmp/ccQc9Fb6.s:99: Error: no such instruction: `lda $30,-16($30)'
/tmp/ccQc9Fb6.s:100: Error: no such instruction: `lda
$1,__register_frame_info'
/tmp/ccQc9Fb6.s:101: Error: no such instruction: `lda $16,__EH_FRAME_BEGIN__'
/tmp/ccQc9Fb6.s:102: Error: no such instruction: `stq $26,0($30)'
/tmp/ccQc9Fb6.s:103: Error: no such instruction: `lda $17,object.2'
/tmp/ccQc9Fb6.s:104: Error: no such instruction: `beq $1,$L13'
/tmp/ccQc9Fb6.s:105: Error: no such instruction: `jsr
$26,__register_frame_info'
/tmp/ccQc9Fb6.s:106: Error: no such instruction: `ldgp $29,0($26)'
/tmp/ccQc9Fb6.s:108: Error: no such instruction: `lda $16,__JCR_LIST__'
/tmp/ccQc9Fb6.s:109: Error: no such instruction: `ldq $1,0($16)'
/tmp/ccQc9Fb6.s:110: Error: no such instruction: `beq $1,$L12'
/tmp/ccQc9Fb6.s:111: Error: no such instruction: `lda $1,_Jv_RegisterClasses'
/tmp/ccQc9Fb6.s:112: Error: no such instruction: `beq $1,$L12'
/tmp/ccQc9Fb6.s:113: Error: no such instruction: `jsr $26,_Jv_RegisterClasses'
/tmp/ccQc9Fb6.s:114: Error: no such instruction: `ldgp $29,0($26)'
/tmp/ccQc9Fb6.s:117: Error: no such instruction: `ldq $26,0($30)'
/tmp/ccQc9Fb6.s:118: Error: no such instruction: `lda $30,16($30)'
/tmp/ccQc9Fb6.s:119: Error: too many memory references for `ret'
/tmp/ccQc9Fb6.s:121: Error: no such instruction: `br $29,1f'
/tmp/ccQc9Fb6.s:122: Error: no such instruction: `ldgp $29,0($29)'
/tmp/ccQc9Fb6.s:123: Error: no such instruction: `unop'
/tmp/ccQc9Fb6.s:124: Error: no such instruction: `jsr $26,frame_dummy'
/tmp/ccQc9Fb6.s:125: Error: alignment not a power of 2
make[1]: *** [crtbegin.o] Fehler 1
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_alpha/gcc'
make: *** [all-gcc] Fehler 2
Mips-Error-message:
joachim@toshiba:~/Documents/gcc-3.4-20040211/build_mips> make
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/libiberty'
make[2]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/libiberty/testsuite'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/libiberty/testsuite'
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/libiberty'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/intl'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/intl'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2"
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2"
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
"LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make"
"MAKEINFO=/home/joachim/Documents/gcc-3.4-20040211/missing makeinfo
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/usr/local/gcc_mips" "infodir=/usr/local/gcc_mips/info"
"libdir=/usr/local/gcc_mips/lib" "prefix=/usr/local/gcc_mips"
"tooldir=/usr/local/gcc_mips/mips-linux" "AR=ar" "AS=as" "CC=gcc" "CXX=c++"
"LD=/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld"
"LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all
multi-do
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/zlib'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc'
echo "/* This file is machine generated. Do not edit. */" > tmp-gtyp.h
echo "static const char *const srcdir = " >> tmp-gtyp.h
echo "\"../../gcc\"" >> tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *const lang_files[] = {" >> tmp-gtyp.h
ll="../../gcc/cp/mangle.c ../../gcc/cp/name-lookup.h ../../gcc/cp/name-lookup.c ../../gcc/cp/cp-tree.h ../../gcc/cp/decl.h ../../gcc/cp/lex.h ../../gcc/cp/call.c ../../gcc/cp/decl.c ../../gcc/cp/decl2.c ../../gcc/cp/pt.c ../../gcc/cp/repo.c ../../gcc/cp/semantics.c ../../gcc/cp/tree.c ../../gcc/cp/parser.c ../../gcc/cp/method.c ../../gcc/c-common.c ../../gcc/c-common.h ../../gcc/c-pragma.c ../../gcc/f/com.c ../../gcc/f/com.h ../../gcc/f/ste.c ../../gcc/f/where.h ../../gcc/f/where.c ../../gcc/f/lex.c ../../gcc/java/java-tree.h ../../gcc/java/jcf.h ../../gcc/java/lex.h ../../gcc/java/parse.h ../../gcc/java/builtins.c ../../gcc/java/class.c ../../gcc/java/constants.c ../../gcc/java/decl.c ../../gcc/java/expr.c ../../gcc/java/jcf-parse.c ../../gcc/java/jcf-write.c ../../gcc/java/lang.c ../../gcc/java/mangle.c ../../gcc/java/parse.y ../../gcc/java/resource.c ../../gcc/objc/objc-act.h ../../gcc/c-parse.in ../../gcc/c-tree.h ../../gcc/c-decl.c ../../gcc/c-objc-common.c ../../gcc/c-common.c ../../gcc/c-common.h ../../gcc/c-pragma.c ../../gcc/objc/objc-act.c ../../gcc/c-lang.c ../../gcc/c-parse.in ../../gcc/c-tree.h ../../gcc/c-decl.c ../../gcc/c-common.c ../../gcc/c-common.h ../../gcc/c-pragma.c ../../gcc/c-objc-common.c
"; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp f
f f f f f java java java java java java java java java java
java java java java java objc objc objc objc objc objc objc objc
objc c c c c c c c c "; \
for f in $ff; do \
echo "\"$f\", " ; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gf="../../gcc/input.h ../../gcc/coretypes.h ../../gcc/cpplib.h
auto-host.h ../../gcc/../include/ansidecl.h ../../gcc/config/dbxelf.h ../../gcc/config/elfos.h ../../gcc/config/svr4.h ../../gcc/config/linux.h ../../gcc/config/mips/mips.h ../../gcc/config/mips/linux.h ../../gcc/defaults.h ../../gcc/../include/hashtab.h ../../gcc/../include/splay-tree.h ../../gcc/bitmap.h ../../gcc/coverage.c ../../gcc/function.h ../../gcc/rtl.h ../../gcc/optabs.h ../../gcc/tree.h ../../gcc/libfuncs.h ../../gcc/hashtable.h ../../gcc/real.h ../../gcc/varray.h ../../gcc/insn-addr.h ../../gcc/cselib.h ../../gcc/basic-block.h ../../gcc/cgraph.h ../../gcc/c-common.h ../../gcc/c-tree.h ../../gcc/alias.c ../../gcc/bitmap.c ../../gcc/cselib.c ../../gcc/cgraph.c ../../gcc/dbxout.c ../../gcc/dwarf2out.c ../../gcc/dwarf2asm.c ../../gcc/emit-rtl.c ../../gcc/except.c ../../gcc/explow.c ../../gcc/expr.c ../../gcc/fold-const.c ../../gcc/function.c ../../gcc/gcse.c ../../gcc/integrate.c ../../gcc/lists.c ../../gcc/optabs.c ../../gcc/profile.c ../../gcc/ra-build.c ../../gcc/regclass.c ../../gcc/reg-stack.c ../../gcc/cfglayout.c ../../gcc/langhooks.c ../../gcc/sdbout.c ../../gcc/stmt.c ../../gcc/stor-layout.c ../../gcc/stringpool.c ../../gcc/tree.c ../../gcc/varasm.c ../../gcc/config/mips/mips.c ../../gcc/cp/mangle.c ../../gcc/cp/name-lookup.h ../../gcc/cp/name-lookup.c ../../gcc/cp/cp-tree.h ../../gcc/cp/decl.h ../../gcc/cp/lex.h ../../gcc/cp/call.c ../../gcc/cp/decl.c ../../gcc/cp/decl2.c ../../gcc/cp/pt.c ../../gcc/cp/repo.c ../../gcc/cp/semantics.c ../../gcc/cp/tree.c ../../gcc/cp/parser.c ../../gcc/cp/method.c ../../gcc/c-common.c ../../gcc/c-common.h ../../gcc/c-pragma.c ../../gcc/f/com.c ../../gcc/f/com.h ../../gcc/f/ste.c ../../gcc/f/where.h ../../gcc/f/where.c ../../gcc/f/lex.c ../../gcc/java/java-tree.h ../../gcc/java/jcf.h ../../gcc/java/lex.h ../../gcc/java/parse.h ../../gcc/java/builtins.c ../../gcc/java/class.c ../../gcc/java/constants.c ../../gcc/java/decl.c ../../gcc/java/expr.c ../../gcc/java/jcf-parse.c ../../gcc/java/jcf-write.c ../../gcc/java/lang.c ../../gcc/java/mangle.c ../../gcc/java/parse.y ../../gcc/java/resource.c ../../gcc/objc/objc-act.h ../../gcc/c-parse.in ../../gcc/c-tree.h ../../gcc/c-decl.c ../../gcc/c-objc-common.c ../../gcc/c-common.c ../../gcc/c-common.h ../../gcc/c-pragma.c ../../gcc/objc/objc-act.c ../../gcc/c-lang.c ../../gcc/c-parse.in ../../gcc/c-tree.h ../../gcc/c-decl.c ../../gcc/c-common.c ../../gcc/c-common.h ../../gcc/c-pragma.c ../../gcc/c-objc-common.c";
\
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo " NULL};" >> tmp-gtyp.h
echo "static const char *const lang_dir_names[] = { \"c\", " >> tmp-gtyp.h
gf="cp f java objc"; \
for l in $gf; do \
echo "\"$l\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
/bin/sh ../../gcc/move-if-change tmp-gtyp.h gtyp-gen.h
gtyp-gen.h is unchanged
AWK=gawk /bin/sh ../../gcc/opts.sh \
'/bin/sh ../../gcc/move-if-change' \
options.c
options.h ../../gcc/f/lang.opt ../../gcc/java/lang.opt ../../gcc/c.opt ../../gcc/common.opt
options.h is unchanged
options.c is unchanged
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc/xgcc
-B/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc/
-B/usr/local/gcc_mips/mips-linux/bin/ -B/usr/local/gcc_mips/mips-linux/lib/
-isystem /usr/local/gcc_mips/mips-linux/include
-isystem /usr/local/gcc_mips/mips-linux/sys-include -O2 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I.
-I../../gcc -I../../gcc/. -I../../gcc/../include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time \
-Dinhibit_libc -c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
as: Unbekannte Option »-EB«
make[1]: *** [crtbegin.o] Fehler 1
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_mips/gcc'
make: *** [all-gcc] Fehler 2
ia64-error:
joachim@toshiba:~/Documents/gcc-3.4-20040211/build_ia64> make
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/libiberty'
make[2]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/libiberty/testsuite'
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/libiberty/testsuite'
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/libiberty'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/intl'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/intl'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/zlib'
: make ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2"
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2"
"INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c"
"LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=make"
"MAKEINFO=/home/joachim/Documents/gcc-3.4-20040211/missing makeinfo
--split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh"
"EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS="
"exec_prefix=/usr/local/gcc_ia64" "infodir=/usr/local/gcc_ia64/info"
"libdir=/usr/local/gcc_ia64/lib" "prefix=/usr/local/gcc_ia64"
"tooldir=/usr/local/gcc_ia64/ia64-pc-linux" "AR=ar" "AS=as" "CC=gcc" "CXX=c++"
"LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
DO=all multi-do
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/zlib'
make[1]: Entering directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc'
/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc/xgcc
-B/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc/
-B/usr/local/gcc_ia64/ia64-pc-linux/bin/
-B/usr/local/gcc_ia64/ia64-pc-linux/lib/
-isystem /usr/local/gcc_ia64/ia64-pc-linux/include
-isystem /usr/local/gcc_ia64/ia64-pc-linux/sys-include -I. -c -o crtbegin.o -x
assembler-with-cpp \
../../gcc/config/ia64/crtbegin.asm
as: Unbekannte Option »-x«
make[1]: *** [crtbegin.o] Fehler 1
make[1]: Leaving directory
`/home/joachim/Documents/gcc-3.4-20040211/build_ia64/gcc'
make: *** [all-gcc] Fehler 2
--
Summary: Cross-Compilation fails
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joachim dot eibl at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: alpha-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14147