This is the mail archive of the gcc@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]

Unreviewed patch (was: another bootstrap failure onsparc-sun-solaris28in cp/xref.o)


On Wed, 26 Sep 2001, Brad Lucier wrote:
> Bootstrap still fails with the month-old problem diagnosed with a
> proposed fix in this patch
>
> http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00488.html
>
> which has not yet been reviewed to my knowledge.

Could someone please review this patch?  The problem seems to hurt a
number of people (including GCC developers and testers).

Excerpt: Attempting to bootstrap on Solaris SPARC fails with:

  /usr/local/build/sparc-sun-solaris2.7/GNU/gcc-current/gcc/xgcc
  -B/usr/local/build/sparc-sun-solaris2.7/GNU/gcc-current/gcc/
  -B/usr/local/sparc-sun-solaris2.7/bin/
  -B/usr/local/sparc-sun-solaris2.7/lib/ -isystem
  /usr/local/sparc-sun-solaris2.7/include -fgnu-runtime -c -I.
  -I../../../../../../src/GNU/gcc-current/libobjc -g -O2 -DHAVE_GTHR_DEFAULT
  -DIN_GCC -DIN_TARGET_LIBS
  -I../../../../../../src/GNU/gcc-current/libobjc/objc
  -I../../../../../../src/GNU/gcc-current/libobjc/../gcc
  -I../../../../../../src/GNU/gcc-current/libobjc/../gcc/config -I../../gcc
  -I../../../../../../src/GNU/gcc-current/libobjc/../include
  ../../../../../../src/GNU/gcc-current/libobjc/linking.m -o linking.o
  /usr/ccs/bin/as: "/var/tmp//ccwjdWLL.s", line 171: error: cannot use v9 instructions in a non-v9 target binary
  make[2]: *** [linking.lo] Error 1

  due to gcc outputing .uaxword which the Sun assembler dislikes when
  targeting the 32 bit instruction set.
  [...]
  Wed Sep 12 22:50:19 EDT 2001  John Wehle  (john@feith.com)

        * dwarf2asm.c (unaligned_integer_asm_op): Delete.
        (dw2_asm_output_data): Use assemble_integer in place
        of unaligned_integer_asm_op.
        (dw2_asm_output_delta): Likewise.
        (dw2_asm_output_offset): Likewise.
        (dw2_asm_output_pcrel): Likewise.
        (dw2_asm_output_addr): Likewise.
        (dw2_asm_output_addr_rtx): Likewise.
        (dw2_asm_output_encoded_addr_rtx): Likewise.
        * sparc/sysv4.h (UNALIGNED_DOUBLE_INT_ASM_OP): Use
        only if TARGET_ARCH64.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]