From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dale Sedivec Newsgroups: gmane.emacs.bugs Subject: bug#44221: 28.0.50; native-compile fails on cl-lib if delete-region has around advice Date: Sun, 25 Oct 2020 16:14:03 -0500 Message-ID: <3B1B0B89-30E8-4D73-849E-26D35C281C8A@codefu.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19730"; mail-complaints-to="usenet@ciao.gmane.io" To: 44221@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 25 22:15:21 2020 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 1kWnMG-0004y9-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 22:15:20 +0100 Original-Received: from localhost ([::1]:52266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWnME-0004Rx-SV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 17:15:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWnLy-0004Rp-AB for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 17:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWnLy-0001ry-0c for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 17:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWnLx-0007Gb-Rh for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 17:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dale Sedivec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Oct 2020 21:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44221 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160366045027853 (code B ref -1); Sun, 25 Oct 2020 21:15:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Oct 2020 21:14:10 +0000 Original-Received: from localhost ([127.0.0.1]:37863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWnL8-0007FA-BZ for submit@debbugs.gnu.org; Sun, 25 Oct 2020 17:14:10 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWnL6-0007F3-Sz for submit@debbugs.gnu.org; Sun, 25 Oct 2020 17:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWnL6-0004Mv-Nd for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 17:14:08 -0400 Original-Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]:39536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWnL4-0001nt-Hl for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 17:14:08 -0400 Original-Received: by mail-io1-xd2d.google.com with SMTP id p7so7876188ioo.6 for ; Sun, 25 Oct 2020 14:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codefu-org.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=BStoUKzhm03vzaVBwbFVkcoIgw9gDNhDZrB4r30N2Yw=; b=Uwu20e+9mret7cyNTb7s3tQmYAqF7z8YxGM2moDpPklmOw1A9ngu64dzf22wnMj7tH aTOT7UIE+3K8sXhnPRsDJci2ONdStoZ4r2kSQXqCcfsSLDhRzY6CFfR4grMMjcYH9Xx1 kM81V8XWud0iYUgtMyJ118qEQm68tF9Oeiv7FJvOl5Pt5QOqXgDwtw1GJasHXyu7Olfd QztKHWPepeCrqLJ6AXr7l7RWaC2BHrkhorS1fPqQQYPGGqMnjuQjLsuVm9pvPSTEdXuN Hplr91957mAPpYVBDOOERS830Y8Mlqyb+L2ThIoIwM3kRCTMzeyMxu6qITbXWAuPjLkd qXYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=BStoUKzhm03vzaVBwbFVkcoIgw9gDNhDZrB4r30N2Yw=; b=G4CDasvLuRrcQKSlGrAa4Y7TnKgy0gXxzjsIqxm/06jlNln3xZtreXB6vD+rPpsC4s DGg3Ypm1B8FDRQ+q6F9uJxfDUAD4hiQ3rZNQdmVlj+6VahlHE3WI0ImwZhxaIGuuDigX kl46tnYWsa9TnakXQqNg+wqewGeQpQAtDT7rKd9Q/lDJdJ9ajsLQW/L7re/adNu2VVUY hZTwQLLDkQMGEJjY3/szwbE286KDbNtKLkiu1zbFD0pti3fsDzcQfsDzyhhYsyypwR9r 8TqralwxjbTCS+1bQqen6S6enPN1HVBixOPfASXZCN74GmUP/eIx6Y/pNASCC9gXjrhg roEQ== X-Gm-Message-State: AOAM530dlgpSh7YgXfmxxSc8UXUuWyjmGLn5z3mte6fmALwSvxacnIne WPs4AgihOMDHXqWsngeEs8+HQT9Esc26rt0V X-Google-Smtp-Source: ABdhPJzfuDQMBG8IS0mCs33Os97Ro5P9rT6uV1eiW7ca3l99fq/GJLlgL6aJif6v93Hc/IQFDlMbhg== X-Received: by 2002:a6b:e818:: with SMTP id f24mr8666132ioh.187.1603660444640; Sun, 25 Oct 2020 14:14:04 -0700 (PDT) Original-Received: from dale.caliginous.net (152.160.30.136.in-addr.arpa. [136.30.160.152]) by smtp.gmail.com with ESMTPSA id m86sm5185896ilb.44.2020.10.25.14.14.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Oct 2020 14:14:04 -0700 (PDT) X-Mailer: Apple Mail (2.3445.104.17) Received-SPF: none client-ip=2607:f8b0:4864:20::d2d; envelope-from=dale@codefu.org; helo=mail-io1-xd2d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:191540 Archived-At: 1. Start with emacs -Q 2. Enter IELM 3. Add trivial advice to `delete-region': (define-advice delete-region (:around (orig-fun &rest args) my:test) (apply orig-fun args)) 4. Attempt native compilation of cl-lib: (require 'find-func) (native-compile (find-library-name "cl-lib")) Expected result: cl-lib experiences native compilation Actual result: *** Eval error *** Internal native compiler error: = "/Users/dale/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-= lib.el.gz", "not a subr", #[128 "\300\301\302=03#\207" [apply = delete-region@my:test # nil] 5 nil "r"] I discovered this via the volatile-highlights package, which advises `delete-region', among other things. In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin19.6.0, NS = appkit-1894.60 Version 10.15.7 (Build 19H2)) of 2020-10-24 built on dale Repository revision: 4a6642ca23dad20a2dab928a869213e9b31767b7 Repository branch: feature/native-comp Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Configured using: 'configure --without-x --with-modules --with-threads --with-xwidgets --with-zlib --with-xml2 --with-json --with-cairo --with-gnutls --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-nativecomp --with-ns --enable-ns-self-contained 'CFLAGS=3D-O2 -I/opt/local/include/gcc10' LDFLAGS=3D-L/opt/local/lib/gcc10' Configured features: PNG RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM NS MODULES NATIVE_COMP THREADS XWIDGETS JSON PDUMPER LCMS2 Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: IELM Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shortdoc delsel rect thingatpt help-fns radix-tree debug backtrace find-func easy-mmode compile text-property-search jka-compr cl-print time-date ielm comp warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv easymenu pp comint ansi-color ring tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face pcase macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal kqueue cocoa ns lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 95905 5526) (symbols 48 8846 1) (strings 32 26468 3168) (string-bytes 1 924776) (vectors 16 16741) (vector-slots 8 331347 53548) (floats 8 76 182) (intervals 56 446 0) (buffers 992 17)) --=20 Dale Sedivec dsedivec@emphasys-software.com