public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Panicz Maciej Godek <godek.maciek@gmail.com>
To: Per Bothner <per@bothner.com>
Cc: kawa@sourceware.org
Subject: Re: Building for Android
Date: Wed, 19 Oct 2022 11:15:02 +0200	[thread overview]
Message-ID: <CAMFYt2ZOJVxu1M49Y=enFZBX3=9mHMMBcjjDA4thc7VAZUZq5g@mail.gmail.com> (raw)
In-Reply-To: <CAMFYt2bzaVLJi8JNJGJ2aOv6FbhvS7YoFBo5zdUCccEJKJRSVw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

I have a small update.
I found that Android has replaced its dx tool with another tool called d8.
I managed to plug it into my build script, and my findings are the
following:
- the .jar with Kawa version 1.13 still builds correctly
- when I try the latest Kawa built with javac --release 8 or --release 9,
the d8 complains:

Error: Field name '1+' cannot be represented in dex format.

I tried fixing that by renaming this function as add1 in the
gnu/commonlisp/lisp/primitives.lisp. Actually, there were several other
issues in that file (and it would probably be easier to be able to compile
Kawa without CommonLisp).

However, even after fixing that, I get another error:

Error: Field name '\=android\,view\,View' cannot be represented in dex
format.

I really don't know how to overcome that one (IIRC Kawa 1.13 used $Dt as a
replacement for a dot)

  reply	other threads:[~2022-10-19  9:15 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18 14:57 Panicz Maciej Godek
2022-10-18 15:25 ` Per Bothner
2022-10-18 18:25   ` Panicz Maciej Godek
2022-10-19  9:15     ` Panicz Maciej Godek [this message]
2022-10-19 16:05       ` Per Bothner
2022-10-19 17:09         ` Panicz Maciej Godek
2022-10-20  5:35           ` Panicz Maciej Godek
2022-10-20 20:48             ` Panicz Maciej Godek
2022-10-21  5:14               ` Panicz Maciej Godek
2022-10-21 13:59                 ` Panicz Maciej Godek
2022-10-21 18:11                   ` Per Bothner
2022-10-21 19:19                     ` Panicz Maciej Godek
2022-10-21 19:31                       ` Per Bothner
2022-10-21 19:45                         ` Panicz Maciej Godek
2022-10-21 20:13                           ` Panicz Maciej Godek
2022-10-22  6:26                           ` Per Bothner
2022-10-22  9:31                             ` Panicz Maciej Godek
2022-10-22 12:08                               ` Panicz Maciej Godek
2022-10-24  7:22                                 ` Panicz Maciej Godek
2022-10-24 10:48                                   ` Per Bothner
2022-10-24 12:01                                     ` Panicz Maciej Godek
2022-10-21 18:00           ` Per Bothner

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='CAMFYt2ZOJVxu1M49Y=enFZBX3=9mHMMBcjjDA4thc7VAZUZq5g@mail.gmail.com' \
    --to=godek.maciek@gmail.com \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    /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).