Page MenuHomeFreeBSD

Emacs ports: USE_GCC with NATIVECOMP options

Authored by jrm on Nov 5 2022, 3:17 AM.
Referenced Files
Unknown Object (File)
Jan 29 2024, 2:15 AM
Unknown Object (File)
Dec 28 2023, 4:36 PM
Unknown Object (File)
Dec 20 2023, 7:38 AM
Unknown Object (File)
Dec 13 2023, 11:04 AM
Unknown Object (File)
Dec 12 2023, 8:01 PM
Unknown Object (File)
Nov 18 2023, 5:29 AM
Unknown Object (File)
Nov 17 2023, 10:41 PM
Unknown Object (File)
Nov 17 2023, 9:07 PM



In order to allow concurrent GCC ports to be installed, the GCC ports
have started to install some header files in non-standard locations.
Emacs built with NATIVECOMP requires GCC jit libraries, so rather than
patching to search in non-standard locations for their header
files, just build Emacs with GCC when NATIVECOMP is turned on.

PR: 257060

Diff Detail

R11 FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

jrm requested review of this revision.Nov 5 2022, 3:17 AM

Remove whitespace change

Ensure GCC version 11+ is used when building with NATIVECOMP

Looks good to me. I have built editors/emacs successfully after applying the patch in for GCC 11 and your patch.

I also confirmed that combination with D37266 works fine on 13.1-RELEASE amd64.

This revision is now accepted and ready to land.Nov 5 2022, 9:54 AM

Yes, this looks good - I have been using USE_GCC=11+ for emacs & NATIVECOMP for a few months now with success. Sorry I forgot to submit the change for review - and thanks for picking it up. -- John

I'll commit just after @salvadore commits D37266. I'll also bump PORTREVSION.