This is the mail archive of the java-prs@sourceware.cygnus.com mailing list for the Java project.


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

Re: gcj/37


The following reply was made to PR gcj/37; it has been noted by GNATS.

From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: Bryce McKinlay <bryce@albatross.co.nz>
Cc: green@cygnus.com, java-gnats@sourceware.cygnus.com
Subject: Re: gcj/37
Date: Wed, 20 Oct 1999 15:45:28 -0700 (PDT)

 Bryce McKinlay writes:
 
 > I applied your patch to yesterday's gcc tree (which compiled okay
 > for me apart from libstdc++ problems. It compiles libgcj fine)
 
 I was able to build again the java bits (compiler and RT) today on a
 RHS box.
 
 > Before the patch it compiles jbytemark from .class with -O3, and
 > from .java with -O2 (but not -O3). After applying the patch it still
 > crashes with -O3, but only on one file.
 
 Wierd. I don't see that happening. Here's what I get:
 
   apbianco@deliverance[~/support/net/PRs/37/jbyte]: uname -a
   Linux deliverance.cygnus.com 2.2.5-22smp #1 SMP Wed Jun 2 09:11:51 EDT 1999 i686 unknown
   apbianco@deliverance[~/support/net/PRs/37/jbyte]: cat /etc/issue
 
   Red Hat Linux release 6.0 (Hedwig)
   Kernel 2.2.5-22smp on an i686
 
   apbianco@deliverance[~/support/net/PRs/37/jbyte]: ~/build/egcs/i686-pc-linux-gnu/gcc/jc1 EMFloatTest.java -version -O3 -fno-use-divide-subroutine -o EMFloatTest.s -quiet
   GNU Java version 2.96 19991020 (experimental) (i686-pc-linux-gnu) compiled by GNU C version 2.96 19991005 (experimental).
  apbianco@deliverance[~/support/net/PRs/37/jbyte]: 
 
 > Program received signal SIGSEGV, Segmentation fault.
 > 0x80c78a6 in output_constant (exp=0x82aeb4c, size=1) at ../../gcc/varasm.c:4014
 > 4014      register enum tree_code code = TREE_CODE (TREE_TYPE (exp));
 > (gdb) bt
 
 OK. I have two questions:
 
   - Can you do a `p ((tree)0x82aeb4c)->common.type' and a 
     `p debug_tree (0x82b1268)' and send me the result?
   - Is it an up-to-date java/ source tree that you patched?
 
 > BTW: "pop_obstack ()" should be "pop_obstacks ()" I presume?
 
 Absolutely. I was going to post a revised patch. Sorry.
 
 ./A

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