unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* About 'eager' warnings
@ 2014-04-23 23:26 Angelo Graziosi
  2014-04-24  0:30 ` Daniel Colascione
  2014-04-24  0:33 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Angelo Graziosi @ 2014-04-23 23:26 UTC (permalink / raw)
  To: Emacs developers

Building Emacs trunk (cygw32), in the logs I find several warnings like 
this:


Compiling emacs-lisp/eieio-base.el
Warning: Eager macro-expansion skipped due to cycle:
   … => (load "gv.el") => (macroexpand-all (defalias (quote 
gv--defun-declaration) …)) => (macroexpand (pcase …)) => (load 
"pcase.el") => (macroexpand-all …) => (macroexpand (dolist …)) => (load 
"gv.el")
Wrote /work/emacs/lisp/emacs-lisp/eieio-base.elc

Are they to be expected?


Ciao,
Angelo.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: About 'eager' warnings
  2014-04-23 23:26 About 'eager' warnings Angelo Graziosi
@ 2014-04-24  0:30 ` Daniel Colascione
  2014-04-25 22:29   ` Angelo Graziosi
  2014-04-24  0:33 ` Stefan Monnier
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel Colascione @ 2014-04-24  0:30 UTC (permalink / raw)
  To: Angelo Graziosi, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

On 04/23/2014 04:26 PM, Angelo Graziosi wrote:
> Building Emacs trunk (cygw32), in the logs I find several warnings like
> this:
> 
> 
> Compiling emacs-lisp/eieio-base.el
> Warning: Eager macro-expansion skipped due to cycle:
>   … => (load "gv.el") => (macroexpand-all (defalias (quote
> gv--defun-declaration) …)) => (macroexpand (pcase …)) => (load
> "pcase.el") => (macroexpand-all …) => (macroexpand (dolist …)) => (load
> "gv.el")
> Wrote /work/emacs/lisp/emacs-lisp/eieio-base.elc
> 
> Are they to be expected?

Thanks for the report. The (harmless) issue is present in emacs-24 too,
so I installed a fix there as r117014.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: About 'eager' warnings
  2014-04-23 23:26 About 'eager' warnings Angelo Graziosi
  2014-04-24  0:30 ` Daniel Colascione
@ 2014-04-24  0:33 ` Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2014-04-24  0:33 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Emacs developers

> Compiling emacs-lisp/eieio-base.el
> Warning: Eager macro-expansion skipped due to cycle:
>   … => (load "gv.el") => (macroexpand-all (defalias (quote
> gv--defun-declaration) …)) => (macroexpand (pcase …)) => (load "pcase.el")
> => (macroexpand-all …) => (macroexpand (dolist …)) => (load "gv.el")
> Wrote /work/emacs/lisp/emacs-lisp/eieio-base.elc

> Are they to be expected?

IIRC they are due to `cl' being loaded (and hence redirecting `dolist'
to cl.el's version which causes the final "=>" in the above cycle).
It's harmless and will be fixed as soon as we can move EIEIO to cl-lib.


        Stefan



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: About 'eager' warnings
  2014-04-24  0:30 ` Daniel Colascione
@ 2014-04-25 22:29   ` Angelo Graziosi
  2014-04-25 22:33     ` Daniel Colascione
  0 siblings, 1 reply; 6+ messages in thread
From: Angelo Graziosi @ 2014-04-25 22:29 UTC (permalink / raw)
  To: Daniel Colascione, Emacs developers



Il 24/04/2014 02:30, Daniel Colascione ha scritto:
>
> Thanks for the report. The (harmless) issue is present in emacs-24 too,
> so I installed a fix there as r117014.
>

Sometimes, in the build log, I find the message:

[...]
Compiling gnus/gnus-int.el
Eager macro-expansion failure: (error "Memory exhausted--use C-x s then 
exit and restart Emacs")
Wrote /work/emacs/lisp/gnus/gnus-html.elc
Compiling gnus/gnus-kill.el
[...]

and sometimes, repeating the build (same trunk), it goes away.

What does the message mean? That happens on Win7 64 for the cygw32 build 
(on Cygwin64). The machine is an Athlon 64 Dual Core with 4 GiB of  RAM. 
Usually the build is done with Chrome, Thunderbird, Emacs, Cygwin 
console (mintty) running.

Sound strange that "Memory exhausted"...

Ciao,
Angelo.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: About 'eager' warnings
  2014-04-25 22:29   ` Angelo Graziosi
@ 2014-04-25 22:33     ` Daniel Colascione
  2014-04-25 23:05       ` Angelo Graziosi
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Colascione @ 2014-04-25 22:33 UTC (permalink / raw)
  To: Angelo Graziosi, Emacs developers

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

On 04/25/2014 03:29 PM, Angelo Graziosi wrote:
> Il 24/04/2014 02:30, Daniel Colascione ha scritto:
>>
>> Thanks for the report. The (harmless) issue is present in emacs-24 too,
>> so I installed a fix there as r117014.
>>
> 
> Sometimes, in the build log, I find the message:
> 
> [...]
> Compiling gnus/gnus-int.el
> Eager macro-expansion failure: (error "Memory exhausted--use C-x s then
> exit and restart Emacs")
> Wrote /work/emacs/lisp/gnus/gnus-html.elc
> Compiling gnus/gnus-kill.el
> [...]
> 
> and sometimes, repeating the build (same trunk), it goes away.
> 
> What does the message mean? That happens on Win7 64 for the cygw32 build
> (on Cygwin64). The machine is an Athlon 64 Dual Core with 4 GiB of  RAM.
> Usually the build is done with Chrome, Thunderbird, Emacs, Cygwin
> console (mintty) running.
> 
> Sound strange that "Memory exhausted"...

That's weird. If you keep repeating the build, can you repro it? What
happens if you run the bootstrap emacs under a debugger?


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: About 'eager' warnings
  2014-04-25 22:33     ` Daniel Colascione
@ 2014-04-25 23:05       ` Angelo Graziosi
  0 siblings, 0 replies; 6+ messages in thread
From: Angelo Graziosi @ 2014-04-25 23:05 UTC (permalink / raw)
  To: Daniel Colascione, Emacs developers



Il 26/04/2014 00:33, Daniel Colascione ha scritto:
> On 04/25/2014 03:29 PM, Angelo Graziosi wrote:
>> Il 24/04/2014 02:30, Daniel Colascione ha scritto:
>>>
>>> Thanks for the report. The (harmless) issue is present in emacs-24 too,
>>> so I installed a fix there as r117014.
>>>
>>
>> Sometimes, in the build log, I find the message:
>>
>> [...]
>> Compiling gnus/gnus-int.el
>> Eager macro-expansion failure: (error "Memory exhausted--use C-x s then
>> exit and restart Emacs")
>> Wrote /work/emacs/lisp/gnus/gnus-html.elc
>> Compiling gnus/gnus-kill.el
>> [...]
>>
>> and sometimes, repeating the build (same trunk), it goes away.
>>
>> What does the message mean? That happens on Win7 64 for the cygw32 build
>> (on Cygwin64). The machine is an Athlon 64 Dual Core with 4 GiB of  RAM.
>> Usually the build is done with Chrome, Thunderbird, Emacs, Cygwin
>> console (mintty) running.
>>
>> Sound strange that "Memory exhausted"...
>
> That's weird. If you keep repeating the build, can you repro it? What

No. Sometimes the build succeeds without "failure" messages


Ciao,
Angelo.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-25 23:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-23 23:26 About 'eager' warnings Angelo Graziosi
2014-04-24  0:30 ` Daniel Colascione
2014-04-25 22:29   ` Angelo Graziosi
2014-04-25 22:33     ` Daniel Colascione
2014-04-25 23:05       ` Angelo Graziosi
2014-04-24  0:33 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).