This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.9.1 Status Report (2014-07-10)

Hi Chris, no way!
It is like if gcc do not take in account of my BUILD_CFLAGS="-g -O2 -fbracket-depth=1024“
I even tried N=2048!

/opt/uKOS/Packages/gcc-4.9.1/gcc/config/arm/ fatal error:
      bracket nesting level exceeded maximum of 256
/opt/uKOS/Packages/gcc-4.9.1/gcc/config/arm/ 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

here is my script for building gcc …

cd ${PATH_TOOLS_GCC}/Packages
echo "Start building:" > gcc_pass1.txt
date >> gcc_pass1.txt 

mkdir -p ${PATH_TOOLS_GCC}/builds/gcc-${GCC_VER}/${MACHINE}/gcc-${GCC_VER}
cd ${PATH_TOOLS_GCC}/builds/gcc-${GCC_VER}/${MACHINE}/gcc-${GCC_VER}
BUILD_CFLAGS="-g -O2 -fbracket-depth=1024" ${PATH_TOOLS_GCC}/Packages/gcc-${GCC_VER}/configure \
	--target=${TARGET} \
	--includedir=/usr/include \
	--prefix=${prefix} \
	--enable-multilib \
	--disable-werror \
	--disable-nls \
	--disable-libssp \
	${GCC1_CONFIG}	|| { echo "Error configuring gcc pass 1"; exit 1; }
make all-gcc 		|| { echo "Error building gcc pass 1";    exit 1; }
make install-gcc	|| { echo "Error installing gcc pass 1";  exit 1; }

cd ${PATH_TOOLS_GCC}/Packages
echo "End building:" >> gcc_pass1.txt
date >> gcc_pass1.txt 
mv gcc_pass1.txt gcc_pass1_ready.txt


On 14 Jul 2014, at 05:01, Chris Johns <> wrote:

> On 13/07/2014 3:38 am, Franzi Edo. wrote:
>> Hi James (all),
>> Thank you for all of your suggestions.
>> I tried everything unsuccessfully. Unfortunately,  the
>> make CFLAGS="-g -O2 -fbracket-depth=1024”
>> and the
>> make BUILD_CFLAGS="-g -O2 -fbracket-depth=1024”
>> do not solve the problem.
> Please add 'BUILD_CFLAGS="-g -O2 -fbracket-depth=1024”' to the configure command line before the configure script is referenced, ie:
> $ BUILD_CFLAGS="-g -O2 -fbracket-depth=1024” ../gcc-4.9.0/configure ...
> Chris

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]