[Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 )

William Harrington kb0iic at berzerkula.org
Wed Jun 12 04:12:58 PDT 2013


On Jun 10, 2013, at 10:56 PM, Daniel King wrote:

> gawk -f ../../gcc-4.8.1/gcc/opt-functions.awk -f ../../gcc-4.8.1/gcc/ 
> opt-read.awk \
>           -f ../../gcc-4.8.1/gcc/opth-gen.awk \
>           < optionlist > tmp-options.h
> /bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-options.h options.h
> echo timestamp > s-options-h
> TARGET_CPU_DEFAULT="" \
> HEADERS="auto-build.h ansidecl.h" DEFINES="" \
>    /bin/sh ../../gcc-4.8.1/gcc/mkconfig.sh bconfig.h
> g++ -c   -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous- 
> unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual - 
> Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic- 
> macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. - 
> Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../ 
> gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include - 
> I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../ 
> libdecnumber/bid -I../libdecnumber -I../../gcc-4.8.1/gcc/../ 
> libbacktrace -DCLOOG_INT_GMP    \
>        -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c

gawk -f ../../gcc-4.6.3/gcc/opt-functions.awk -f ../../gcc-4.6.3/gcc/ 
opth-gen.awk \
	       < optionlist > tmp-options.h
/bin/sh ../../gcc-4.6.3/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
	HEADERS="auto-build.h ansidecl.h" DEFINES="" \
	/bin/sh ../../gcc-4.6.3/gcc/mkconfig.sh bconfig.h
gcc -c -DIN_GCC    -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.6.3/gcc - 
I../../gcc-4.6.3/gcc/build -I../../gcc-4.6.3/gcc/../include -I../../ 
gcc-4.6.3/gcc/../libcpp/include  -I../../gcc-4.6.3/gcc/../libdecnumber  
-I../../gcc-4.6.3/gcc/../libdecnumber/bid -I../libdecnumber  - 
DCLOOG_INT_GMP -DCLOOG_ORG  \
		-o build/genconstants.o ../../gcc-4.6.3/gcc/genconstants.c

Before we moved to 4.8.1, I have old build logs of when we used 4.6.3  
and above is the result. Something has changed in 4.8.1, specifically  
using g++ during this part.
I installed the debian dev packages for gmp mpfr and mpc and had a  
successful build. I think it is proper. Kinda strange, too! Strange  
and proper!
Sincerely,
William Harrington



More information about the Clfs-support mailing list