[MacPorts] #30542: gcc45 should include --enable-plugin and --enable-lto options
#30542: gcc45 should include --enable-plugin and --enable-lto options --------------------------------+------------------------------------------- Reporter: vince@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: options | Port: gcc45 --------------------------------+------------------------------------------- The gcc45 (and 46) build should by default activate --enable-plugin and --enable-lto options. The latter triggers link time optimization that can be used to further optimize binaries. Both are required to build dragonegg. Also gcc46 should be updated to 4.6.1 instead of the last ß-version. -- Ticket URL: <https://trac.macports.org/ticket/30542> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30542: gcc45 should include --enable-plugin and --enable-lto options --------------------------------+------------------------------------------- Reporter: vince@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: options | Port: gcc45 --------------------------------+------------------------------------------- Comment(by vince@…): Also, I forgot, but the Portfile should also include a post-destroot command that copies the file in ${worksrcdir}/gcc/config/darwin- sections.def into ${destroot}${prefix}/gcc45/gcc/${arch}-apple- darwinXX/4.5.3/plugin/include/config (XX: version of darwin). -- Ticket URL: <https://trac.macports.org/ticket/30542#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30542: gcc45 should include --enable-plugin and --enable-lto options --------------------------------+------------------------------------------- Reporter: vince@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: options | Port: gcc45 --------------------------------+------------------------------------------- Comment(by pixilla@…): Vince: * Make a separate diff for white space changes (line 90). * I'm am not that familiar with gcc45, did you mean/need to remove the java language? -- Ticket URL: <https://trac.macports.org/ticket/30542#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30542: gcc45 should include --enable-plugin and --enable-lto options --------------------------------+------------------------------------------- Reporter: vince@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: options | Port: gcc45 --------------------------------+------------------------------------------- Changes (by jmr@…): * cc: mww@… (removed) * cc: jeremyhu@… (added) Comment: --enable-lto was added in r88802, but #32863 indicates that it should only have been added for x86_64, at least in 4.5. That has been corrected for gcc45 in r90572. Someone should probably test gcc46 and gcc47. That just leaves --enable-plugin, which has not been added. But presumably the dragonegg ports work, so is it really needed? -- Ticket URL: <https://trac.macports.org/ticket/30542#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30542: gcc45 should include --enable-plugin and --enable-lto options ---------------------------------+------------------------------------------ Reporter: vince@… | Owner: mww@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: worksforme | Keywords: options Port: gcc45 | ---------------------------------+------------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: There doesn't seem to be an --enable-plugin configure option in gcc-4.6.2: ~/src/macports/dports/lang/gcc46/work/gcc-4.6.2 $ ./configure --help | grep plugin -- Ticket URL: <https://trac.macports.org/ticket/30542#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30542: gcc45 should include --enable-plugin and --enable-lto options ---------------------------------+------------------------------------------ Reporter: vince@… | Owner: mww@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: worksforme | Keywords: options Port: gcc45 | ---------------------------------+------------------------------------------ Comment(by jeremyhu@…): Oh I see... It's in gcc/configure, and it's on by default anyways. -- Ticket URL: <https://trac.macports.org/ticket/30542#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts