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]
Other format: [Raw text]

bootstrap failure in sparc boehm


I did:

( cd $HOME/net/gcc &&
  $HOME/net/gcc/contrib/gcc_update -A -d; )

ld=/usr/ccs/bin/ld

if [ ! -f Makefile ]; then
    LD=$ld ../gcc/configure --prefix=$HOME/packages/gcc-`date "+%Y%m%d"`
fi

nice make -j5 LD=$ld LD_FOR_TARGET=$ld bootstrap &&
 { nice make LD=$ld -k check
   $HOME/net/gcc/contrib/test_summary | sh -x
 }

yesterday on a sparc-sun-solaris2.7 machine, and got:

/bin/sh ./libtool --mode=compile /kankakee1/tmp/mrs/net/gcc-sol/gcc/xgcc -B/kankakee1/tmp/mrs/net/gcc-sol/gcc/ -B/folk/mrs/packages/gcc-20020213/sparc-sun-solaris2.7/bin/ -B/folk/mrs/packages/gcc-20020213/sparc-sun-solaris2.7/lib/ -isystem /folk/mrs/packages/gcc-20020213/sparc-sun-solaris2.7/include  -m64 -DGC_SOLARIS_THREADS=1 -DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1  -I. -I../../../../gcc/boehm-gc  -I../../../../gcc/boehm-gc/include   -I././targ-include -I./../../../../gcc/boehm-gc/./libc/include -g -O2  -m64 -c ../../../../gcc/boehm-gc/sparc_mach_dep.S
/kankakee1/tmp/mrs/net/gcc-sol/gcc/xgcc -B/kankakee1/tmp/mrs/net/gcc-sol/gcc/ -B/folk/mrs/packages/gcc-20020213/sparc-sun-solaris2.7/bin/ -B/folk/mrs/packages/gcc-20020213/sparc-sun-solaris2.7/lib/ -isystem /folk/mrs/packages/gcc-20020213/sparc-sun-solaris2.7/include -m64 -DGC_SOLARIS_THREADS=1 -DGC_SOLARIS_PTHREADS=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I. -I../../../../gcc/boehm-gc -I../../../../gcc/boehm-gc/include -I././targ-include -I./../../../../gcc/boehm-gc/./libc/include -g -O2 -m64 -c ../../../../gcc/boehm-gc/sparc_mach_dep.S  -fPIC -DPIC -o .libs/sparc_mach_dep.o
/usr/ccs/bin/as: "/var/tmp//ccCke7k7.s", line 44: error: unknown opcode "asm"
/usr/ccs/bin/as: "/var/tmp//ccCke7k7.s", line 44: error: missing ')'
/usr/ccs/bin/as: "/var/tmp//ccCke7k7.s", line 44: error: statement syntax
/usr/ccs/bin/as: "/var/tmp//ccCke7k7.s", line 43: warning: invalid use of DCTI couple, produces implementation-dependent result
make[4]: *** [sparc_mach_dep.lo] Error 1
make[4]: Leaving directory `/kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/sparcv9/boehm-gc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/boehm-gc'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/boehm-gc'
make[1]: *** [all-target-boehm-gc] Error 2
make: *** [bootstrap] Error 2


1.1          (bryce    31-Jan-02):      bgu,pt %xcc, loop       ! if (p > limit)
 goto loop
1.1          (bryce    31-Jan-02):           asm("add %o3,-8,%o3        ! p -= 8
 (delay slot)
1.1          (bryce    31-Jan-02):      retl

:-( I can't imagine anyone ever built this...  Below is a patch I used
to get it past this failure...  Someone want to fix this?  I hate to
put the below patch in as I'd rather have an expert give that file a
once over to see if there are other things wrong with it.


Doing diffs in .:
*** ./boehm-gc/sparc_mach_dep.S.~1~	Tue Feb 12 21:38:39 2002
--- ./boehm-gc/sparc_mach_dep.S	Thu Feb 14 12:01:58 2002
*************** loop:
*** 37,43 ****
  	stx %g0,[%o3]		! *(long *)p = 0
  	cmp %o3,%o1
  	bgu,pt %xcc, loop	! if (p > limit) goto loop
!           asm("add %o3,-8,%o3	! p -= 8 (delay slot)
  	retl
      	  mov %o2,%sp		! Restore sp., delay slot	
  #else  /* 32 bit SPARC */
--- 37,43 ----
  	stx %g0,[%o3]		! *(long *)p = 0
  	cmp %o3,%o1
  	bgu,pt %xcc, loop	! if (p > limit) goto loop
!         add %o3,-8,%o3		! p -= 8 (delay slot)
  	retl
      	  mov %o2,%sp		! Restore sp., delay slot	
  #else  /* 32 bit SPARC */
--------------


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