From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#26824: 24.5; Bytecode overflow error when byte compiling large .el file Date: Mon, 15 May 2017 23:21:59 -0400 Message-ID: <87o9utiizs.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494904874 23389 195.159.176.226 (16 May 2017 03:21:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 May 2017 03:21:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: Christian Wittern , 26824@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 16 05:21:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAT2r-0005xa-HY for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 May 2017 05:21:09 +0200 Original-Received: from localhost ([::1]:39688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAT2v-0002vI-KV for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 May 2017 23:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAT2p-0002vD-JO for bug-gnu-emacs@gnu.org; Mon, 15 May 2017 23:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAT2k-0008S7-MX for bug-gnu-emacs@gnu.org; Mon, 15 May 2017 23:21:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAT2k-0008S2-IQ for bug-gnu-emacs@gnu.org; Mon, 15 May 2017 23:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dAT2k-0003qM-CU for bug-gnu-emacs@gnu.org; Mon, 15 May 2017 23:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 May 2017 03:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26824-submit@debbugs.gnu.org id=B26824.149490483314715 (code B ref 26824); Tue, 16 May 2017 03:21:02 +0000 Original-Received: (at 26824) by debbugs.gnu.org; 16 May 2017 03:20:33 +0000 Original-Received: from localhost ([127.0.0.1]:47252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAT2G-0003pG-Dh for submit@debbugs.gnu.org; Mon, 15 May 2017 23:20:33 -0400 Original-Received: from mail-it0-f66.google.com ([209.85.214.66]:33869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAT2E-0003p3-Ts for 26824@debbugs.gnu.org; Mon, 15 May 2017 23:20:31 -0400 Original-Received: by mail-it0-f66.google.com with SMTP id d68so3342304ita.1 for <26824@debbugs.gnu.org>; Mon, 15 May 2017 20:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6RBAmNl/y6QvFk4jbnKsAeXrCNPqMdyEUZNj27Kb62I=; b=ctUY74X4G9o2ldYoRh9ROzaxHgb9DsOlDEFYxnZPzQ5M7rgV2gYdNPv/Yv6e8jFJdu IkGoh5LhfVRwMHNnIR5B7p25yKg7aNseoGVHCZ1CFsX2sqbHD3i/HQYZ0EJ1W+8QYZCG +jL984l7506lBRVX/fey4fXBuedUTgtJL1VgOmXv/0RRRE1u3JX94zUldHOIFaV4JYsd g7is6LPImqJpRb79UdlfjhA5cptn92u+o1hK0bMcoIoFx3DmX5yA0xvNP8Pk571qP0DC Bq8pfxI57wEPqCndB4BAI6TeCdWqKRhGjEerr0Dmr3OAcOkfhpd5fPkDWzzkCt1WLhS4 6izQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=6RBAmNl/y6QvFk4jbnKsAeXrCNPqMdyEUZNj27Kb62I=; b=sTxn+uv11b/+JY73ovMQdALKiJ+IxJ6YIpb0Iw1wKPhHvwQWlnaKCE5czeQ/AblILh GH6Mnos1RBJW3FyUNyjRHTBatgmdQ03uTaPtoC/SEArqtX18Pqoj2V81osyzlc/tiMeS ieGspamqSlM7cnc4qCk5rElLgleaVXIoVNBcnzSG8pUZaQDEyYMzQxUq5EfjX2yr6BiU j92UCf+CLka3Ny13+Bfm9hm7ifVZCxinmby6tVB/AdRclg/iOeb3R0tpsZygRjOB4UHQ 3FnJq2aA4pOU08rGQkFej1O3Nk9sv3s7qbpJLhaId8P3Vn5nA7vkfO9zB1GOQGP1E2Rn uZaw== X-Gm-Message-State: AODbwcCFr08/6m9wO/VDnuRA5IpOVoE2fKp7TKe1gnJGBe/rCLGyf4JT wpT4P/4lvNG7YA== X-Received: by 10.36.108.147 with SMTP id w141mr9038979itb.57.1494904825424; Mon, 15 May 2017 20:20:25 -0700 (PDT) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id 192sm7878411itl.1.2017.05.15.20.20.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 May 2017 20:20:24 -0700 (PDT) In-Reply-To: (Glenn Morris's message of "Mon, 08 May 2017 12:40:10 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132535 Archived-At: I see the code triggering this has a FIXME on it: ;; FIXME: Replace this by some workaround. (if (> (car bytes-tail) 255) (error "Bytecode overflow")) What workarounds could we use? Introduce a new jump opcode with a 4 byte operand? Or daisy chain a bunch of relative jumps? Both of these seem a bit extreme for a pretty rare edge case.