[Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC
Hi All: My attempts to build the gnu compilers: gcc4 (4.0.2-3) and gcc42 (42-4.2.2-1000) w/ Fink have met with failure (w/ fink commander, fink plain and fink plain as single user) My machine specs (yes, the machine's long in the tooth but still quite serviceable in most ways except in compiling gcc!) OS: Dawin 8.11.0 (Tiger 10.4.11) Processor: 500 MHz PowerPC G3 Memory: 1GB Ram (which is why it's still serviceable for most tasks) XCode: 2.5 While I've been able to get the G95 and G77 builds compiled/built/working, I'd be nice to have the gfortran compilers too for work with netCDF and NCAR graphics (I'll likely need 5.0.0, not the currently available fink build) Any ideas or suggestions here (besides sticking to Linux or getting a new machine that runs leopard -- I'm fond of this little jalopy) Thanks Much Bill Bill Capehart [EMAIL PROTECTED] Associate Professor Institute of Atmospheric Sciences Land Surface Processes 213 Mineral Industries Building Hydrometeorology South Dakota School of Mines and Technology Ph: +1-605-394-1994 501 East Saint Joseph StreetFax: +1-605-394-6061 Rapid City, SD 57701-3995Mobile: +1-605-484-5692 === http://capehart.sdsmt.edu == - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC
On Apr 20, 2008, at 11:17 AM, Capehart, William J wrote: Hi All: My attempts to build the gnu compilers: gcc4 (4.0.2-3) and gcc42 (42-4.2.2-1000) w/ Fink have met with failure (w/ fink commander, fink plain and fink plain as single user) My machine specs (yes, the machine's long in the tooth but still quite serviceable in most ways except in compiling gcc!) OS: Dawin 8.11.0 (Tiger 10.4.11) Processor: 500 MHz PowerPC G3 Memory: 1GB Ram (which is why it's still serviceable for most tasks) XCode: 2.5 While I've been able to get the G95 and G77 builds compiled/built/ working, I'd be nice to have the gfortran compilers too for work with netCDF and NCAR graphics (I'll likely need 5.0.0, not the currently available fink build) Any ideas or suggestions here (besides sticking to Linux or getting a new machine that runs leopard -- I'm fond of this little jalopy) Thanks Much Bill Bill Capehart [EMAIL PROTECTED] Associate Professor Institute of Atmospheric Sciences Land Surface Processes 213 Mineral Industries Building Hydrometeorology South Dakota School of Mines and Technology Ph: +1-605-394-1994 501 East Saint Joseph StreetFax: +1-605-394-6061 Rapid City, SD 57701-3995Mobile: +1-605-484-5692 === http://capehart.sdsmt.edu == We would need more specific information about the nature of the failure, such as the last line the compiler tried to run, and the error message you got afterward. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel
Re: [Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC
Ok. .. Here they come for the final few steps of each:: From the gcc4 build failure: ar rc libbackend.a tree-chrec.o tree-scalar-evolution.o tree-data-ref.o tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o gimplify.o tree-pretty-print.o tree-into-ssa.o tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-dce.o tree-ssa-copy.o tree-nrv.o tree-ssa-copyrename.o tree-ssa-pre.o tree-ssa-live.o tree-ssa-operands.o tree-ssa-alias.o tree-ssa-phiopt.o tree-ssa-forwprop.o tree-nested.o tree-ssa-dse.o tree-ssa-dom.o domwalk.o tree-tailcall.o gimple-low.o tree-iterator.o tree-phinodes.o tree-ssanames.o tree-sra.o tree-complex.o tree-ssa-loop.o tree-ssa-loop-niter.o tree-ssa-loop-manip.o tree-ssa-threadupdate.o tree-vectorizer.o tree-vect-analyze.o tree-vect-transform.o tree-ssa-loop-ivcanon.o tree-ssa-propagate.o tree-ssa-loop-ivopts.o tree-if-conv.o tree-ssa-loop-unswitch.o alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o dbxout.o ddg.o tree-ssa-loop-ch.o loop-invariant.o tree-ssa-loop-im.o debug.o df.o diagnostic.o dojump.o dominance.o loop-doloop.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o loop-iv.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o modulo-sched.o optabs.o options.o opts.o params.o postreload.o postreload-gcse.o predict.o insn-preds.o pointer-set.o postreload.o print-rtl.o print-tree.o profile.o value-prof.o var-tracking.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o simplify-rtx.o sreal.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o varasm.o varray.o vec.o version.o vmsdbgout.o xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o pretty-print.o ggc-page.o web.o passes.o rtl-profile.o tree-profile.o rtlhooks.o cfgexpand.o lambda-mat.o lambda-trans.o lambda-code.o tree-loop-linear.o rs6000.o darwin.o host-darwin.o tree-inline.o cgraph.o cgraphunit.o tree-nomudflap.o ranlib -c libbackend.a gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition-DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o darwin-c.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o main.o libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a ./../intl/libintl.a -liconv ../libiberty/libiberty.a ### execution of /var/tmp/tmp.2.tgU2xD failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc4-4.0.2-3 (Reading database ... 8707 files and directories currently installed.) Removing fink-buildlock-gcc4-4.0.2-3 ... Failed: phase compiling: gcc4-4.0.2-3 failed Before reporting any errors, please run fink selfupdate and try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink-users or fink-beginners mailing lists, with a carbon copy to the maintainer: None fink-devel@lists.sourceforge.net Note that this is preferable to emailing the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. -- For the final few lines of the gcc42 failure: gcc4.2/powerpc-apple-darwin8/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute-DHAVE_CONFIG_H -I. -I. -I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. -I../../gcc-4.2.2/gcc/../include -I../../gcc-4.2.2/gcc/../libcpp/include -I/sw/include -I../../gcc-4.2.2/gcc/../libdecnumber -I../libdecnumber -I/sw/include ../../gcc-4.2.2/gcc/regmove.c -o regmove.o /sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/xgcc -B/sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/ -B/sw/lib/gcc4.2/powerpc-apple-darwin8/bin/ -c -g -O2 -mdynamic-no-pic -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
Re: [Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC
Thanks. Unfortunately it's not obvious what's causing the error to me. :-( gcc4 is outdated, but by rights gcc42 _ought_ to work. Unfortunately, it takes me _days_ to test that, and I'd have to reboot to 10.4, too. In order to save you some time, do the following to get a binary from our unofficial repository: 1) Edit /sw/etc/apt/sources.list as a super-user and add the following line to it: deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.4 unstable main crypto 2) Run sudo apt-get update 3) Then try fink install gcc42 (I may decide once I get time to push the newer netcdf over from our unstable tree. That one uses gcc43 to build--and I've looked briefly at an update for NCAR graphics, which appears to be somewhat complicated) On Apr 20, 2008, at 4:16 PM, Capehart, William J wrote: Ok. .. Here they come for the final few steps of each:: From the gcc4 build failure: snip gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros - Wold-style-definition-DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c- opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c- ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o darwin-c.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o main.o libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a ./../intl/ libintl.a -liconv ../libiberty/libiberty.a ### execution of /var/tmp/tmp.2.tgU2xD failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc4-4.0.2-3 (Reading database ... 8707 files and directories currently installed.) Removing fink-buildlock-gcc4-4.0.2-3 ... Failed: phase compiling: gcc4-4.0.2-3 failed Before reporting any errors, please run fink selfupdate and try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink- users or fink-beginners mailing lists, with a carbon copy to the maintainer: None fink-devel@lists.sourceforge.net Note that this is preferable to emailing the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. -- For the final few lines of the gcc42 failure: snip /sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/xgcc -B/ sw/src/fink.build/gcc42-4.2.2-1000/darwin_objdir/./prev-gcc/ -B/sw/ lib/gcc4.2/powerpc-apple-darwin8/bin/ -c -g -O2 -mdynamic-no-pic - DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno- overlength-strings -Wold-style-definition -Wmissing-format- attribute -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.2.2/gcc -I../../gcc-4.2.2/gcc/. -I../../gcc-4.2.2/gcc/../include -I../../ gcc-4.2.2/gcc/../libcpp/include -I/sw/include -I../../gcc-4.2.2/ gcc/../libdecnumber -I../libdecnumber -I/sw/include ../../ gcc-4.2.2/gcc/reload1.c -o reload1.o ### execution of /var/tmp/tmp.1.YBfEcf failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-gcc42-4.2.2-1000 (Reading database ... 5782 files and directories currently installed.) Removing fink-buildlock-gcc42-4.2.2-1000 ... Failed: phase compiling: gcc42-4.2.2-1000 failed Before reporting any errors, please run fink selfupdate and try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink- users or fink-beginners mailing lists, with a carbon copy to the maintainer: Jack Howarth [EMAIL PROTECTED] Note that this is preferable to emailing the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Bill Capehart [EMAIL PROTECTED] Associate Professor Institute of Atmospheric Sciences Land Surface Processes 213 Mineral Industries Building Hydrometeorology South Dakota School of Mines and Technology Ph: +1-605-394-1994 501 East Saint Joseph StreetFax: +1-605-394-6061 Rapid City, SD 57701-3995Mobile: +1-605-484-5692 === http://capehart.sdsmt.edu == -Original Message- From: Alexander Hansen [mailto:[EMAIL PROTECTED] Sent: Sun 20-Apr-08 09:41 To: Capehart, William J Cc: fink-devel@lists.sourceforge.net Subject: Re: [Fink-devel] failing to build gcc42 or gcc4 on an older PowerPC On Apr 20, 2008, at 11:17 AM, Capehart, William J wrote: Hi All: My attempts to build the gnu compilers: