Page MenuHomeFreeBSD

Emacs ports: USE_GCC with NATIVECOMP options
ClosedPublic

Authored by jrm on Nov 5 2022, 3:17 AM.
Tags
None
Referenced Files
F133527219: D37275.id112644.diff
Sun, Oct 26, 10:33 AM
F133527216: D37275.id.diff
Sun, Oct 26, 10:33 AM
F133527209: D37275.id112642.diff
Sun, Oct 26, 10:33 AM
F133527202: D37275.id112643.diff
Sun, Oct 26, 10:33 AM
F133491205: D37275.id112690.diff
Sun, Oct 26, 4:37 AM
F133487754: D37275.diff
Sun, Oct 26, 4:03 AM
Unknown Object (File)
Fri, Oct 24, 9:35 PM
Unknown Object (File)
Wed, Oct 22, 3:54 AM

Details

Summary

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

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
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 https://reviews.freebsd.org/D37266 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.