From: Ricardo Wurmus <rekado@elephly.net>
To: "Gábor Boskovits" <boskovits@gmail.com>
Cc: Guix-devel <guix-devel@gnu.org>, 36685@debbugs.gnu.org
Subject: Re: bug#36685: ant-bootstrap fails on core-updates (409 dependents)
Date: Fri, 19 Jul 2019 14:56:04 +0200 [thread overview]
Message-ID: <878ssufajf.fsf@elephly.net> (raw)
In-Reply-To: <CAE4v=pjmPSRCiqBauVMhK=CgfzLnUoN_z8UGfzu7A8uAdFMUbQ@mail.gmail.com>
Hi Gábor,
> Ricardo Wurmus <rekado@elephly.net> ezt írta (időpont: 2019. júl. 19., P,
> 8:09):
>
>>
>> Ricardo Wurmus <rekado@elephly.net> writes:
>> > Here’s a shorter patch:
>> >
>> > --8<---------------cut here---------------start------------->8---
>> > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
>> > index 403c446a82..bd98784232 100644
>> > --- a/gnu/packages/java.scm
>> > +++ b/gnu/packages/java.scm
>> > @@ -152,6 +152,13 @@ and binary format defined in The Java Virtual
>> Machine Specification.")
>> > "--disable-gjdoc")
>> > #:phases
>> > (modify-phases %standard-phases
>> > + (add-after 'unpack 'foo
>> > + (lambda _
>> > + (substitute* "native/jni/java-io/java_io_VMFile.c"
>> > + (("result = cpio_isFileExists.*" m)
>> > + (string-append m "
>> > +//Without a long comment the Java side will return \"true\" on x86_64
>> all the time.")))
>> > + #t))
>> > (add-after 'install 'install-data
>> > (lambda _ (invoke "make" "install-data"))))))
>> > (native-inputs
>> > --8<---------------cut here---------------end--------------->8---
>> >
>> > This only adds a comment. If the comment is too short it won’t work.
>>
>>
> I confirm this path works.
> I tested a modified version, where I took out the comment text. It also
> works that way.
Yes. It’s just commenting the *following* line (i.e. removal of the
call to “free”) that fixes it.
> We might contact the classpath devs to get a proper fix, and maybe a new
> release, they
> were super responsive the last time.
I don’t think the problem is with GNU Classpath. Classpath devs are
welcome to look at this, of course, but we are not even using the latest
version at this point in the bootstrap.
I wonder what could have caused this problem in the first place. The
bootstrap hasn’t changed. Using the same compiler as before doesn’t fix
it, so it’s probably not the compiler either. So what is it?
>> Illegal instruction? This uses JamVM 2.0.0 as the JVM. I’ll try to
>> figure out what instruction this is and where it comes from.
>
> I hit the same bug now.
Good. We need to figure out why – is it miscompilation? Tuning to a
different CPU type…?
--
Ricardo
next prev parent reply other threads:[~2019-07-19 12:56 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-16 6:58 bug#36685: ant-bootstrap fails on core-updates (409 dependents) Chris Marusich
2019-07-16 7:03 ` Gábor Boskovits
2019-07-16 8:08 ` Efraim Flashner
2019-07-16 16:13 ` Ricardo Wurmus
2019-07-17 8:09 ` Ricardo Wurmus
2019-07-17 22:41 ` Ricardo Wurmus
2019-07-18 10:51 ` Ricardo Wurmus
2019-07-18 11:09 ` Efraim Flashner
2019-07-21 17:44 ` Ricardo Wurmus
2019-07-19 8:09 ` Ricardo Wurmus
2019-07-19 12:37 ` Gábor Boskovits
2019-07-19 12:37 ` Gábor Boskovits
2019-07-19 12:56 ` Ricardo Wurmus [this message]
2019-07-19 16:30 ` Ricardo Wurmus
2019-07-20 8:42 ` Ricardo Wurmus
2019-07-20 9:06 ` Julien Lepiller
2019-07-20 9:06 ` Julien Lepiller
2019-07-20 21:07 ` Ricardo Wurmus
2019-07-20 21:07 ` Ricardo Wurmus
2019-07-21 11:29 ` Ricardo Wurmus
2019-07-21 11:29 ` Ricardo Wurmus
2019-07-21 15:57 ` Gábor Boskovits
2019-07-21 15:57 ` Gábor Boskovits
2019-07-24 21:07 ` Ricardo Wurmus
2019-07-24 21:07 ` Ricardo Wurmus
2019-09-06 13:40 ` Ricardo Wurmus
2019-09-06 13:40 ` Ricardo Wurmus
2019-09-06 13:41 ` Gábor Boskovits
2019-09-06 13:41 ` Gábor Boskovits
2019-09-07 14:28 ` Ricardo Wurmus
2019-09-07 14:28 ` Ricardo Wurmus
2019-09-07 15:01 ` Julien Lepiller
2019-07-19 12:56 ` Ricardo Wurmus
2019-07-19 8:09 ` Ricardo Wurmus
2019-07-18 10:51 ` Ricardo Wurmus
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=878ssufajf.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=36685@debbugs.gnu.org \
--cc=boskovits@gmail.com \
--cc=guix-devel@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.