From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) by sourceware.org (Postfix) with ESMTPS id 42D163858D3C for ; Wed, 19 Oct 2022 09:15:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 42D163858D3C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-xe31.google.com with SMTP id p7so17133122vsr.7 for ; Wed, 19 Oct 2022 02:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AziB/ivCxI8yDqm98mDlhxU2Q/DnkpkUVW8n/SrzCNQ=; b=BlNu048OPfnxvA3mg7VWVoAjHqFLANWpX7y7RHBERsXoYs0TKBuzHB7upHJvMHgyto lJknwHZpKeCIUtb4rMvejq1cEL4J+HdAUIBGQYrMZuAXbnvfRFAUctpv/5gTdS1d2AuJ PJoag0/YaUrwQcYmrr/Fy9zFTPQteRzKzI6DF4wt6Jd5KZ5JxZXCU7JPV/zLbTGrzdYs xtd+U4QVRktY4LajpqZBHWy8cPyhTcVqK3qfjtY961/4wc7b1t+dCJrRQTocLnyuf9y+ HiwaJtfhTE83ygMcluQ+0lTpytZHHRkZ4CYdZKytp0rj3djh/WvbfCyEJ6n3t+orPLMT vI2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AziB/ivCxI8yDqm98mDlhxU2Q/DnkpkUVW8n/SrzCNQ=; b=PoxACwCkSCINOMdCcaZ3Kwp1Uuny/LSGXGtb9I32LzDit82B6ljiFtEUszb5ET8xDA 3ncOnLSWMuaFh2kaAtEJk+fVRKfhIYNVPnFkbgQmmV/K884Ws2hbtm8Sm0fddZFKX1vO Kt22SKaqmqHe4harIInNl0Zv6ayRia+YvimYGpZEFtBlXKD/elbneIbda153FBCvbajv vEl8FWsvO6Q+suTUG53Z4U6Loi52bx5OUAns1sohky10p/A2sscUizbG0QRkH/zPTGhm +rNXSY2wEhGnbHVUKhe47ctcqwRqHyIynSsZtkROLRB6yI7knoRSEer0eHw39sfTRDM/ NSzg== X-Gm-Message-State: ACrzQf0usFh3fN2EjepeKW10Nq1c0Pr6LrR07Kqil8SWKFgwhIg1EpAo skPReFHPc+bqVAAs/2HOl8+Ar51wzhgjnfrzJJSua78H X-Google-Smtp-Source: AMsMyM60GboMvomSQxR5ROEtxolKiJ3Y9nek0xEJHHmGX/OlJKdVAIP3SLej8QZoOuLt7be07yyxvchgK92SoLAOssc= X-Received: by 2002:a67:fd63:0:b0:3a7:7415:5070 with SMTP id h3-20020a67fd63000000b003a774155070mr3022538vsa.78.1666170914639; Wed, 19 Oct 2022 02:15:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Panicz Maciej Godek Date: Wed, 19 Oct 2022 11:15:02 +0200 Message-ID: Subject: Re: Building for Android To: Per Bothner Cc: kawa@sourceware.org Content-Type: multipart/alternative; boundary="00000000000080950905eb5fa5be" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000080950905eb5fa5be Content-Type: text/plain; charset="UTF-8" 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) --00000000000080950905eb5fa5be--