[Bug bootstrap/37739] [4.4 Regression] bootstrap broken with core gcc > gcc-4.2.x
------- Comment #13 from mikpe at it dot uu dot se 2009-06-11 00:01 -------
(In reply to comment #11)
Not quite. I'm trying to build gcc-4.4-20090609 on powerpc64-unknown-linux-gnu,
with binutils 188.8.131.52.6-6, configured with --enable-languages=c,ada
--with-cpu=default32 --disable-shared, and the first attempt to link gnat1
fails with R_PPC_REL24 errors similar to those shown earlier in this PR entry.
A look in the build log shows that the host C compiler is invoked with -O1
while building the C parts of stage1, but the host gnat is invoked with no
optimisation flags at all. It seems that the workaround to pass -O1 when
--relax is missing isn't propagated into the Ada parts.
If I set CC='gcc -O2' during the initial configure step the build succeeds.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.