Mainline bootstrap failure on Solaris 8/Intel
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Thu May 23 12:35:00 GMT 2002
Mainline just started to fail bootstrap on Solaris 8/Intel: configured for
i386-pc-solaris2.8, the bootstrap stops at
./xgcc -B./ -B/vol/gcc/share/i386-pc-solaris2.8/bin/ -isystem /vol/gcc/share/i386-pc-solaris2.8/include -isystem /vol/gcc/share/i386-pc-solaris2.8/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I/vol/gnu/src/gcc/gcc-dist/gcc -I/vol/gnu/src/gcc/gcc-dist/gcc/. -I/vol/gnu/src/gcc/gcc-dist/gcc/config -I/vol/gnu/src/gcc/gcc-dist/gcc/../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fPIC \
-c /vol/gnu/src/gcc/gcc-dist/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
Assembler: crtstuff.c
"/var/tmp//ccDGzL0J.s", line 45 : Syntax error
"/var/tmp//ccDGzL0J.s", line 96 : Syntax error
The offending lines are
addl $_GLOBAL_OFFSET_TABLE_+[.-$.L11], %ebx
and
addl $_GLOBAL_OFFSET_TABLE_+[.-$.L17], %ebx
The $ prefixes of the local labels are the culprit; removing them allows
the file to assemble. crtstuff.[is] are included below for reference, but
i386.c (output_set_got) seems to be the culprit: compiling with -march=i686
(which sets TARGET_DEEP_BRANCH_PREDICTION) removes the failure:
if (!flag_pic || TARGET_DEEP_BRANCH_PREDICTION)
output_asm_insn ("add{l}\t{%1, %0|%0, %1}", xops);
else
output_asm_insn ("add{l}\t{%1+[.-%X2], %0|%0, %a1+(.-%X2)}", xops);
Rainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crtstuff.i.gz
Type: application/octet-stream
Size: 9531 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020523/ea84e03a/attachment.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crtstuff.s.gz
Type: application/octet-stream
Size: 813 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020523/ea84e03a/attachment-0001.obj>
More information about the Gcc-bugs
mailing list