* Bootstrap failure on alphaev56-unknown-linux-gnu
@ 2002-12-22 22:39 Jeff Sturm
2002-12-26 9:09 ` Jeff Sturm
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Sturm @ 2002-12-22 22:39 UTC (permalink / raw)
To: gcc; +Cc: rth
This patch:
> 2002-12-20 Richard Henderson <rth@redhat.com>
>
> * config/alpha/alpha.c (decl_has_samegp): New.
> (samegp_function_operand): Use it. Rename from
> current_file_function_operand.
> (direct_call_operand): Handle -msmall-text via symbol->jump.
> (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
> (tls_symbolic_operand_type): Likewise.
> (alpha_encode_section_info): Likewise. Handle -msmall-text.
> (alpha_function_ok_for_sibcall): Use decl_has_samegp.
> (alpha_end_function): Set symbol->jump for functions defined in
> the text section.
> * config/alpha/alpha-protos.h: Update.
> * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
> (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
> (PREDICATE_CODES): Update.
> * config/alpha/alpha.md (call patterns): Update for
> samegp_function_operand rename; use !samegp reloc if
> TARGET_EXPLICIT_RELOCS.
> * doc/invoke.text: Document -msmall-text and -mlarge-text.
appears to cause a bootstrap failure on mainline:
stage1/xgcc -Bstage1/ -B/opt/gcc/alphaev56-unknown-linux-gnu/bin/ -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE -o gengtype \
gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype
make[2]: *** [s-gtype] Segmentation fault (core dumped)
I'll take a closer look later today.
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrap failure on alphaev56-unknown-linux-gnu
2002-12-22 22:39 Bootstrap failure on alphaev56-unknown-linux-gnu Jeff Sturm
@ 2002-12-26 9:09 ` Jeff Sturm
2002-12-26 12:50 ` Jeff Sturm
2002-12-26 23:27 ` Richard Henderson
0 siblings, 2 replies; 4+ messages in thread
From: Jeff Sturm @ 2002-12-26 9:09 UTC (permalink / raw)
To: gcc; +Cc: rth
On Sun, 22 Dec 2002, Jeff Sturm wrote:
> > 2002-12-20 Richard Henderson <rth@redhat.com>
> >
> > * config/alpha/alpha.c (decl_has_samegp): New.
> > (samegp_function_operand): Use it. Rename from
> > current_file_function_operand.
> > (direct_call_operand): Handle -msmall-text via symbol->jump.
> > (tls_symbolic_operand_1): Use T for tprel64, t for smaller tprel.
> > (tls_symbolic_operand_type): Likewise.
> > (alpha_encode_section_info): Likewise. Handle -msmall-text.
> > (alpha_function_ok_for_sibcall): Use decl_has_samegp.
> > (alpha_end_function): Set symbol->jump for functions defined in
> > the text section.
> > * config/alpha/alpha-protos.h: Update.
> > * config/alpha/alpha.h (MASK_SMALL_TEXT, TARGET_SMALL_TEXT): New.
> > (TARGET_SWITCHES): Add -msmall-text and -mlarge-text.
> > (PREDICATE_CODES): Update.
> > * config/alpha/alpha.md (call patterns): Update for
> > samegp_function_operand rename; use !samegp reloc if
> > TARGET_EXPLICIT_RELOCS.
> > * doc/invoke.text: Document -msmall-text and -mlarge-text.
>
> appears to cause a bootstrap failure on mainline:
The trouble starts below around the bsr instruction:
ldq $27,create_scalar_type($29) !literal!24
jsr $26,($27),0 !lituse_jsr!24
ldah $29,0($26) !gpdisp!25
lda $29,0($29) !gpdisp!25
ldq $16,16($15)
mov $0,$17
ldq $18,24($15)
bsr $26,do_typedef !samegp
No procedure value (r27) is initialized by the bsr call, so do_typedef
starts with the wrong gp.
Previously this would've called the nogp entry point. Is there some
other magic having to do with the samegp reloc?
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrap failure on alphaev56-unknown-linux-gnu
2002-12-26 9:09 ` Jeff Sturm
@ 2002-12-26 12:50 ` Jeff Sturm
2002-12-26 23:27 ` Richard Henderson
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Sturm @ 2002-12-26 12:50 UTC (permalink / raw)
To: gcc; +Cc: rth
On Wed, 25 Dec 2002, Jeff Sturm wrote:
> Previously this would've called the nogp entry point. Is there some
> other magic having to do with the samegp reloc?
Apparently so... I updated my src tree and things are now progressing
through stage2.
Sorry to bother the list.
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bootstrap failure on alphaev56-unknown-linux-gnu
2002-12-26 9:09 ` Jeff Sturm
2002-12-26 12:50 ` Jeff Sturm
@ 2002-12-26 23:27 ` Richard Henderson
1 sibling, 0 replies; 4+ messages in thread
From: Richard Henderson @ 2002-12-26 23:27 UTC (permalink / raw)
To: Jeff Sturm; +Cc: gcc
On Wed, Dec 25, 2002 at 11:04:19AM -0500, Jeff Sturm wrote:
> bsr $26,do_typedef !samegp
>
> No procedure value (r27) is initialized by the bsr call,
Indeed.
> Previously this would've called the nogp entry point. Is there some
> other magic having to do with the samegp reloc?
Update binutils?
r~
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-26 20:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-22 22:39 Bootstrap failure on alphaev56-unknown-linux-gnu Jeff Sturm
2002-12-26 9:09 ` Jeff Sturm
2002-12-26 12:50 ` Jeff Sturm
2002-12-26 23:27 ` Richard Henderson
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).