all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mauricio Collares <mauricio@collares.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: 45433@debbugs.gnu.org
Subject: bug#45433: 28.0.50; byte/native-compiling ivy and ox-publish possibly miscompiled
Date: Wed, 06 Jan 2021 09:03:35 -0300	[thread overview]
Message-ID: <87czyil1bc.fsf@collares.org> (raw)
In-Reply-To: <xjfa6tmexcf.fsf@sdf.org>


Andrea Corallo <akrl@sdf.org> writes:
> All right I did some investigation.  This is how the top level form
> looks in the .elc file:
>
> (byte-code "\300\301\302\303!\203\f^@\303\202^M^@\304\"\210\305\306!\207" [defalias xxx--file-local-name fboundp file-local-name #[257 "\300^A\301\"\206^H^@\211\207" [file-
> remote-p localname] 4 "\n\n(fn FILE)"] provide xxx] 4)
>
> When we execute this from the .elc in exec_byte_code we have:
>
> (gdb) p *(bytestr_data+10)
> $43 = 13 '\r'
>
> While loading from .eln we have:
>
> (gdb) p *(bytestr_data+10)
> $31 = 10 '\n'
>
> ATM I've no idea why of this difference, I'm pretty sure in the eln we
> have 13 so might be a reader miss-configuration?
>
> I'll look into it more to see where the difference is coming from,
> hopefully should be pretty narrowed at this stage.

Hi Andrea,

You're definitely onto something here! The numbers 13 and 10 seem very
suspicious, and the esxml-query code also only fails with 13
variables. Maybe the .elc is being opened as a text file when
native-compiling and the newlines are being converted to Unix style when
reading?

Best,
Mauricio






  reply	other threads:[~2021-01-06 12:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-25 15:23 bug#45433: 28.0.50; [feature/native-comp] batch-native-compiling ivy and ox-publish possibly miscompiles Mauricio Collares
     [not found] ` <handler.45433.B.16089154372205.ack@debbugs.gnu.org>
2020-12-25 19:57   ` Mauricio Collares
2020-12-25 20:52     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-25 21:41       ` Mauricio Collares
2020-12-26 20:54         ` bug#45433: 28.0.50; byte/native-compiling ivy and ox-publish possibly miscompiled Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-27 17:02           ` Mauricio Collares
2020-12-30 13:54           ` Mauricio Collares
2020-12-30 14:44             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-04 22:12             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-05 12:24               ` Mauricio Collares
2021-01-06  0:13               ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-06 12:03                 ` Mauricio Collares [this message]
2021-01-06 13:06                   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-06 14:56                     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-01-06 19:56                       ` Mauricio Collares
2021-01-06 20:04                         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87czyil1bc.fsf@collares.org \
    --to=mauricio@collares.org \
    --cc=45433@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    /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.