Problems using crosstool-0.42 with Arm

Heilpern, Mark
Thu Oct 19 15:50:00 GMT 2006

I am trying to use crosstool (version 0.42) to create a variety of Arm cross compilers. So far I've been unable to get a compiler to be created.
My development host is an x86 running Fedora Core 5; the host compiler's -v output displays: gcc version 4.1.1 20060525 (Red Hat 4.1.1-1).

I've been using the "" script as a base, where my only edits have been to remove the comment from a (random) eval line, such that only one eval can run.
Below are some of the errors I've received (only the final lines of output). I've tried one of these as an i386 build rather than Arm, and it ran succesfully.

Thank you very much for any help you can offer.

For eval `cat arm.dat gcc-2.95.3-glibc-2.1.3.dat` sh --notest:
/home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function âarm_override_optionsâ:
/home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
/home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: invalid lvalue in assignment
make[1]: *** [arm.o] Error 1
make[1]: Leaving directory `/home/heilpern/crosstool-0.42/build/arm-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc'
make: *** [all-gcc] Error 2

For eval `cat arm.dat gcc-2.95.3-glibc-2.2.2.dat` sh --notest:
I suspect I would have the same results as above, because crosstool-0.38 gave these results for both of these.

For eval `cat arm.dat gcc-3.4.2-glibc-2.3.3.dat`  sh --notest:
+ mkdir -p /opt/crosstool/gcc-3.4.2-glibc-2.3.3/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
+ test -z ''
+ test -f /home/heilpern/crosstool-0.42/arm.config
+ cp /home/heilpern/crosstool-0.42/arm.config .config
+ test -f .config
+ yes ''
+ make ARCH=arm oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SHIPPED scripts/kconfig/
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of âcurrent_menuâ follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of âcurrent_menuâ was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [oldconfig] Error 2

Some of the possibilities in refer to .dat files which don't exist (gcc-3.4.1-glibc-20040827.dat and gcc-4.1-20050709-glibc-2.3.2.dat).

NOTE: The information in this message is intended for the personal and confidential use
of the designated recipient(s) named above. To the extent the recipient(s) is/are bound
by a non-disclosure agreement, or other agreement that contains an obligation of
confidentiality, with AuthenTec, then this message and/or any attachments shall be
considered confidential information and subject to the confidentiality terms of that
agreement.  If the reader of this message is not the intended recipient named above, you
are notified that you have received this document in error, and any review, dissemination,
distribution or copying of this message is strictly prohibited. If you have received this
document in error, please delete the original message and notify the sender immediately.
Thank you.

AuthenTec, Inc.

For unsubscribe information see

More information about the crossgcc mailing list