From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22219 invoked by alias); 25 Sep 2016 12:08:47 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 22187 invoked by uid 89); 25 Sep 2016 12:08:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:java@gc, experiencing, sk:bugzill, Hx-languages-length:2213 X-HELO: mail-wm0-f51.google.com Received: from mail-wm0-f51.google.com (HELO mail-wm0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 25 Sep 2016 12:08:35 +0000 Received: by mail-wm0-f51.google.com with SMTP id w84so105492473wmg.1 for ; Sun, 25 Sep 2016 05:08:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=CmDvLTopmDAHYHMcOKCU+cCaMWJDWoYt1YVBm87T5xc=; b=WIcesP7f06XdExQfgxLYwjiP1zyOkckv+w0uOmz8lNZjdvMtOejlLjwe6tJiRCR/68 IW7PB+JykAetO6qgZdUYBKuq+17ENXmrAvypuzcSPXCaVDyb1Pej2zmj2PFWO7l9Mj1Q R/tIppOW1aBOXhDJmTvULexv4w9SCSbEmspQDoXFVbdM7kG7AjcJmMb0RFoL5663Kmpk knz+fBlUL8If5qV7xAw4Lv/4NVRPeWI9ix1FqLNOVcXW3b4WdrCaMqHbCS2RQZr3zTrm eRKoyBuA/iewWU4gppueAlyXTtMx0h3/bymJMH5csKpXUanTSXFEMbptTYgPrm3GdhE8 WQMA== X-Gm-Message-State: AA6/9RlpO8vHwKEouecGIB0scZYfXXRmh+RzNlRYxJcpn43knuy9oqEavIvmvHvD1+/jNDO+hd0IIIOMRHXWVA== X-Received: by 10.194.235.69 with SMTP id uk5mr13974480wjc.53.1474805312635; Sun, 25 Sep 2016 05:08:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.143.98 with HTTP; Sun, 25 Sep 2016 05:08:12 -0700 (PDT) In-Reply-To: References: From: "Matwey V. Kornilov" Date: Sun, 25 Sep 2016 12:08:00 -0000 Message-ID: Subject: Re: gij 4.8 on armv7l To: java@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00000.txt.bz2 FYI, back-porting the following commit https://github.com/matwey/libffi/commit/5912607e0a4fd9638c14ebd523f5d2188da583e8 fixes the issue. 2016-07-10 14:57 GMT+03:00 Matwey V. Kornilov : > Hello, > > I am running gcc 4.8.5 and experiencing the following issue with java > on armv7l architecture. > I think that issue can be related to gnu java code runtime interpreter. > > Apache ant fails with the following trace when run using gij: > > [ 76s] /home/abuild/rpmbuild/BUILD/xml-commons-1.3.04/xml-commons-1_0_b2/build.xml:49: > The following error occurred while executing this line: > [ 76s] /home/abuild/rpmbuild/BUILD/xml-commons-1.3.04/xml-commons-1_0_b2/java/external/build.xml:120: > java.lang.IllegalArgumentException: 16877=40755 will not fit in octal > number buffer of length -1292065064 > [ 76s] at org.apache.tools.tar.TarUtils.formatUnsignedOctalString(TarUtils.java:387) > [ 76s] at org.apache.tools.tar.TarUtils.formatLongOctalBytes(TarUtils.java:440) > [ 76s] at org.apache.tools.tar.TarUtils.formatLongOctalOrBinaryBytes(TarUtils.java:470) > [ 76s] at org.apache.tools.tar.TarEntry.writeEntryHeaderField(TarEntry.java:866) > [ 76s] at org.apache.tools.tar.TarEntry.writeEntryHeader(TarEntry.java:819) > [ 76s] at org.apache.tools.tar.TarOutputStream.putNextEntry(TarOutputStream.java:305) > [ 76s] at org.apache.tools.ant.taskdefs.Tar.tarResource(Tar.java:480) > [ 76s] at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java:354) > [ 76s] at org.apache.tools.ant.taskdefs.Tar.tar(Tar.java:669) > [ 76s] at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:314) > > Where -1292065064 randomly changes with every restart. An issue here > that the length is a constant in essence. I checked that the same > ant.jar run fine with oracle java 1.8.0. > It would be great if you could point me how to try to debug and solve > this issue. > > See also: > https://bz.apache.org/bugzilla/show_bug.cgi?id=59771 > https://bugzilla.novell.com/show_bug.cgi?id=988274 > > -- > With best regards, > Matwey V. Kornilov > http://blog.matwey.name > xmpp://0x2207@jabber.ru -- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru