[MacPorts] #40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------+------------------------------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 -------------------------+------------------------------------------------- Both are failing with the same error on 10.8.4. {{{ :info:build Compiling Constants.cpp :info:build /opt/local/var/macports/build/_Users_larryv_Projects_MacPorts_svn_trunk_dports_lang_dragonegg-3.1/dragonegg-3.1-gcc-4.5/work/dragonegg-3.1.src/src/Backend.cpp:1543:3: error: "LTO support required but not enabled in GCC" :info:build # error "LTO support required but not enabled in GCC" :info:build ^ :info:build 13 warnings and 1 error generated. :info:build make: *** [Backend.o] Error 1 }}} The corresponding ports for DragonEgg 3.2, 3.3, and 3.4 build successfully. I have gcc45 @4.5.4_8+universal active. -- Ticket URL: <https://trac.macports.org/ticket/40118> MacPorts <http://www.macports.org/> Ports system for OS X
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------------------------------+------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 | -------------------------------------------------+------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => invalid Comment: yep. {{{ # LTO doesn't work for other targets, see ticket #32863 if {![variant_isset universal] && $build_arch == "x86_64"} { configure.args-append --enable-lto } }}} -- Ticket URL: <https://trac.macports.org/ticket/40118#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------------------------------+------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 | -------------------------------------------------+------------------------- Comment (by larryv@…): Replying to [comment:1 jeremyhu@…]:
yep. {{{ # LTO doesn't work for other targets, see ticket #32863 if {![variant_isset universal] && $build_arch == "x86_64"} { configure.args-append --enable-lto } }}}
Odd; I wonder why this didn’t crop up before now. Meh. -- Ticket URL: <https://trac.macports.org/ticket/40118#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------------------------------+------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 | -------------------------------------------------+------------------------- Comment (by jeremyhu@…): Did you just enable +universal? -- Ticket URL: <https://trac.macports.org/ticket/40118#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------------------------------+------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 | -------------------------------------------------+------------------------- Comment (by larryv@…): Replying to [comment:3 jeremyhu@…]:
Did you just enable +universal?
No, I’ve had my GCC ports installed as universal since before you created the DragonEgg subports. I’m pretty sure that revision 1 of [[span(dragonegg-3.![01]-gcc-4.5, style=white-space: nowrap)]] had built successfully with gcc45 @4.5.4_7+universal. -- Ticket URL: <https://trac.macports.org/ticket/40118#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------------------------------+------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 | -------------------------------------------------+------------------------- Comment (by jeremyhu@…): No, I'm pretty certain that dragonegg never built against gcc45 +unviersal ... since I know that was failing when I pushed the port (I was hitting it myself on my +universal machines). -- Ticket URL: <https://trac.macports.org/ticket/40118#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40118: dragonegg-3.0-gcc-4.5 @3.0_2, dragonegg-3.1-gcc-4.5 @3.1_2: build cannot detect LTO -------------------------------------------------+------------------------- Reporter: larryv@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: dragonegg-3.0-gcc-4.5 | dragonegg-3.1-gcc-4.5 | -------------------------------------------------+------------------------- Comment (by larryv@…): Replying to [comment:5 jeremyhu@…]:
No, I'm pretty certain that dragonegg never built against gcc45 +unviersal ... since I know that was failing when I pushed the port (I was hitting it myself on my +universal machines).
Now that I think about it… 1. I flipped the `delete_la_files yes` / `buildfromsource always` switch. 2. I uninstalled all my ports. 3. I built all my ports—including the GCC and DragonEgg ports—as x86_64. 4. I rebuilt select ports—including the GCC ports—as universal. And maybe I hadn’t encountered the build failure prior to all of that because I’d installed the DragonEgg ports via binary archives. -- Ticket URL: <https://trac.macports.org/ticket/40118#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts