[MacPorts] #13656: arm-elf-gcc3 fails to build on Leopard
#13656: arm-elf-gcc3 fails to build on Leopard --------------------------------------+------------------------------------- Reporter: billy@koostech.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: cross arm-elf-gcc3 iconv | --------------------------------------+------------------------------------- arm-elf-gcc3 fails to build under leopard. See errors below: ar rc libbackend.a 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 debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.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 optabs.o options.o opts.o params.o postreload.o predict.o print- rtl.o print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.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 sibcall.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 unroll.o varasm.o varray.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 arm.o host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o ranlib: file: libbackend.a(doloop.o) has no symbols ranlib: file: libbackend.a(reorg.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols ranlib libbackend.a ranlib: file: libbackend.a(doloop.o) has no symbols ranlib: file: libbackend.a(reorg.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.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 libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2 Warning: the following items did not execute (for arm-elf-gcc3): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13656> MacPorts </projects/macports> Ports system for Mac OS
#13656: arm-elf-gcc3 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: billy@koostech.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: cross arm-elf-gcc3 iconv ---------------------------------+------------------------------------------ Changes (by jmpp@macports.org): * milestone: => Port Bugs Old description:
arm-elf-gcc3 fails to build under leopard. See errors below:
ar rc libbackend.a 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 debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.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 optabs.o options.o opts.o params.o postreload.o predict.o print-rtl.o print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.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 sibcall.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 unroll.o varasm.o varray.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 arm.o host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o ranlib: file: libbackend.a(doloop.o) has no symbols ranlib: file: libbackend.a(reorg.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols ranlib libbackend.a ranlib: file: libbackend.a(doloop.o) has no symbols ranlib: file: libbackend.a(reorg.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.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 libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2
Warning: the following items did not execute (for arm-elf-gcc3): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
New description: arm-elf-gcc3 fails to build under leopard. See errors below: {{{ ar rc libbackend.a 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 debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.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 optabs.o options.o opts.o params.o postreload.o predict.o print- rtl.o print-tree.o value-prof.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.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 sibcall.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 unroll.o varasm.o varray.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 arm.o host-default.o hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o ranlib: file: libbackend.a(doloop.o) has no symbols ranlib: file: libbackend.a(reorg.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols ranlib libbackend.a ranlib: file: libbackend.a(doloop.o) has no symbols ranlib: file: libbackend.a(reorg.o) has no symbols ranlib: file: libbackend.a(vmsdbgout.o) has no symbols ranlib: file: libbackend.a(xcoffout.o) has no symbols cc -no-cpp-precomp -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1 \ c-parse.o c-lang.o c-pretty-print.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 libcpp.a main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a -L/opt/local/lib -liconv Undefined symbols: "_iconv_close", referenced from: __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_destroy_iconv in libcpp.a(cppcharset.o) __cpp_convert_input in libcpp.a(cppcharset.o) "_iconv", referenced from: _convert_using_iconv in libcpp.a(cppcharset.o) _convert_using_iconv in libcpp.a(cppcharset.o) "_iconv_open", referenced from: _init_iconv_desc in libcpp.a(cppcharset.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [cc1] Error 1 make: *** [all-gcc] Error 2 Warning: the following items did not execute (for arm-elf-gcc3): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13656#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#13656: arm-elf-gcc3 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: billy@koostech.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: cross arm-elf-gcc3 iconv ---------------------------------+------------------------------------------ Comment (by billy@koostech.com): The problem appears to be with the Leopard header file /usr/include/iconv.h. My temporary work around was to use the header file from macports by doing the following: sudo mv /usr/include/iconv.h /usr/include/iconv.h.orig[[BR]] sudo ln -s /opt/local/include/iconv.h /usr/include/iconv.h and then cleaning and rebuilding arm-elf-gcc3. I really hate modifying system files but I couldn't find a configure option that would let me force it during the build. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13656#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13656: arm-elf-gcc3 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: billy@koostech.com | Owner: pguyot@kallisys.net Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: cross arm-elf-gcc3 iconv ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => pguyot@kallisys.net Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13656#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13656: arm-elf-gcc3 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: billy@koostech.com | Owner: pguyot@kallisys.net Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: cross arm-elf-gcc3 iconv ---------------------------------+------------------------------------------ Changes (by pguyot@kallisys.net): * status: new => closed * resolution: => fixed Comment: I fixed it in r36022, applying a patch mentioned in another bug report, but I don't have leopard. Could you please confirm that it works now? Thanks. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13656#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13656: arm-elf-gcc3 fails to build on Leopard ---------------------------------+------------------------------------------ Reporter: billy@koostech.com | Owner: pguyot@kallisys.net Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: cross arm-elf-gcc3 iconv ---------------------------------+------------------------------------------ Comment (by billy@koostech.com): Yes, it builds correctly now. Thanks. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13656#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts