From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
To: java@gcc.gnu.org
Subject: Re: gij 4.8 on armv7l
Date: Sun, 25 Sep 2016 12:08:00 -0000 [thread overview]
Message-ID: <CAJs94EZa4yhiXEh+NezXRODGUhQE8qYXn0jgHdOAGGv0FWp2Kg@mail.gmail.com> (raw)
In-Reply-To: <CAJs94EanYwNbuk7cUcT743uJepeTOwt0dsD+kUgpQW9UqHZX+g@mail.gmail.com>
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 <matwey.kornilov@gmail.com>:
> 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
prev parent reply other threads:[~2016-09-25 12:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-10 11:57 Matwey V. Kornilov
2016-09-25 12:08 ` Matwey V. Kornilov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJs94EZa4yhiXEh+NezXRODGUhQE8qYXn0jgHdOAGGv0FWp2Kg@mail.gmail.com \
--to=matwey.kornilov@gmail.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).