From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailtransmit04.runbox.com (mailtransmit04.runbox.com [IPv6:2a0c:5a00:149::25]) by sourceware.org (Postfix) with ESMTPS id C8C223858D3C for ; Wed, 19 Oct 2022 16:05:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C8C223858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bothner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bothner.com Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1olBZZ-00GObl-EX for kawa@sourceware.org; Wed, 19 Oct 2022 18:05:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bothner.com ; s=selector1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=LObFFbmkZ+V+Qg86PX6Pne6Hx5a7ssCVC9zk9YfvM98=; b=ZLq23Abf5pf9l3kLARycYPXNqt AJbigqWM/mKmNCblA7jGIuvQMxtr1Jw3pLRWr2aQriWHHuEikdmuCbuPHdCQRaH25GeksxmOJ+Mll cuOtXzJABUETxCa55i8oZilyWmeh83Apzl6+onCnc5XUXU+K/tyZ64CaQomMzvLgBsjAOZN6zLUNH SLr2Xv9ZY+J/nkrM2yrsgiUzAXMrTMDOdn7JiBbL7f6wD4dxgpN3g5VwZ9AJ+fSFQLOOpQ+zSyrpb alO0DU7v+ZH0LwvUbCE2RFaQaYbxrf3BO50aAQZDxXKOBNAiGMWZdIv/+z95AoKjmKpPBWTzzMu2T 0ew6HqWg==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1olBZY-0003xw-Dg; Wed, 19 Oct 2022 18:05:36 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (524175)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1olBZR-0005Zy-A1; Wed, 19 Oct 2022 18:05:29 +0200 Message-ID: <0986a08f-c28f-882c-8236-f5f3ecc5cb6a@bothner.com> Date: Wed, 19 Oct 2022 09:05:23 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: Building for Android Content-Language: en-US To: Panicz Maciej Godek Cc: kawa@sourceware.org References: From: Per Bothner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,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: On 10/19/22 02:15, Panicz Maciej Godek wrote: > 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) There is still logic in Kawa to use-old style mangling (such as "$Dt" for ".") when Kawa is build for Android. Notice the /* #ifdef Android */ in gnu/expr/Magling.java. This code is supposed to be enable by the gnu/kawa/util/PreProcess.java helper, specifically if you configure --with-android. So the first step is to make sure your working copy of Mangling.java actually does have the USE_SYMBOLIC set to false. If it doesn't, delete the file selected-java-source, and re-run configure and make. Check the PreProcess in the 'make' log. -- --Per Bothner per@bothner.com http://per.bothner.com/