From: "Gábor Boskovits" <boskovits@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>, julien lepiller <roptat@lepiller.eu>
Subject: Re: Fixing ant-bootstrap / jamvm segfault (i686)
Date: Mon, 16 Sep 2019 16:42:33 +0200 [thread overview]
Message-ID: <CAE4v=ph7dsZsz1P_B+S93=hZLvLLFa1JOGFuAM0U-b3kXdVJvg@mail.gmail.com> (raw)
In-Reply-To: <87v9tsped0.fsf@elephly.net>
[-- Attachment #1: Type: text/plain, Size: 2239 bytes --]
Ricardo Wurmus <rekado@elephly.net> ezt írta (időpont: 2019. szept. 16.,
Hét 15:20):
> Hi Guix,
>
> here’s a probably needlessly complicated patch to fix the build of
> ant-bootstrap. It currently fails to build because jamvm segfaults.
>
> --8<---------------cut here---------------start------------->8---
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 403c446a82..6bb4f8167f 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -186,10 +186,15 @@ language.")
> (arguments
> `(#:configure-flags
> (list (string-append "--with-classpath-install-dir="
> - (assoc-ref %build-inputs "classpath")))))
> + (assoc-ref %build-inputs "classpath"))
> + "--disable-int-caching"
> + "--enable-runtime-reloc-checks"
> + "--disable-int-inlining"
> + "--enable-ffi")))
> (inputs
> `(("classpath" ,classpath-bootstrap)
> ("jikes" ,jikes)
> + ("libffi" ,libffi)
> ("zlib" ,zlib)))
> (home-page "http://jamvm.sourceforge.net/")
> (synopsis "Small Java Virtual Machine")
> @@ -258,7 +263,7 @@ JNI.")
> ,@(if (string-prefix? "armhf" (or (%current-system)
>
> (%current-target-system)))
> `((string-append m "-Xnocompact "))
> - `((string-append m "-Xnocompact -Xnoinlining ")))))
> + `((string-append m "-Xnocompact ")))))
>
> ;; Disable tests because we are bootstrapping and thus don't
> have
> ;; any of the dependencies required to build and run the
> tests.
> --8<---------------cut here---------------end--------------->8---
>
> I’m almost certain that not all of these configure flags are needed.
> What do you think? Would someone like to play a little with this patch
> and see if we can figure out why exactly jamvm segfaults?
>
I will try to have a look at this again in the coming days.
>
> I used this command to build ant-bootstrap:
>
> ./pre-inst-env guix build -K --system=i686-linux -e '(@@ (gnu packages
> java) ant-bootstrap)'
>
> --
> Ricardo
>
>
[-- Attachment #2: Type: text/html, Size: 3306 bytes --]
next prev parent reply other threads:[~2019-09-16 14:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 13:20 Fixing ant-bootstrap / jamvm segfault (i686) Ricardo Wurmus
2019-09-16 14:42 ` Gábor Boskovits [this message]
2019-09-27 7:13 ` Ricardo Wurmus
2019-09-27 7:41 ` Gábor Boskovits
2019-09-27 7:52 ` Ricardo Wurmus
2019-09-28 21:14 ` Gábor Boskovits
2019-09-28 21:49 ` Gábor Boskovits
2019-09-30 19:59 ` Ricardo Wurmus
2019-10-01 1:01 ` Ricardo Wurmus
2019-10-01 5:46 ` Gábor Boskovits
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAE4v=ph7dsZsz1P_B+S93=hZLvLLFa1JOGFuAM0U-b3kXdVJvg@mail.gmail.com' \
--to=boskovits@gmail.com \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
--cc=roptat@lepiller.eu \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).