This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi everyone, I am trying to build an XScale tool-chain (for PXA255). Using Crosstool 0.31, I get a weird error building Binutils. Using the demo-arm-xscale.sh, with either: eval `cat arm-xscale.dat gcc-3.4.1-glibc-20040827.dat` sh all.sh --notest or: eval `cat arm-xscale.dat gcc-3.4.2-glibc-20040827.dat` sh all.sh --notest gives errors (see transcript below). Has anyone had this problem before, and know how to fix it? Cheers, Hugo Vincent. --------------------------------------------------------------------------- gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils -I. -D_GNU_SOURCE -I. -I/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils -I../bfd -I/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/../bfd -I/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/../include -I/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/../intl -I../intl -DLOCALEDIR="\"/opt/crosstool/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/emul_vanilla.c /bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o ar arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a -ldl gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o ar arparse.o arlex.o ar.o not-ranlib.o arsup.o rename.o binemul.o emul_vanilla.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl ar.o(.text+0x670): In function `main': /home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/ar.c:342: multiple definition of `main' arlex.o(.text +0x0):/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/build-binutils/binutils/arlex.c:1: first defined here /usr/bin/ld: Warning: size of symbol `main' changed from 15 in arlex.o to 1899 in ar.o bucomm.o(.text+0xa09): In function `make_tempname': /home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp' arparse.o(.text+0x57c): In function `yyparse': /home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/build-binutils/binutils/y.tab.c:1014: undefined reference to `yylex' arparse.o(.text+0x5ae): In function `yyerror': /home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/binutils-2.15.91.0.2/binutils/arparse.y:201: undefined reference to `linenumber' collect2: ld returned 1 exit status make[3]: *** [ar] Error 1 make[3]: Leaving directory `/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/build-binutils/binutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/build-binutils/binutils' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/home/hugo/Projects/albatross-dev/toolchain/crosstool-0.31/build/arm-xscale-linux-gnu/gcc-3.4.1-glibc-20040827/build-binutils/binutils' make: *** [all-binutils] Error 2 ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |