Bug 146055

Summary: [PATCH] lang/gcc45: add optional support for LTO
Product: Ports & Packages Reporter: Martin Matuska <mm>
Component: Individual Port(s)Assignee: Gerald Pfeifer <gerald>
Status: Closed FIXED    
Severity: Affects Only Me CC: gerald
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
gcc-4.5.1.20100422_1.patch none

Description Martin Matuska freebsd_committer freebsd_triage 2010-04-26 08:50:01 UTC
- Add support for link time optimization (needs devel/libelf)
- Disable link time optimization if not wanted (and devel/libelf installed)
- Maintainer's decision to make this on or off by default

Port maintainer (gerald@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-26 08:50:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gerald

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-05-03 07:54:24 UTC
gerald      2010-05-03 06:54:10 UTC

  FreeBSD ports repository

  Modified files:
    lang/gcc45           Makefile 
  Log:
  Add a new option LTO that enables the new link-time optimization framework
  and first optimizations that GCC 4.5 brings.  This adds libelf as a new
  dependency (if used) and is off by default; we may be enabling it at a
  later point, though.
  
  Bumping PORTREVISION since someone who has installed libelf, previously
  to this change would get LTO enabled automatically and then run into
  problems if libelf is removed -- which is possible, since this port
  does not lay down a dependency on that case.
  
  PR:             146055
  Submitted by:   mm
  
  Revision  Changes    Path
  1.436     +11 -0     ports/lang/gcc45/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Gerald Pfeifer freebsd_committer freebsd_triage 2010-05-03 08:14:42 UTC
State Changed
From-To: open->closed
Comment 4 gerald 2010-05-03 08:22:28 UTC
Thanks a lot for the report and including a patch, already.  I made very
minor changes to the patch (swapped to lines in the option handling and
updated the description of LTO) in case you wonder.  That was a good
catch of yours to ensure we don't enable this "by chance" and then run
into problems later.

Gerald