This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc 4.9.0 do not build on OSX
- From: "Franzi Edo." <edo dot franzi at ukos dot ch>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 3 May 2014 14:57:19 +0200
- Subject: gcc 4.9.0 do not build on OSX
- Authentication-results: sourceware.org; auth=none
Hi,
I am trying to build a gcc-4.9.0 ARM cross compiler on OSX Mavericks unsuccessfully.
My toolchain works fine with the previous version 4.8.2 but on the 4.9.0 I have this error during the gcc building pass 1.
/opt/uKOS/Packages/gcc-4.9.0/gcc/config/arm/neon.md:3486:10917: fatal error:
bracket nesting level exceeded maximum of 256
/opt/uKOS/Packages/gcc-4.9.0/gcc/config/arm/neon.md:3486:10917: note: use
-fbracket-depth=N to increase maximum nesting level
32 warnings and 1 error generated.
make[1]: *** [insn-attrtab.o] Error 1
make: *** [all-gcc] Error 2
Error building gcc pass 1
So, I tried to increase the number of nesting level as indicated (-fbracket-depth=1024) but I get the same error.
I use these packages:
GMP_VER=6.0.0
MPFR_VER=3.1.2
MPC_VER=1.0.2
BIN_VER=2.24
GCC_VER=4.9.0
NLB_VER=2.1.0
GDB_VER=7.7
The configure for the pass 1 is:
export GCC1_CONFIG=" \
--enable-interwork \
--enable-languages=c,c++ \
--with-newlib \
--with-headers=${PATH_TOOLS_GCC}/Packages/newlib-${NLB_VER}/newlib/libc/include \
--with-mpfr=${PATH_TOOLS_GCC}/cross/mpfr-${MPFR_VER} \
--with-gmp=${PATH_TOOLS_GCC}/cross/gmp-${GMP_VER} \
--with-mpc=${PATH_TOOLS_GCC}/cross/mpc-${MPC_VER}"
Any idea?
Regards,
Edo