This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
Attachment:
crtstuff.i.gz
Description: Binary data
Attachment:
crtstuff.s.gz
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |