This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: profiledbootstrap broken on powerpc-apple-darwin
On Wed, Sep 08, 2004 at 04:30:37PM -0700, Mike Stump wrote:
> On Sep 8, 2004, at 2:26 PM, Caroline Tice wrote:
> >I'm getting the following failures doing a profiled bootstrap using
> >FSF mainline on a G4 running powerpc-apple-darwin. Normal bootstrap
> >works fine, and profiled bootstrap appears to work on x86 running
> >Linux. I believe this has been broken since last Friday. Does
> >anybody have any ideas as to who/what broke this?
>
> >stage1/xgcc -Bstage1/ -B/usr/local/powerpc-apple-darwin7.0.0/bin/ -g
> >-O2 -mdynamic-no-pic -fprofile-generate -DIN_GCC -W -Wall
> >-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
> >-Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror
> >-fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype \
> > gengtype.o gengtype-lex.o gengtype-yacc.o
> >../build-powerpc-apple-darwin7.0.0/libiberty/libiberty.a
> >./gengtype
>
> >make[2]: *** [s-gtype] Bus error
>
> Ah! Cool, someone else is seeing this... I was seeing it with a patch
> that should not have failed to bootstrap. I wonder if someone killed
> binary compatibility between stage1/stage[^1].... :-(
They're already pretty much incompatible on Darwin: at least on the
system I tried, GCC 3.3 in /usr/bin defaults to 4-byte alignment of
fields, and FSF GCC defaults to natural alignment.
We really need to start three-staging the other directories; I wonder
if libcpp is affected by this? It still uses H_W_I in some cases.
--
Daniel Jacobowitz