On 11.07.2012, at 18:11, Alexander Graf wrote:
On 11.07.2012, at 17:14, Dirk Müller wrote:
On Sunday 08 July 2012, Alexander Graf wrote:
This is where the x86 (working) and arm (broken) cases diverge. So I'd assume the breakage is a missing LinkedHashSet implementation? Just a wild guess though.
Hi,
no. also not caused by MALLOC_CHECK_ though. after digging a bit with gdb, I suspect libffi, we're still using 3.0.9 (as part of the gcc47 source tree), while it seems that 3.0.10 (used by Fedora and Debian I think) as several arm related fixes.
http://lists.debian.org/debian-arm/2011/04/msg00091.html
seems to indicate that this might be a solution.
Well, why not just ask him? :)
[5:58pm]agraf:markos_: ping [5:58pm]agraf:markos_: you were fiddling with gcj on armhf, right? [5:59pm]agraf:markos_: what exactly was the breakage you saw there? we're currently having issues where gcj can't find classes even though it does load them [6:02pm] zyga left the chat room. (Quit: Ex-Chat) [6:04pm]markos_:agraf, well I wasn't really messing too much with gcj's internals [6:04pm]agraf:markos_: well, i did read a post from you about libffi and was wondering if that's what fixed it for you [6:04pm]agraf:markos_: also if the breakage you saw was in fact the same [6:05pm] [6:05pm]markos_:no, in fact, it was a patch from Andrew Hailey (or Haley keep forgetting), that completely fixed gcj upstream [6:05pm]agraf:oh? [6:06pm]markos_:the problem in my case wasn't gcj, but gij -which in Debian used ecj [6:06pm]markos_:gcj just builds native code [6:06pm]markos_:this worked [6:06pm]markos_:gij however didn't [6:06pm]agraf:ah, right, sorry, same here [6:06pm]agraf:gij is having trouble resolving classes [6:06pm]agraf:while running ecj [6:06pm]agraf:so it sounds very similar indeed [6:06pm]markos_:I got divisions by zero errors etc [6:07pm]agraf:can you remember what exactly the fix was and where i could find it? [6:07pm]agraf:hrm - I don't see division by zero errors, but that doesn't mean much i suppose [6:07pm]markos_:not really, as I said, it was magically fixed at one point with gcj 4.6 iirc [6:08pm]agraf:ah, ok [6:08pm]agraf:yeah, 4.6 worked for us too [6:08pm]agraf:4.7 is broken again [6:08pm]markos_:oh [6:09pm]markos_:seems to have built on debian (4.7.1-1) [6:09pm]agraf:it does build just fine [6:09pm]agraf:but executing ecj fails [6:09pm]markos_:ok, will try that here [6:09pm]agraf:would be great to see if it fails for you too, yeah
[6:12pm]markos_:tbh, I hope it doesn't fail here, hehe [6:12pm]agraf:same here, because that means we can start diff'ing [6:12pm]markos_:anyway installing the packages, will take a while now, i'm on vac and the line is just 2Mbit [6:13pm]agraf:http://lists.opensuse.org/opensuse-arm/2012-07/msg00021.html [6:13pm]agraf:if you're interested in a few more details [6:15pm]markos_:ouch, right, the HashtableOfInt [6:15pm]markos_:there was a division by zero somewhere there [6:16pm]markos_:but I see that you're still using libffi 3.0.9, while not directly related, it might be a good idea to upgrade to 3.0.10 [6:18pm]markos_:the mail linked from April 2011 suggests that libffi was the reason gcj broke, it actually wasn't, Andrew did some other fixes in gcj and got 4.6 working [6:19pm]Neko:yergh!!! [6:25pm]markos_:agraf, building ecj using gcj-4.7 now, seems to work fine [6:26pm]markos_:both stages, gcj and gij [6:26pm]agraf:markos_: odd [6:27pm]agraf:markos_: can it actually run ecj? [6:27pm]markos_:it is [6:27pm]agraf:wow [6:27pm]markos_:ecj is self-bootstrapping on debian [6:27pm]agraf:ah, makes sense [6:28pm]markos_:so using gcj to compile stuff from C/C++ but running gij +ecj afterwards to build the java stuff [6:28pm]agraf:so I suppose that's good news and means the next step would be to take a debian system, and replace our binaries bit by bit by yours until it works [6:28pm]agraf:should be close enough to make that possible [6:28pm]markos_:lots of java warning [6:28pm]markos_:or you could just take debian and stick with it [6:28pm]•markos_ runs [6:28pm]agraf:heh [6:30pm]markos_:for starters I'd suggest upgrading libffi [6:30pm]markos_:and see if it changes anything [6:30pm]agraf:nod [6:30pm]agraf:and if it doesn't, do the binary replacement fun [6:30pm]agraf:to at least narrow it down to a component [6:31pm]markos_:well, that's a way to pass the hot summer days [6:31pm]agraf:I'd be happy if they were hot -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org