[MacPorts] #61896: emacs{-app, }-devel +nativecomp: runtime native compilation fails on Big Sur 11.1

MacPorts noreply at macports.org
Wed Dec 23 05:44:00 UTC 2020


#61896: emacs{-app,}-devel +nativecomp: runtime native compilation fails on Big Sur
11.1
------------------------------------------+----------------------
  Reporter:  amake                        |      Owner:  drkp
      Type:  defect                       |     Status:  assigned
  Priority:  Normal                       |  Milestone:
 Component:  ports                        |    Version:
Resolution:                               |   Keywords:
      Port:  emacs-devel,emacs-app-devel  |
------------------------------------------+----------------------
Description changed by amake:

Old description:

> After updating to Big Sur 11.1 I find that the runtime native compilation
> (shown in the `*Async-native-compile-log*` buffer) fails with errors like
> the following:
>
> {{{
> Compiling /Users/amake/.emacs.d/elpa/use-package-20201110.2133/use-
> package-core.el...
> ld: library not found for -lSystem
> collect2: error: ld returned 1 exit status
> libgccjit.so: error: error invoking gcc driver
> Debugger entered--Lisp error: (native-ice "/Users/amake/.emacs.d/elpa
> /use-package-20201110.21..." "failed to compile" "/Users/amake/.emacs.d
> /eln-cache/28.0.50-x86_64-app..." "error invoking gcc driver")
>   signal(native-ice ("/Users/amake/.emacs.d/elpa/use-
> package-20201110.21..." "failed to compile" "/Users/amake/.emacs.d/eln-
> cache/28.0.50-x86_64-app..." "error invoking gcc driver"))
>   comp--native-compile("/Users/amake/.emacs.d/elpa/use-
> package-20201110.21..." t)
>   eval-buffer(#<buffer  *load*> nil
> "/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..." nil t)  ; Reading
> at buffer position 7282
>   load-with-code-
> conversion("/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..."
> "/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..." nil t)
>   command-line-1(("-l"
> "/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..."))
>   command-line()
>   normal-top-level()
> }}}
>
> I believe that this was caused by the update to 11.1 (I'm pretty sure it
> was working fine on 11.0). I've tried recompiling but it didn't help.

New description:

 After updating to Big Sur 11.1 I find that the runtime native compilation
 (shown in the `*Async-native-compile-log*` buffer) fails with errors like
 the following:

 {{{
 Compiling /Users/amake/.emacs.d/elpa/use-package-20201110.2133/use-
 package-core.el...
 ld: library not found for -lSystem
 collect2: error: ld returned 1 exit status
 libgccjit.so: error: error invoking gcc driver
 Debugger entered--Lisp error: (native-ice "/Users/amake/.emacs.d/elpa/use-
 package-20201110.21..." "failed to compile" "/Users/amake/.emacs.d/eln-
 cache/28.0.50-x86_64-app..." "error invoking gcc driver")
   signal(native-ice ("/Users/amake/.emacs.d/elpa/use-
 package-20201110.21..." "failed to compile" "/Users/amake/.emacs.d/eln-
 cache/28.0.50-x86_64-app..." "error invoking gcc driver"))
   comp--native-compile("/Users/amake/.emacs.d/elpa/use-
 package-20201110.21..." t)
   eval-buffer(#<buffer  *load*> nil
 "/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..." nil t)  ; Reading
 at buffer position 7282
   load-with-code-
 conversion("/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..."
 "/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..." nil t)
   command-line-1(("-l"
 "/var/folders/m1/c0nhy2412p1_5bbn8t5hzs000000gn/T/e..."))
   command-line()
   normal-top-level()
 }}}

 I believe that this was caused by the update to 11.1 (I'm pretty sure it
 was working fine on 11.0). I've tried recompiling but it didn't help.

 I should note that compilation at build time seems to be fine.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/61896#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list