http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51999
--- Comment #1 from Steven Schweda <sms at antinode dot info> 2012-01-26
04:55:36 UTC ---
Finally made it all the way through "gmake bootstrap-lean". Got a
few more interesting complaints:
[...]
rm -f stage_current
gmake[3]: Leaving directory `/usr/local/gnu/gcc/gcc-4.7-20120114_obj'
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Comparison successful.
if :; then \
rm -rf stage2-*; \
echo timestamp > stage2-lean; \
fi
gmake[2]: Leaving directory `/usr/local/gnu/gcc/gcc-4.7-20120114_obj'
gmake[1]: Leaving directory `/usr/local/gnu/gcc/gcc-4.7-20120114_obj'
gmake[1]: Entering directory `/usr/local/gnu/gcc/gcc-4.7-20120114_obj'
mv: 0653-401 Cannot rename stage2-gcc to prev-gcc:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-gmp to prev-gmp:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-mpfr to prev-mpfr:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-mpc to prev-mpc:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-intl to prev-intl:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-libcpp to prev-libcpp:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-libdecnumber to prev-libdecnumber:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-libiberty to prev-libiberty:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-zlib to prev-zlib:
A file or directory in the path name does not exist.
mv: 0653-401 Cannot rename stage2-powerpc-ibm-aix6.1.0.0 to
prev-powerpc-ibm-aix6.1.0.0:
A file or directory in the path name does not exist.
gmake[1]: Leaving directory `/usr/local/gnu/gcc/gcc-4.7-20120114_obj'
gmake[1]: Entering directory `/usr/local/gnu/gcc/gcc-4.7-20120114_obj'
mkdir ./fixincludes
[...]
I haven't tried to figure out exactly what it was trying to do where
or why.
On the bright side, the apparent optimization problem I was seeing
with my pre-built "gcc version 4.2.0" seems to be gone with the new "gcc
version 4.7.0 20120114 (experimental) (GCC)".
blue# /usr/local2/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local2/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local2/bin/../libexec/gcc/powerpc-ibm-aix6.1.0.0/4.7.0/
lto-wrapper
Target: powerpc-ibm-aix6.1.0.0
Configured with: ../gcc-4.7-20120114/configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld
Thread model: aix
gcc version 4.7.0 20120114 (experimental) (GCC)
> If more information would be helpful, just let me know.
Still true. I saved the output from the "configure" and "gmake
bootstrap-lean" runs.
Performance on the job of current interest is worse with the new
4.7.0 20120114 (experimental) compiler than it was with the pre-built
4.2.0:
blue# time -p make -f unix/Makefile AES_WG=1 IZ_BZIP2=../iz_bzip2 LZMA=1
PPMD=1 CC=gcc generic
[...]
real 80.85
user 68.07
sys 4.03
blue# time -p make -f unix/Makefile AES_WG=1 IZ_BZIP2=../iz_bzip2 LZMA=1
PPMD=1 CC=/usr/local2/bin/gcc generic
[...]
real 115.60
user 101.77
sys 5.03
But, I didn't build the pre-built one, and it appears that some steps
were taken to make it slicker than a standard-built one:
blue# ls -l /opt/freeware/bin/gcc /usr/local2/bin/gcc
-rwxr-xr-x 1 root system 261995 Mar 22 2008
/opt/freeware/bin/gcc
-rwxr-xr-x 3 root system 3191344 Jan 25 20:43 /usr/local2/bin/gcc
blue# file /opt/freeware/bin/gcc /usr/local2/bin/gcc
/opt/freeware/bin/gcc: executable (RISC System/6000) or object module
/usr/local2/bin/gcc: executable (RISC System/6000) or object module not
stripped