all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Madhu <enometh@meer.net>
To: eliz@gnu.org
Cc: luangruo@yahoo.com, emacs-devel@gnu.org
Subject: Re: Possible XInput2 cursor bug ?
Date: Sun, 12 Dec 2021 23:45:41 +0530 (IST)	[thread overview]
Message-ID: <20211212.234541.993962340401484244.enometh@meer.net> (raw)
In-Reply-To: <83czm1oo82.fsf@gnu.org>

*  Eli Zaretskii <eliz@gnu.org> <83czm1oo82.fsf@gnu.org>
Wrote on Sun, 12 Dec 2021 17:08:13 +0200
>> Date: Sun, 12 Dec 2021 20:25:02 +0530 (IST)
>> From: Madhu <enometh@meer.net>
>> That helps a lot. (It brings down the RES reported in top to 2.5G
>> in jit builds, I may be misinterpreting what I'm seeing but a
>> non-native build shows only some 100M in use by gdb)
> On my system, debugging a natively-compiled Emacs takes GDB just a bit
> more that debugging non-native one: 120MB vs 100MB.  The first number
> is similar to yours, so I wonder how come the second number is so much
> different on you're system.  Is that with "emacs -Q" run under a
> debugger?  In any case, a full Emacs version running for 10 days under
> GDB causes GDB to have just 200MB of memory here, which is a far cry
> from your 2.5GB.  I wonder why such a large difference.

yes for emacs -Q -D. I can confirm that by the time I get to the end
of the first backtrace I have 2GB rss in a native build, and about
100M RSS for a non-native build. I do have some system libraries
(glib, etc.)  compiled with debug info, but that doesn't explain the
difference.


> Yes, but regenerating the *.eln files takes a few minutes, so why is
> that such a big problem?

It takes a little longer for me and it's wasteful if youre just going
to throw it away anyway.

>> But I hit another problem. When I edited xterm.c and hit `make' emacs
>> was  built but is not able to run, I got a
>>
>> emacs: Trying to load incoherent dumped eln file /12/build/emacs/build-xt/native-lisp/29.0.50-473a9dd2/preloaded/subr-13adf6a6-a6425de0.eln
>
> Look closer at the build process, something probably failed there, so
> the build didn't complete successfully.

[I couldn't spot it, but a ./configure and build fixed it after
recompiling all the c files while retaining the same eln directory (i
think)
]




      reply	other threads:[~2021-12-12 18:15 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87v90wmh6m.fsf.ref@yahoo.com>
2021-11-13 11:24 ` XInput 2 support (again) Po Lu via Emacs development discussions.
2021-11-13 15:04   ` Stefan Monnier
2021-11-14  1:29     ` Po Lu via Emacs development discussions.
2021-11-14 15:29       ` Stefan Monnier
2021-11-14 16:12         ` Eli Zaretskii
2021-11-14 18:11           ` Stefan Monnier
2021-11-14 18:51             ` Eli Zaretskii
2021-11-15  0:26               ` Po Lu
2021-11-15  2:48                 ` Stefan Monnier
2021-11-15  2:54                   ` Po Lu
2021-11-15  3:18                     ` Stefan Monnier
2021-11-15  4:50                       ` Po Lu
2021-12-07 17:23                         ` Possible XInput2 cursor bug ? (Was: Re: XInput 2 support (again)) Madhu
2021-12-08  1:27                           ` Possible XInput2 cursor bug ? Po Lu
2021-12-08  2:33                             ` Madhu
2021-12-08  2:39                               ` Po Lu
2021-12-12  5:11                                 ` Madhu
2021-12-12  5:27                                   ` Po Lu
2021-12-12  6:02                                     ` Po Lu
2021-12-12 14:45                                       ` Madhu
2021-12-13  1:21                                       ` Po Lu
2021-12-13  4:18                                         ` Madhu
2021-12-12  7:26                                   ` Eli Zaretskii
2021-12-12 14:55                                     ` Madhu
2021-12-12 15:08                                       ` Eli Zaretskii
2021-12-12 18:15                                         ` Madhu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211212.234541.993962340401484244.enometh@meer.net \
    --to=enometh@meer.net \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.