unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <lists@traduction-libre.org>
To: Alan Third <alan@idiocy.org>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
Date: Tue, 14 Sep 2021 07:56:51 +0900	[thread overview]
Message-ID: <27B72EA2-F110-4579-A453-2F426AEF5F82@traduction-libre.org> (raw)
In-Reply-To: <4FEC66A3-E4B5-4770-A72A-D13F1ECA4248@traduction-libre.org>



> On Sep 14, 2021, at 7:24, Jean-Christophe Helary <lists@traduction-libre.org> wrote:
> 
>>>> Actually, it occurs to me that you said the problems occur when you
>>>> install llvm under Macports... I don't know how this stuff all ties
>>>> together, so is it possible that installing llvm is changing your
>>>> environment in some way that breaks the gcc install from brew?
>>> 
>>> I don't have gcc on brew.
>> 
>> Try installing gcc in brew. It doesn't break anything as clang will
>> still be the default.
> 
> :-)
> 
> It worked :-)
> 
> At least ./configure --with-native-compilation did :-)

I get error messages/warnings for the make process:

1)  AR       libgnu.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(u64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(u64.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/make -C lib-src all
  CCLD     etags
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
  CCLD     ctags
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
  CCLD     emacsclient
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
  CCLD     ebrowse
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
  CCLD     hexl
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
  CCLD     make-docfile
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
  CCLD     make-fingerprint
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
/Library/Developer/CommandLineTools/usr/bin/make -C src VCSWITNESS='$(srcdir)/../.git/logs/HEAD' BIN_DESTDIR=''/Users/suzume/Documents/Repositories/emacs/nextstep/Emacs.app/Contents/MacOS/'' \
		 ELN_DESTDIR='/Users/suzume/Documents/Repositories/emacs/nextstep/Emacs.app/Contents/Frameworks/' all


2)  CC       comp.o
comp.c:2645:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma GCC diagnostic pop
                       ^
comp.c:4385:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma GCC diagnostic pop
                       ^
comp.c:4401:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma GCC diagnostic pop
                       ^
comp.c:4655:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
#pragma GCC diagnostic pop
                       ^
4 warnings generated.

3)   CC       macfont.o
macfont.m:3547:15: warning: 'CTGetCoreTextVersion' is deprecated: first deprecated in macOS 11.0 - Use -[NSProcessInfo operatingSystemVersion] [-Wdeprecated-declarations]
          if (CTGetCoreTextVersion () >= kCTVersionNumber10_9)
              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:61:10: note: 'CTGetCoreTextVersion' has been explicitly marked deprecated here
uint32_t CTGetCoreTextVersion( void ) CT_DEPRECATED("Use -[NSProcessInfo operatingSystemVersion]", macos(10.5, 11.0), ios(3.2, 14.0), watchos(2.0, 7.0), tvos(9.0, 14.0));
         ^

1 warning generated.

4)   CCLD     temacs
ld: warning: directory not found for option '-L/usr/local/opt/readline/lib:'
ld: warning: dylib (/usr/local/Cellar/libgccjit/11.2.0/lib/gcc/11/libgccjit.so) was built for newer macOS version (11.3) than being linked (11.0)

5) 2021-09-14 07:25:47.082 temacs[17826:2576579] Failed to initialize color list unarchiver: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver}

======

but in the end it looks like make makes it to the end.

When I (re)launch Emacs after make install I get this (as I did before):

Warning (comp): libgccjit.so: error: error invoking gcc driver Disable showing Disable logging
Warning (comp): /Users/suzume/Documents/Repositories/emacs/nextstep/Emacs.app/Contents/Resources/lisp/emacs-lisp/cl-lib.el.gz: Error: Internal native compiler error failed to compile Disable showing Disable logging

Then I guess Emacs starts doing its thing in the background since it runs at about 2% of CPU use.

As far as I can tell, it looks like things are working as expected.


JC

> 
> 
> -- 
> Jean-Christophe Helary @brandelune
> https://mac4translators.blogspot.com
> https://sr.ht/~brandelune/omegat-as-a-book/
> 
> 

-- 
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/




  reply	other threads:[~2021-09-13 22:56 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15  6:10 ./configure --with-native-compilation on macos (11.5.2 Big Sur) Jean-Christophe Helary
2021-08-16 17:18 ` Alan Third
2021-08-17  0:59   ` Jean-Christophe Helary
2021-08-17  1:02     ` Jean-Christophe Helary
2021-08-17 19:45     ` Alan Third
2021-08-20  6:29       ` Jean-Christophe Helary
2021-08-21  4:43         ` Jean-Christophe Helary
2021-08-21  9:47           ` Alan Third
2021-09-05 13:07             ` Alan Third
2021-09-05 13:22               ` Jean-Christophe Helary
2021-09-06  3:24                 ` Alan Third
2021-09-06  3:46                   ` Jean-Christophe Helary
2021-09-06  6:27                     ` Jean-Christophe Helary
2021-09-06  6:43                       ` Jean-Christophe Helary
2021-09-06  7:10                         ` Jean-Christophe Helary
2021-09-06  7:34                           ` Stefan Kangas
2021-09-06  7:38                             ` Jean-Christophe Helary
2021-09-06  7:52                               ` Stefan Kangas
2021-09-06 10:33                         ` Eli Zaretskii
2021-09-06 12:12                           ` Jean-Christophe Helary
2021-09-06 12:34                             ` Eli Zaretskii
2021-09-06  9:45                       ` Jean-Christophe Helary
2021-09-06 20:01                         ` Alan Third
2021-09-06 23:50                           ` Jean-Christophe Helary
2021-09-13 22:55                             ` Jean-Christophe Helary
2021-09-08  7:34                           ` Lars Ingebrigtsen
2021-09-08 15:31                         ` Alan Third
2021-09-08 20:59                           ` Alan Third
2021-09-08 21:15                             ` Alan Third
2021-09-08 23:44                           ` Jean-Christophe Helary
2021-09-09 21:07                             ` Alan Third
2021-09-10  0:35                               ` Jean-Christophe Helary
2021-09-10 20:53                                 ` Alan Third
2021-09-11  5:54                                   ` Eli Zaretskii
2021-09-11  0:30                               ` Jean-Christophe Helary
2021-09-11 16:17                                 ` Alan Third
2021-09-12  8:47                                   ` Jean-Christophe Helary
2021-09-12 11:59                                     ` Alan Third
2021-09-13 12:06                                       ` Jean-Christophe Helary
2021-09-13 18:19                                         ` Alan Third
2021-09-13 18:42                                           ` Alan Third
2021-09-13 22:04                                             ` Jean-Christophe Helary
2021-09-13 22:08                                               ` Alan Third
2021-09-13 22:24                                                 ` Jean-Christophe Helary
2021-09-13 22:56                                                   ` Jean-Christophe Helary [this message]
2021-09-14 15:22                                           ` Alan Third
2021-09-14 17:10                                             ` Jean-Christophe Helary

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=27B72EA2-F110-4579-A453-2F426AEF5F82@traduction-libre.org \
    --to=lists@traduction-libre.org \
    --cc=alan@idiocy.org \
    --cc=emacs-devel@gnu.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 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).