Re: SimpleDateFormat
- - <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
I compiled the code with --static and without --static both the generated code presents the same crash. I think that the previous proposal of Andew is good (to submit in mingw forum the fault) I did that in order to see if someone could reproduce /correct there. But if the fault happens also in orher architectures (Ben replay) probably the fault is present in main tree... x10 --- On Thu, 6/19/08, Andrew Haley <[email protected]> wrote: > From: Andrew Haley <[email protected]> > Subject: Re: SimpleDateFormat > To: "Ben Gardiner" <[email protected]> > Cc: "- -" <[email protected]>, [email protected] > Date: Thursday, June 19, 2008, 2:56 PM > Ben Gardiner wrote: > > > I had this crash with 4.3.0 cross compiled for > powerpc; the crash > > occurred only when I statically linked my executable > with > > -static-libgcj. It turned out to be a missing > resource. To fix this > > problem, I created an archive that had all the > *properties*.o objects > > from libgcj.a (I called it libgcj_properties.a) and > linked it with my > > application using '-Wl,--whole-archive > -lgcj_properties > > -Wl,--no-whole-archive' before the > '-static-libgcj'. > > Thank you. This definitely sounds right: fallout from the > fact that we > *still* can't dynamically link on mingw. :-( > > Andrew.