jsnyder/arm-eabi-toolchain — Issue #14: Build of 2011.09-69 on Mac OS X
Author: ilg-ul
Created: 2012-01-15 21:32:11+00:00
State: open

I tried to build the latest Sourcery CodeBench Lite 2011.09-69 for ARM EABI on latest Mac OS X 10.7.2 Lion & Xcode 4.2.1, and the build completes for cross-binutils but fails for cross-gcc.

the configuration I used was

if [ MENTOR_RELEASE = 2032 ]
then
export CS_BASE=2011.09
export CS_REV=69
export GCC_VERSION=4.6
export MPC_VERSION=0.8.1
export SOURCE_PACKAGE=9739
export BIN_PACKAGE=9740
export SOURCE_MD5_CHCKSUM=ebe25afa276211d0e88b7ff0d03c5345
export BIN_MD5_CHECKSUM=2f2d73429ce70dfb848d7b44b3d24d3f
fi

the console log:

/Users/ilg/Work/NoBackup/arm-cs-tools-2032-20120115/jsnyder-arm-eabi-toolchain-706e734/build/gcc/./gcc/xgcc -B/Users/ilg/Work/NoBackup/arm-cs-tools-2032-20120115/jsnyder-arm-eabi-toolchain-706e734/build/gcc/./gcc/ -B/Users/ilg/Developer/Cross/arm-cs-tools-2032-20120115/arm-none-eabi/bin/ -B/Users/ilg/Developer/Cross/arm-cs-tools-2032-20120115/arm-none-eabi/lib/ -isystem /Users/ilg/Developer/Cross/arm-cs-tools-2032-20120115/arm-none-eabi/include -isystem /Users/ilg/Developer/Cross/arm-cs-tools-2032-20120115/arm-none-eabi/sys-include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../../gcc-4.6-2011.09/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../../../gcc-4.6-2011.09/libiberty/cp-demangle.c -o cp-demangle.o
../../../../gcc-4.6-2011.09/libiberty/regex.c:51:25: fatal error: sys/types.h: No such file or directory
compilation terminated.
In file included from ../../../../gcc-4.6-2011.09/libiberty/cplus-dem.c:46:0:
../../../../gcc-4.6-2011.09/libiberty/../include/safe-ctype.h:122:19: fatal error: ctype.h: No such file or directory
compilation terminated.
make[3]: *** [regex.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [cplus-dem.o] Error 1
../../../../gcc-4.6-2011.09/libiberty/cp-demangle.c:106:19: fatal error: stdio.h: No such file or directory
compilation terminated.
make[3]: *** [cp-demangle.o] Error 1
make[2]: *** [all-target-libiberty] Error 2
make[2]: *** Waiting for unfinished jobs....
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../gcc-4.6-2011.09/libquadmath
with_multisubdir=armv6-m
Running configure in multilib subdir thumb2

it looks like something changed with the headers...

Liviu