Opened 3 years ago

Last modified 4 months ago

#64976 assigned defect

emacs @28.1: incomprehensible warnings during running

Reported by: Kuulest Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: steven-michaud (Steven Michaud), cooljeanius (Eric Gallager), thynus
Port: emacs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

i've installed the actual port 28.1 of emacs without problems. after starting emacs -- without having typed anything! -- I immediately receive some incomprehensible warnings in a separate buffer (named *Warnings* :-).

Warning (comp): collect2: error: ld returned 1 exit status Disable
showing Disable logging
Warning (comp): libgccjit.so: error: error invoking gcc driver Disable
showing Disable logging
Warning (comp): /opt/local/share/emacs/28.1/lisp/time.el.gz: Error:
Internal native compiler error failed to compile Disable showing
Disable logging

Change History (6)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: warnings during operation removed
Owner: set to drkp
Status: newassigned
Summary: incomprehensible warnings during emacs 28.1 runningemacs @28.1: incomprehensible warnings during running

comment:2 Changed 3 years ago by markabney

I get this error also, but I think the even more relevant error that I see is at the beginning of the Warnings buffer: ld: library not found for -lSystem Trying the solution of putting (setenv "LIBRARY_PATH" "/opt/local/lib/gcc11:/opt/local/lib/libgcc:/opt/local/lib/gcc11/gcc/x86_64-apple-darwin21/11.2.0") in early-init.el does not work.

This is on MacOS Monterey and launching Emacs from the commandline.

comment:3 Changed 3 years ago by DarrenStone (Darren Stone)

Until this is fixed, you can work around the problem by reinstalling emacs without the nativecomp option.

port uninstall emacs
port install emacs -nativecomp

comment:4 Changed 3 years ago by steven-michaud (Steven Michaud)

Cc: steven-michaud added

comment:5 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:6 Changed 4 months ago by thynus

Cc: thynus added
Note: See TracTickets for help on using tickets.