Bug 199148

Summary: editors/emacs: gcc not required on supported platforms
Product: Ports & Packages Reporter: mjl
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me CC: miwi
Priority: --- Flags: ashish: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
do not require gcc to build emacs on i386 none

Description mjl 2015-04-03 16:33:50 UTC
Created attachment 155162 [details]
do not require gcc to build emacs on i386

emacs on i386 currently requires gcc to build because of a bug in older versions of clang.

https://llvm.org/bugs/show_bug.cgi?id=18171

however, the bug has been fixed in clang versions that ship with 9.3 and 10.1, the two supported freebsd releases with clang.  8.4 uses gcc.  I confirmed this with dim@

https://svnweb.freebsd.org/base?view=revision&revision=263312
https://svnweb.freebsd.org/base?view=revision&revision=263765

The attached patch drops gcc requirement.  I have been using emacs for a week built with clang with no problems.
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2015-04-03 18:20:29 UTC
(In reply to mjl from comment #0)

> however, the bug has been fixed in clang versions that ship with 9.3 and 10.1, the two supported freebsd releases with clang.  8.4 uses gcc.  I confirmed this with dim@

I've noticed it, although diff needs change. I'll commit the new one, requiring gcc depending on OSVERSION.

Thanks!