all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Native-comp & seq.el
@ 2020-10-17 19:55 Arthur Miller
  2020-10-17 21:11 ` Andrea Corallo via Emacs development discussions.
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Miller @ 2020-10-17 19:55 UTC (permalink / raw)
  To: emacs-devel

I have just pulled and recompiled the source, and I am getting following
error when I try to start new Emacs instance:

(setf seq-elt) is already defined as something else than a generic function

I also see lots of warnings I don't normally see when I compile native-comp
branch, is it just me, or something else?



Below is (some) compiler output:

ELC+ELN   bookmark.elc
 ELC+ELN   cus-dep.elc
 ELC+ELN   help-fns.elc
 ELC+ELN   info.elc
 ELC+ELN   shell.elc
 ELC+ELN   woman.elc
 ELC+ELN   emacs-lisp/advice.elc
 ELC+ELN   emacs-lisp/cl-macs.elc
 ELC+ELN   emacs-lisp/disass.elc
 ELC+ELN   emacs-lisp/find-func.elc

In end of data:
shell.el:1372:1: Warning: the following functions might not be defined at
    runtime: hack-connection-local-variables-apply,
    connection-local-criteria-for-default-directory
 ELC+ELN   emacs-lisp/package.elc
 ELC+ELN   emacs-lisp/seq.elc
 ELC+ELN   gnus/gnus.elc

In end of data:
woman.el:4609:1: Warning: the function ‘imenu-add-to-menubar’ might not be
    defined at runtime.
 ELC+ELN   net/ange-ftp.elc
 ELC+ELN   net/browse-url.elc
 ELC+ELN   net/tramp-adb.elc
 ELC+ELN   net/tramp.elc
 ELC+ELN   net/tramp-crypt.elc

In toplevel form:
emacs-lisp/seq.el:393:16: Warning: ‘seq-contains’ is an obsolete generic
    function (as of 27.1); use ‘seq-contains-p’ instead.
 ELC+ELN   net/tramp-rclone.elc
 ELC+ELN   net/tramp-sh.elc
 ELC+ELN   net/tramp-smb.elc
 ELC+ELN   progmodes/cc-bytecomp.elc
 ELC+ELN   progmodes/f90.elc
 ELC+ELN   progmodes/mixal-mode.elc
 ELC+ELN   url/url-vars.elc
 ELC+ELN   vc/diff-mode.elc
 ELC+ELN   progmodes/cc-defs.elc
 ELC+ELN   progmodes/cc-vars.elc
 ELC+ELN   progmodes/cc-menus.elc
 ELC+ELN   progmodes/cc-langs.elc
 ELC+ELN   progmodes/cc-engine.elc

In c-add-syntax:
progmodes/cc-engine.el:12257:35: Warning: reference to free variable
    ‘c-syntactic-context’
progmodes/cc-engine.el:12257:35: Warning: assignment to free variable
    ‘c-syntactic-context’

In c-append-syntax:
progmodes/cc-engine.el:12262:9: Warning: reference to free variable
    ‘c-syntactic-context’
progmodes/cc-engine.el:12262:36: Warning: assignment to free variable
    ‘c-syntactic-context’

In c-add-stmt-syntax:
progmodes/cc-engine.el:12492:16: Warning: reference to free variable
    ‘c-syntactic-context’
 ELC+ELN   progmodes/cc-align.elc
 ELC+ELN   progmodes/cc-cmds.elc
 ELC+ELN   progmodes/cc-fonts.elc

In c-block-in-arglist-dwim:
progmodes/cc-align.el:126:24: Warning: reference to free variable
    ‘c-syntactic-context’

In c-lineup-arglist:
progmodes/cc-align.el:188:40: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-argcont:
progmodes/cc-align.el:226:45: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-arglist-close-under-paren:
progmodes/cc-align.el:297:40: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-close-paren:
progmodes/cc-align.el:358:40: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-knr-region-comment:
progmodes/cc-align.el:685:39: Warning: reference to free variable
    ‘c-syntactic-context’

In c-lineup-assignments:
progmodes/cc-align.el:733:46: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-cascaded-calls:
progmodes/cc-align.el:842:41: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-2nd-brace-entry-in-arglist:
progmodes/cc-align.el:1142:32: Warning: reference to free variable
    ‘c-syntactic-context’

In c-lineup-class-decl-init-+:
progmodes/cc-align.el:1185:32: Warning: reference to free variable
    ‘c-syntactic-context’

In c-lineup-class-decl-init-after-brace:
progmodes/cc-align.el:1227:32: Warning: reference to free variable
    ‘c-syntactic-context’

In c-lineup-gcc-asm-reg:
progmodes/cc-align.el:1358:36: Warning: reference to free variable
    ‘c-syntactic-element’

In c-snug-do-while:
progmodes/cc-align.el:1422:50: Warning: reference to free variable
    ‘c-syntactic-context’

In c-gnu-impose-minimum:
progmodes/cc-align.el:1448:36: Warning: reference to free variable
    ‘c-syntactic-context’
 ELC+ELN   progmodes/cc-styles.elc

In end of data:
progmodes/cc-styles.el:685:1: Warning: the function ‘c-guess-basic-syntax’
    might not be defined at runtime.
 ELC+ELN   progmodes/cc-mode.elc
make[2]: Lämnar katalogen ”/home/arthur/repos/emacs-related/emacssrc/emacs/lisp”
make[1]: Lämnar katalogen ”/home/arthur/repos/emacs-related/emacssrc/emacs/lisp”


2020-10-17 21:41:05 ⌚  pascal in ~/repos/emacs-related/emacssrc/emacs
± |feature/native-comp {3} ✓| → src/emacs&
[1] 12379

 2020-10-17 21:41:16 ⌚  pascal in ~/repos/emacs-related/emacssrc/emacs
± |feature/native-comp {3} ✓| → (setf seq-elt) is already defined as something else than a generic function

[1]+  Avslut 255              src/emacs




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

* Re: Native-comp & seq.el
  2020-10-17 19:55 Native-comp & seq.el Arthur Miller
@ 2020-10-17 21:11 ` Andrea Corallo via Emacs development discussions.
  2020-10-17 23:52   ` Arthur Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Andrea Corallo via Emacs development discussions. @ 2020-10-17 21:11 UTC (permalink / raw)
  To: Arthur Miller; +Cc: emacs-devel

Arthur Miller <arthur.miller@live.com> writes:

> I have just pulled and recompiled the source, and I am getting following
> error when I try to start new Emacs instance:
>
> (setf seq-elt) is already defined as something else than a generic function
>
> I also see lots of warnings I don't normally see when I compile native-comp
> branch, is it just me, or something else?


Mmmhh, could you try reverting 03dfa83dc3 and see if that's the cause?

  Andrea



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

* Re: Native-comp & seq.el
  2020-10-17 21:11 ` Andrea Corallo via Emacs development discussions.
@ 2020-10-17 23:52   ` Arthur Miller
  2020-10-18  7:46     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Miller @ 2020-10-17 23:52 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: emacs-devel

Andrea Corallo <akrl@sdf.org> writes:

> Arthur Miller <arthur.miller@live.com> writes:
>
>> I have just pulled and recompiled the source, and I am getting following
>> error when I try to start new Emacs instance:
>>
>> (setf seq-elt) is already defined as something else than a generic function
>>
>> I also see lots of warnings I don't normally see when I compile native-comp
>> branch, is it just me, or something else?
>
>
> Mmmhh, could you try reverting 03dfa83dc3 and see if that's the cause?
>
Ok, I cloned git repo fresh and built it first without revert. Emacs
work but there are still some compile time warnings.

Then I reseted and compile. I couldn't revert, seems like there are some
uncommitted changes to lread.c; I am not sure, git complains about 
loosing changes in lread.c; I didn't changed it. I just reseted and
Emacs again compiled, still with warnings but very few this time; I am
not sure if they have with native-comp to do though:


In c-add-syntax:
progmodes/cc-engine.el:12257:35: Warning: reference to free variable
    ‘c-syntactic-context’
progmodes/cc-engine.el:12257:35: Warning: assignment to free variable
    ‘c-syntactic-context’

In c-append-syntax:
progmodes/cc-engine.el:12262:9: Warning: reference to free variable
    ‘c-syntactic-context’
progmodes/cc-engine.el:12262:36: Warning: assignment to free variable
    ‘c-syntactic-context’

In c-add-stmt-syntax:
progmodes/cc-engine.el:12492:16: Warning: reference to free variable
    ‘c-syntactic-context’
 ELC+ELN   progmodes/cc-align.elc
 ELC+ELN   progmodes/cc-cmds.elc
 ELC+ELN   progmodes/cc-fonts.elc

In c-block-in-arglist-dwim:
progmodes/cc-align.el:126:24: Warning: reference to free variable
    ‘c-syntactic-context’

In c-lineup-arglist:
progmodes/cc-align.el:184:56: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-argcont:
progmodes/cc-align.el:226:45: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-arglist-close-under-paren:
progmodes/cc-align.el:297:40: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-close-paren:
progmodes/cc-align.el:358:40: Warning: reference to free variable
    ‘c-syntactic-element’

In c-lineup-knr-region-comment:
progmodes/cc-align.el:685:39: Warning: reference to free variable



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

* Re: Native-comp & seq.el
  2020-10-17 23:52   ` Arthur Miller
@ 2020-10-18  7:46     ` Lars Ingebrigtsen
  2020-10-18 13:41       ` Arthur Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-18  7:46 UTC (permalink / raw)
  To: Arthur Miller; +Cc: emacs-devel, Andrea Corallo

Arthur Miller <arthur.miller@live.com> writes:

> Ok, I cloned git repo fresh and built it first without revert. Emacs
> work but there are still some compile time warnings.

Try building with "make bootstrap" after changing branches and/or going
back and forth in the git history.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

* Re: Native-comp & seq.el
  2020-10-18  7:46     ` Lars Ingebrigtsen
@ 2020-10-18 13:41       ` Arthur Miller
  2020-10-18 15:09         ` Arthur Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Miller @ 2020-10-18 13:41 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel, Andrea Corallo

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Arthur Miller <arthur.miller@live.com> writes:
>
>> Ok, I cloned git repo fresh and built it first without revert. Emacs
>> work but there are still some compile time warnings.
>
> Try building with "make bootstrap" after changing branches and/or going
> back and forth in the git history.
Allright; thanks for the tip!

I was indeed changing between my own test branch, master and Andrea's.



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

* Re: Native-comp & seq.el
  2020-10-18 13:41       ` Arthur Miller
@ 2020-10-18 15:09         ` Arthur Miller
  0 siblings, 0 replies; 6+ messages in thread
From: Arthur Miller @ 2020-10-18 15:09 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Andrea Corallo, emacs-devel

Arthur Miller <arthur.miller@live.com> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Arthur Miller <arthur.miller@live.com> writes:
>>
>>> Ok, I cloned git repo fresh and built it first without revert. Emacs
>>> work but there are still some compile time warnings.
>>
>> Try building with "make bootstrap" after changing branches and/or going
>> back and forth in the git history.
> Allright; thanks for the tip!
>
> I was indeed changing between my own test branch, master and Andrea's.
I forgott today; this is was after a clean git clone, but I did only
make, not make bootstrap.

Just tested today with make bootstrap and I still see some warnings from
c mode stuff, but I guess it has nothing to do with nativecomp. 



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

end of thread, other threads:[~2020-10-18 15:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-17 19:55 Native-comp & seq.el Arthur Miller
2020-10-17 21:11 ` Andrea Corallo via Emacs development discussions.
2020-10-17 23:52   ` Arthur Miller
2020-10-18  7:46     ` Lars Ingebrigtsen
2020-10-18 13:41       ` Arthur Miller
2020-10-18 15:09         ` Arthur Miller

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.