Opened 14 years ago
Closed 13 years ago
#25333 closed defect (fixed)
arm-elf-gcc3 3.4.6 Build problem
Reported by: | rob@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.0 |
Keywords: | Cc: | billy@…, mjbraun@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | arm-elf-gcc3 |
Description
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".)
Change History (4)
comment:1 Changed 14 years ago by billy@…
Cc: | billy@… added |
---|
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
There are many changes that were made to arm-elf-gcc to make it compatible with newer versions of Mac OS X and MacPorts that were never backported to arm-elf-gcc3. My initial attempt to backport them all at once failed to let arm-elf-gcc3 build, so I may have to try again, bringing back individual patches.
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Cc Me!