[MacPorts] #32863: gcc45 fails to build: error: LTO support is not enabled for this target
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Upgrading gcc45 from @4.5.3_0 to @4.5.3_1 fails on my MacBook Air, Mac OS X 10.5.8 with an Intel Core 2 Duo processor [snip] :info:configure checking target system type... i386-apple-darwin9 [snip] :info:configure configure: error: LTO support is not enabled for this target. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/build" && ../gcc-4.5.3/configure --prefix=/opt/local --build=i386-apple-darwin9 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx- include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with- mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable- multilib --enable-lto " returned error 1 -- Ticket URL: <https://trac.macports.org/ticket/32863> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Changes (by cal@…): * cc: patnotz@… (removed) * owner: macports-tickets@… => mww@… Old description:
Upgrading gcc45 from @4.5.3_0 to @4.5.3_1 fails on my MacBook Air, Mac OS X 10.5.8 with an Intel Core 2 Duo processor
[snip]
:info:configure checking target system type... i386-apple-darwin9
[snip]
:info:configure configure: error: LTO support is not enabled for this target. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/build" && ../gcc-4.5.3/configure --prefix=/opt/local --build=i386-apple-darwin9 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx- include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with- mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable- multilib --enable-lto " returned error 1
New description: Upgrading gcc45 from @4.5.3_0 to @4.5.3_1 fails on my MacBook Air, Mac OS X 10.5.8 with an Intel Core 2 Duo processor {{{ :info:configure checking target system type... i386-apple-darwin9 }}} {{{ :info:configure configure: error: LTO support is not enabled for this target. :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/gcc45/work/build" && ../gcc-4.5.3/configure --prefix=/opt/local --build=i386-apple-darwin9 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx- include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with- mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable- multilib --enable-lto " returned error 1 }}} -- Comment: You don't need to Cc yourself. Please use WikiFormatting for shell output. Please also remember to Cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Comment(by trog24@…): Same problem on a dual 1.73 GHz PPC Quicksilver. See attached log. -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Comment(by lowtech@…): Same error msg "error: LTO support is not enabled for this target" fails gcc45 (4.5.3_1) upgrade here too. On Core2Duo MacBook running OS X 10.5.8. -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Comment(by michael.klein@…): LTO seems to be only supported on x86_64, The port builds ok on 10.5.8 PPC after removing --enable-lto from configure.args. The patch above is untested as I have no x86_64 box here. -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Comment(by trog24@…): Has the patch been incorporated into the port because I still fail with my G4 and MacOS 10.5.8? -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target -------------------------------+-------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gcc45 -------------------------------+-------------------------------------------- Comment(by jmr@…): The patch is not correct, you have to check $build_arch and that +universal is not active. -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32863: gcc45 fails to build: error: LTO support is not enabled for this target --------------------------------+------------------------------------------- Reporter: patnotz@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: gcc45 | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r90572 -- Ticket URL: <https://trac.macports.org/ticket/32863#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts