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 B20EC3856DC0 for ; Fri, 21 Oct 2022 18:12:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B20EC3856DC0 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 1olwV4-004OWy-1p; Fri, 21 Oct 2022 20:12:06 +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=Rd/d5H/8fsbJHWdqN5qYlrewhubHI5shLPTGJTwhLAk=; b=DMErFlS75ayn/ugg1y4cUbtT3z f19itV9dMuaWrdaoaBh54WT1mYwlOQ4Qe7o28Qwm9xHcainMqgceUZEiEFfAZHYmyR1F70kFmmHp/ Uc59p5JfERtKdo6PNM0hunyxUIipjKLBgNn6ca4+gYBPJ2CD5woPfY4jKoEkKFy++eReCVyLPrDGw UjqxMgeExU6BxfJDM07C1T1PWoa/xqFC8xK1YzXwHTu6T4/gnqhWnIqpvze6d6oXRSmvvQysqgKVW vD9VWRuW190VJPaSpS5X0SAwFF41UL8CxWRvXZf0L1HaZBTXCbJS1FBKBwP5tNINmGT+f3SHJD8JS JJvruoHg==; Received: from [10.9.9.74] (helo=submission03.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1olwV3-0003OQ-D5; Fri, 21 Oct 2022 20:12:05 +0200 Received: by submission03.runbox with esmtpsa [Authenticated ID (524175)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1olwUu-0007tZ-Pt; Fri, 21 Oct 2022 20:11:56 +0200 Message-ID: Date: Fri, 21 Oct 2022 11:11:51 -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: <0986a08f-c28f-882c-8236-f5f3ecc5cb6a@bothner.com> From: Per Bothner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 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/21/22 06:59, Panicz Maciej Godek wrote: > I found out (by analyzing the somewhat messy gnu/kawa/util/PreProcess.java) that the reason why I hand to edit gnu/expr/Mangling.java by hand was that - in addition to --with-android -- I was also using --with-java-source to ./configure. I didn't see this until I figured it out independently ... > > The jar produced without that flag was able to build the HelloKawa project (provided that I did the trick with injecting --release 8 to javac). > > However, the d8 tool still issues its warnings, and the member field names containing 'mangled' characters are still invisible from the subclasses. > > While this isn't something I can't live with - because I don't have that many such use cases - I wanted to ask about the chances of resolving that issue? Well, if the fix in my previous sets USE_SYMBOLIC to false for you, the part of the problem is solved. If you're still getting invalidly mangled field names, we should figure out why. -- --Per Bothner per@bothner.com http://per.bothner.com/