From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sanel Zukan Newsgroups: gmane.emacs.bugs Subject: bug#47318: 26.3; Modules on Emacs 26.3 broken? Date: Mon, 29 Mar 2021 11:16:19 +0200 Message-ID: <87a6qm5nh8.fsf@example.com> References: <87ft0n2uxt.fsf@example.com> <87h7l15z03.fsf@example.com> <4C4D65E2-63E0-44AA-9B18-2B6792C0F86A@gmail.com> <87czvk5vpo.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30649"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.28.2 (https://notmuchmail.org) Cc: 47318@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 29 11:17:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQo1F-0007r0-MS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 11:17:09 +0200 Original-Received: from localhost ([::1]:52706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQo1E-0005SJ-LP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 05:17:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQo18-0005SD-GC for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 05:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQo18-0000mN-90 for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 05:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQo18-0006nx-3E for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sanel Zukan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Mar 2021 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47318 X-GNU-PR-Package: emacs Original-Received: via spool by 47318-submit@debbugs.gnu.org id=B47318.161700938926107 (code B ref 47318); Mon, 29 Mar 2021 09:17:02 +0000 Original-Received: (at 47318) by debbugs.gnu.org; 29 Mar 2021 09:16:29 +0000 Original-Received: from localhost ([127.0.0.1]:47839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQo0a-0006n1-J8 for submit@debbugs.gnu.org; Mon, 29 Mar 2021 05:16:28 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:38619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQo0Y-0006mm-Tq for 47318@debbugs.gnu.org; Mon, 29 Mar 2021 05:16:27 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id z2so12064933wrl.5 for <47318@debbugs.gnu.org>; Mon, 29 Mar 2021 02:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=1DnGTX1Wu8FiBducH7zICvyAup4yzCxEgnao/dcAPD8=; b=qkt+SG8Cq2aSU7GsIrdchnygm2GBShHYv6c/FFjRmvOsrdRU+uQc1WjWV4NJ6Va6Uu nZxCeTEulODrPVHradd+h+oGe59eWClsdbgF7PLnNrd7Cprk7IQ8k0/NcK63s9RpIiW6 1ruGgZYEL5UEp90U+2LHFOANaqQjSUtnUNTCLYDdXGwP+vFtxyonqqtuHxkFzUxIML/C Ob9kH6TT59t7i1l7lqKkOG07Uo6qyFjSZhnWa2Hy5cusUHeRNfPEMzj09DgLy/+lSPiZ Kp+oBGLXXfPovnJuhTUJb/M7BK3e92LWzoA+jqL+RCiWCSKo3kP0nr2EnczXBJU/UL6y prYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=1DnGTX1Wu8FiBducH7zICvyAup4yzCxEgnao/dcAPD8=; b=Wb7EH7GiBML9LfSI3zndAhjeMaIo3+0NuXHYC8vswwhnyEtSM9EypoDLRZkFJt/R+T uNftIx0J7YqSxkCmKF1u5A+TGk1iPaNjW5bl5wlsQv0w1a0ZfkhRvV6OiGhcf9RU8r0a FsnR9GKIG/cUdhTH/XTEasWtoZ8V6iIEqXppbz4lT+yDULZhyX4jHSjr/GVCtYYqfowU FpEVe+t4fgeiK/ZNHV31LJF4Yos436jwWqyg18qEwoA1Rk8+58vE0Y52yHiiNtgUGdUE Id8UnT1u/9OLkxFBMfuR6Xb4PBzC+GLp6ifsC6GY9yCv/bvMqL88O8r5pFvpcoZ6ithq REoQ== X-Gm-Message-State: AOAM532HwdTZZFdPio5mgyqdSR1FLuP5dwmNqVu/8kuzjDXuGhAjEVdi +pA7hI7ApdAoTuEjF1dMgAU= X-Google-Smtp-Source: ABdhPJwv4roxHO1w9ZvtfQ6ZiNThFhtVF929/V+zONYUoUI2eFQ68qV6u2BkG9tbMGIOdiR3Z1VBjw== X-Received: by 2002:adf:fb0e:: with SMTP id c14mr28088807wrr.140.1617009381136; Mon, 29 Mar 2021 02:16:21 -0700 (PDT) Original-Received: from localhost ([185.13.240.164]) by smtp.gmail.com with ESMTPSA id b17sm28766152wrt.17.2021.03.29.02.16.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 02:16:20 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203227 Archived-At: Philipp Stephani writes: > I can't reproduce that, sorry. Both the fboundp check and calling the > function work as expected for me. I've compiled the module as > described in http://diobla.info/blog-archive/modules-tut.html. Hm... any idea how this can be further debugged? In that mymod.c example, I've added couple of puts() and all loading functions are run properly. I'm on slack 14.2 with kernel 5.9.1 x86_64, gcc 5.5.0. Not sure if this makes any difference... Best, Sanel >> Replicating the same steps in emacs 27.2, in the step 4. it will >> return 't' and when '(mymod-test)' is called, it will return 42. >> >> Best regards, >> Sanel >> >> >> >> >> Any idea what could go wrong? >> >> >> >> Best regards, >> >> Sanel >> >> >> >> Philipp Stephani writes: >> >>> Am Mo., 22. M=C3=A4rz 2021 um 14:14 Uhr schrieb Sanel Zukan : >> >>>> >> >>>> Hi guys, >> >>>> >> >>>> I'm getting this [1] error from freshly compiled Emacs 26.3 and >> >>>> vterm-module. >> >>>> >> >>>> Also, emacs-eject [2] and very simple module [3] fails on 26.3 with= the >> >>>> similar error. However, they are working fine on 27.1. >> >>>> >> >>>> Any idea what could go wrong? I also tried to run bare Emacs with >> >>>> 'emacs -Q'. In the all cases, Emacs is compiled with modules suppor= t. >> >>>> >> >>>> [1] https://github.com/akermu/emacs-libvterm/issues/181 >> >>>> [2] https://github.com/syohex/emacs-eject >> >>>> [3] http://diobla.info/blog-archive/modules-tut.html >> >>>> >> >>> >> >>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30164 is probably at >> >>> least part of the answer. >> >>> However, loading modules in general should still work, even in Emacs >> >>> 26. Do you also get errors when loading the module file directly with >> >>> `load' instead of `require'?