* profiledbootstrap broken on powerpc-apple-darwin
@ 2004-09-08 21:27 Caroline Tice
2004-09-08 23:30 ` Mike Stump
0 siblings, 1 reply; 4+ messages in thread
From: Caroline Tice @ 2004-09-08 21:27 UTC (permalink / raw)
To: gcc-patches@gcc.gnu.org Patches; +Cc: gcc
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?
-- Caroline Tice
ctice@apple.com
stage1/xgcc -Bstage1/ -B/usr/local/powerpc-apple-darwin7.0.0/bin/ -c
-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 -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I.
-I../../gcc5/gcc -I../../gcc5/gcc/. -I../../gcc5/gcc/../include
-I../../gcc5/gcc/../libcpp/include
-I../../gcc5/gcc/../libbanshee/libcompat -I../../gcc5/gcc/../libbanshee
-I../../gcc5/gcc/../libbanshee/points-to \
gengtype-yacc.c -o gengtype-yacc.o
/usr/share/bison.simple: In function `yyparse':
/usr/share/bison.simple:249: warning: old-style function definition
/usr/share/bison.simple:614: warning: comparison between signed and
unsigned
/usr/share/bison.simple:626: warning: comparison between signed and
unsigned
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
warning: structure `aterm_list_a' used but not defined
warning: structure `aterm_' used but not defined
make[2]: *** [s-gtype] Bus error
make[1]: *** [stageprofile_build] Error 2
make: *** [profiledbootstrap] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: profiledbootstrap broken on powerpc-apple-darwin
2004-09-08 21:27 profiledbootstrap broken on powerpc-apple-darwin Caroline Tice
@ 2004-09-08 23:30 ` Mike Stump
2004-09-09 0:38 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Mike Stump @ 2004-09-08 23:30 UTC (permalink / raw)
To: Caroline Tice; +Cc: gcc, gcc-patches@gcc.gnu.org Patches
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].... :-(
*** config/darwin.h.~1~ Wed Dec 10 17:22:30 2003
--- config/darwin.h Thu Jan 22 18:03:20 2004
*************** objc_section_init (void) \
*** 712,717 ****
--- 712,729 ----
#define GLOBAL_ASM_OP ".globl "
#define TARGET_ASM_GLOBALIZE_LABEL darwin_globalize_label
+ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGNMENT)
\
+ do {
\
+ unsigned int localsize = SIZE;
\
+ if (localsize == 0)
\
+ ++localsize;
\
+ if (FILE)
\
+ fprintf (FILE, "\t.zerofill __DATA,__bss,");
\
+ assemble_name (FILE, NAME);
\
+ fprintf (FILE, ",%u,%d\n", localsize,
\
+ floor_log2 (ALIGNMENT / BITS_PER_UNIT));
\
+ } while (0)
+
/* Emit an assembler directive to set visibility for a symbol. Used
to support visibility attribute and Darwin's private extern
feature. */
--------------
is the patch, just in case someone else wants a simpler testcase... In
time, I'll have to tack this down if I want my patch in... While I
think this may be the same problem, it might not be...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: profiledbootstrap broken on powerpc-apple-darwin
2004-09-08 23:30 ` Mike Stump
@ 2004-09-09 0:38 ` Daniel Jacobowitz
2004-09-09 11:55 ` Paolo Bonzini
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2004-09-09 0:38 UTC (permalink / raw)
To: Mike Stump; +Cc: Caroline Tice, gcc, gcc-patches@gcc.gnu.org Patches
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: profiledbootstrap broken on powerpc-apple-darwin
2004-09-09 0:38 ` Daniel Jacobowitz
@ 2004-09-09 11:55 ` Paolo Bonzini
0 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2004-09-09 11:55 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Caroline Tice, gcc, gcc-patches@gcc.gnu.org Patches
> 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.
Well, people can try --enable-bootstrap now. I've posted a call for
testing a few days ago.
Paolo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-09-09 11:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-08 21:27 profiledbootstrap broken on powerpc-apple-darwin Caroline Tice
2004-09-08 23:30 ` Mike Stump
2004-09-09 0:38 ` Daniel Jacobowitz
2004-09-09 11:55 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).