[MacPorts] #25333: arm-elf-gcc3 3.4.6 Build problem
MacPorts
noreply at macports.org
Fri Jun 18 11:50:01 PDT 2010
#25333: arm-elf-gcc3 3.4.6 Build problem
---------------------------------+------------------------------------------
Reporter: rob@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.0
Keywords: | Port: arm-elf-gcc3
---------------------------------+------------------------------------------
Got gcc-3.4.6.tar.bz2 from somewhere (probably
http://ftp.gnu.org/gnu/gcc/gcc-3.4.6/) and put it in ...
/opt/local/car/macports/dist/gcc (because of ticket #25332).
Built using sudo port install arm-elf-gcc3
{{{
Error: Target org.macports.build returned: shell command failed
Log for arm-elf-gcc3 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-gcc3/main.log
}}}
Inside the log:
{{{
<<<snip>>>
:info:build cc -no-cpp-precomp -pipe -O2 -arch x86_64 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-gcc3/work/gcc-3.4.6/gcc
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-gcc3/work/gcc-3.4.6/gcc/.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-gcc3/work/gcc-3.4.6/gcc/../include
-I../intl -c insn-recog.c \
:info:build -o insn-recog.o
:info:build cc -no-cpp-precomp -pipe -O2 -arch x86_64 -DIN_GCC
-DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -o Tcollect2 \
:info:build collect2.o tlink.o intl.o version.o
../libiberty/libiberty.a -L/usr/lib ../intl/libintl.a -L/opt/local/lib
-liconv
:info:build Undefined symbols:
:info:build "_libiconv_open", referenced from:
:info:build __nl_init_domain_conv in libintl.a(loadmsgcat.o)
:info:build __nl_init_domain_conv in libintl.a(loadmsgcat.o)
:info:build "_libiconv_close", referenced from:
:info:build __nl_free_domain_conv in libintl.a(loadmsgcat.o)
:info:build "_libiconv", referenced from:
:info:build __nl_find_msg in libintl.a(dcigettext.o)
:info:build (maybe you meant: _libiconv_set_relocation_prefix)
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[1]: *** [collect2] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build make: *** [all-gcc] Error 2
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_cross_arm-elf-gcc3/work/build" && /usr/bin/make -j4 all
AR_FOR_TARGET=arm-elf-ar AS_FOR_TARGET=arm-elf-as LD_FOR_TARGET=arm-elf-ld
NM_FOR_TARGET=arm-elf-nm RANLIB_FOR_TARGET=arm-elf-ranlib " returned error
2
<<<snip>>>
}}}
My system: Mac OS X 10.6.3 (Snow Leopard), x86. MacPorts 1.9.0.
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
(Comment from Ryan Schmidt: I'm unclear why a libintl.a is being used
here; I would have expected libintl.dylib to have been used via "-lintl".)
--
Ticket URL: <http://trac.macports.org/ticket/25333>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list