#14588 closed defect (fixed)
m68k-elf-gcc build fails on Leopard 10.5.2
Reported by: | nirias999@… | Owned by: | pguyot (Paul Guyot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | m68k-elf-gcc leopard | Cc: | |
Port: |
Description
Build fails on Leopard 10.5.2
---> Building m68k-elf-gcc with target all make[2]: Nothing to be done for `all'. 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 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_m68k-elf-gcc/work/build" && make all AR_FOR_TARGET=m68k-elf-ar AS_FOR_TARGET=m68k-elf-as LD_FOR_TARGET=m68k-elf-ld NM_FOR_TARGET=m68k-elf-nm RANLIB_FOR_TARGET=m68k-elf-ranlib " returned error 2 Command output: make[2]: Nothing to be done for `all'. 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 m68k-elf-gcc): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Change History (4)
comment:1 Changed 17 years ago by jmroot (Joshua Root)
Cc: | pguyot@… removed |
---|---|
Owner: | changed from macports-tickets@… to pguyot@… |
Summary: | Build fails on Leopard 10.5.2 → m68k-elf-gcc build fails on Leopard 10.5.2 |
comment:2 Changed 17 years ago by coresfoundation@…
comment:3 Changed 17 years ago by pguyot (Paul Guyot)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I committed a fix in r36025. I don't have Leopard, could you please confirm that it works?
Thanks.
Note: See
TracTickets for help on using
tickets.
Hi,
Try to apply the workaround in defect id 13499, and see if it works.
I did that for a similar defect, but with mips-elf-gcc., and i got the same error.,
The workaround that i used was
In Makefile, the line with
LIBINTL = ${top_builddir}/intl/libintl.a -L/opt/local/lib -liconv
was changed to
LIBINTL = ${top_builddir}/intl/libintl.a -L/usr/lib -L/opt/local/lib -liconv
and it worked.