From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by sourceware.org (Postfix) with ESMTP id 648353844070 for ; Thu, 13 Aug 2020 14:32:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 648353844070 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-397-wP-sb0U_PwSeYZAFZArvDQ-1; Thu, 13 Aug 2020 10:32:27 -0400 X-MC-Unique: wP-sb0U_PwSeYZAFZArvDQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 47C071DDE0; Thu, 13 Aug 2020 14:32:26 +0000 (UTC) Received: from redhat.com (ovpn-112-64.phx2.redhat.com [10.3.112.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 14C6F6FDA4; Thu, 13 Aug 2020 14:32:26 +0000 (UTC) Received: from fche by redhat.com with local (Exim 4.94) (envelope-from ) id 1k6EHI-00009O-JU; Thu, 13 Aug 2020 10:32:24 -0400 Date: Thu, 13 Aug 2020 10:32:24 -0400 From: "Frank Ch. Eigler" To: Sergey Belyashov Cc: "Jose E. Marchesi" , "Frank Ch. Eigler via Cgen" Subject: Re: BUG: non-fixed-length ISAs are unsupported for now Message-ID: <20200813143224.GC28536@redhat.com> References: <20200811160847.GB20457@redhat.com> <20200812183611.GA27698@redhat.com> <87pn7v1yrt.fsf@oracle.com> <20200812192115.GB27698@redhat.com> <87eeob1x7n.fsf@oracle.com> <20200812195701.GD27698@redhat.com> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cgen@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cgen mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2020 14:32:35 -0000 Hi - > When I increase base-insn-bitsize to 32 of ISA definition objdump > fails with: stack smashing error. Valgrind shows next backtrace: > [...] > ==325050== by 0x17BE43: default_print_insn (z80-dis.c:448) > ==325050== by 0x17C0AA: print_insn_z80 (z80-dis.c:567) > ==325050== by 0x131CB3: disassemble_bytes (objdump.c:2768) > ==325050== by 0x13360E: disassemble_section (objdump.c:3340) OK, so things went much further. I'd work backward from this new error rather than change the base-insn-size back. Can you push to your branch all the cgen-generated opcodes/etc. code? - FChE