This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

RE: The last of the troubles in Mohans 20030522 solved


 --- Øyvind_Harboe <oyvind.harboe@zylin.com> wrote: > >> I'll be happy to help you out any way I
can, but did you know that
> you 
> >> have the reproduceable case available to you?
> >
> >Well, I don't get as far as the 0-bit reloc because I run out of memory
> before 
> >then.
> 
> Hmmm.... I see the same as well. Arrggghhh...
> 
> Is the out of memory problem something that should be pursued as well?
> 
> Is it a GCJ bug?
> 
> >I've tried. see above.  
> >This is really an ld bug.  The error message comes from ld/pe-dll.c 
> >(generate_reloc), so perhaps this discussion should be moved to
> binutils list.
> 
> Darn.
> 

FWIW, here is a good demo of what may be happening, courtesy of Ralf Habacker:

http://sources.redhat.com/ml/binutils/2001-06/msg00742.html 

with attachment ldmemtest.tar.gz

While running make in Ralf's testcase, open up Task Manager or whatever its called now
and watch memory consumption.  Then edit the awk file to turn on __attribute__((dllimport)) 
marking of variables, and repeat. 

Danny

> I thought I had a reproduceable case in my bug-report.
> 
> Øyvind
>  

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check & compose your email via SMS on your Telstra or Vodafone mobile.


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