This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

installing gcc-4.3.2 on powerpc running OS 10.4.11


Hi,

I am trying to install gcc-4.3.2 on my mac G5 running 10.4.11. It is a powerpc 64-bit machine. I am installing with gcc-4.0.0 (Apple provided).

I sent a message earlier to this mailing list about a problem with mpfr. That has worked out. I just needed to set the CFLAGS the same as when gmp and mpfr were compiled.

Now I am getting this error when I run make in my build directory:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing gstdint.h commands
source='/usr/local/gcc/4.3.2/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc -I/usr/local/gcc/4.3.2/ libdecnumber -I. -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I/ usr/local/gcc/4.3.2/libdecnumber -I. -c /usr/local/gcc/4.3.2/ libdecnumber/decNumber.c
source='/usr/local/gcc/4.3.2/libdecnumber/decContext.c' object='decContext.o' libtool=no gcc -I/usr/local/gcc/4.3.2/ libdecnumber -I. -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I/ usr/local/gcc/4.3.2/libdecnumber -I. -c /usr/local/gcc/4.3.2/ libdecnumber/decContext.c
source='/usr/local/gcc/4.3.2/libdecnumber/dpd/decimal32.c' object='decimal32.o' libtool=no gcc -I/usr/local/gcc/4.3.2/ libdecnumber -I. -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I/ usr/local/gcc/4.3.2/libdecnumber -I. -c /usr/local/gcc/4.3.2/ libdecnumber/dpd/decimal32.c
source='/usr/local/gcc/4.3.2/libdecnumber/dpd/decimal64.c' object='decimal64.o' libtool=no gcc -I/usr/local/gcc/4.3.2/ libdecnumber -I. -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I/ usr/local/gcc/4.3.2/libdecnumber -I. -c /usr/local/gcc/4.3.2/ libdecnumber/dpd/decimal64.c
source='/usr/local/gcc/4.3.2/libdecnumber/dpd/decimal128.c' object='decimal128.o' libtool=no gcc -I/usr/local/gcc/4.3.2/ libdecnumber -I. -g -fkeep-inline-functions -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition - Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -I/ usr/local/gcc/4.3.2/libdecnumber -I. -c /usr/local/gcc/4.3.2/ libdecnumber/dpd/decimal128.c
rm -f libdecnumber.a
ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o
ranlib libdecnumber.a
Makefile:3381: warning: overriding commands for target `gt-darwin.h'
/usr/local/gcc/4.3.2/gcc/config/t-darwin:17: warning: ignoring old commands for target `gt-darwin.h'
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/be.gmo /usr/local/gcc/4.3.2/gcc/po/ be.po
107 translated messages, 1294 fuzzy translations, 5470 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/da.gmo /usr/local/gcc/4.3.2/gcc/po/ da.po
1472 translated messages, 3219 fuzzy translations, 2180 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/de.gmo /usr/local/gcc/4.3.2/gcc/po/ de.po
6871 translated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/el.gmo /usr/local/gcc/4.3.2/gcc/po/ el.po
80 translated messages, 2104 fuzzy translations, 4687 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/es.gmo /usr/local/gcc/4.3.2/gcc/po/ es.po
6871 translated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/fi.gmo /usr/local/gcc/4.3.2/gcc/po/ fi.po
1026 translated messages, 708 fuzzy translations, 5137 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/fr.gmo /usr/local/gcc/4.3.2/gcc/po/ fr.po
1889 translated messages, 3123 fuzzy translations, 1859 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/id.gmo /usr/local/gcc/4.3.2/gcc/po/ id.po
6871 translated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/ja.gmo /usr/local/gcc/4.3.2/gcc/po/ ja.po
842 translated messages, 2760 fuzzy translations, 3269 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/nl.gmo /usr/local/gcc/4.3.2/gcc/po/ nl.po
911 translated messages, 2285 fuzzy translations, 3675 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/ru.gmo /usr/local/gcc/4.3.2/gcc/po/ ru.po
4420 translated messages, 1224 fuzzy translations, 1227 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/sr.gmo /usr/local/gcc/4.3.2/gcc/po/ sr.po
5824 translated messages, 731 fuzzy translations, 316 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/sv.gmo /usr/local/gcc/4.3.2/gcc/po/ sv.po
6857 translated messages, 14 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/tr.gmo /usr/local/gcc/4.3.2/gcc/po/ tr.po
5251 translated messages, 1105 fuzzy translations, 515 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/zh_CN.gmo /usr/local/gcc/4.3.2/gcc/ po/zh_CN.po
6276 translated messages, 122 fuzzy translations, 473 untranslated messages.
test -d po || mkdir po
/sw/bin/msgfmt --statistics -o po/zh_TW.gmo /usr/local/gcc/4.3.2/gcc/ po/zh_TW.po
4825 translated messages, 927 fuzzy translations, 1119 untranslated messages.
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /usr/local/gcc/4.3.2/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h config/rs6000/rs6000.h config/darwin.h config/ rs6000/darwin.h config/rs6000/darwin8.h defaults.h" DEFINES="" \
/bin/sh /usr/local/gcc/4.3.2/gcc/mkconfig.sh tm.h
gawk -f /usr/local/gcc/4.3.2/gcc/opt-gather.awk /usr/local/gcc/4.3.2/ gcc/ada/gcc-interface/lang.opt /usr/local/gcc/4.3.2/gcc/fortran/ lang.opt /usr/local/gcc/4.3.2/gcc/java/lang.opt /usr/local/gcc/4.3.2/ gcc/c.opt /usr/local/gcc/4.3.2/gcc/common.opt /usr/local/gcc/4.3.2/ gcc/config/rs6000/rs6000.opt /usr/local/gcc/4.3.2/gcc/config/ darwin.opt /usr/local/gcc/4.3.2/gcc/config/rs6000/darwin.opt > tmp- optionlist
/bin/sh /usr/local/gcc/4.3.2/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
gawk -f /usr/local/gcc/4.3.2/gcc/opt-functions.awk -f /usr/local/gcc/ 4.3.2/gcc/opth-gen.awk \
< optionlist > tmp-options.h
/bin/sh /usr/local/gcc/4.3.2/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh /usr/local/gcc/4.3.2/gcc/mkconfig.sh bconfig.h
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold- style-definition -Wmissing-format-attribute -fno-common - DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/usr/local/gcc/4.3.2/ gcc -I/usr/local/gcc/4.3.2/gcc/build -I/usr/local/gcc/4.3.2/gcc/../ include -I/usr/local/gcc/4.3.2/gcc/../libcpp/include -I/usr/local/ gcc/4.3.2/gcc/../libdecnumber -I/usr/local/gcc/4.3.2/gcc/../ libdecnumber/dpd -I../libdecnumber -o build/genmodes.o /usr/local/ gcc/4.3.2/gcc/genmodes.c
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite- strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold- style-definition -Wmissing-format-attribute -fno-common - DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/usr/local/gcc/4.3.2/ gcc -I/usr/local/gcc/4.3.2/gcc/build -I/usr/local/gcc/4.3.2/gcc/../ include -I/usr/local/gcc/4.3.2/gcc/../libcpp/include -I/usr/local/ gcc/4.3.2/gcc/../libdecnumber -I/usr/local/gcc/4.3.2/gcc/../ libdecnumber/dpd -I../libdecnumber -o build/errors.o /usr/local/ gcc/4.3.2/gcc/errors.c
gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings - Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style- definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H - DGENERATOR_FILE -o build/genmodes \
build/genmodes.o build/errors.o ../build-powerpc-apple- darwin8.11.0/libiberty/libiberty.a
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: truncated or malformed archive: ../build-powerpc-apple-darwin8.11.0/libiberty/ libiberty.a (ranlib structures in table of contents extends past the end of the table of contents, can't load from it)
collect2: ld returned 1 exit status
make[3]: *** [build/genmodes] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
[cassava:/build/build-gcc-4.3.2] serra%




Sorry about the long paste but I'm not sure if the "untranslated messages" part above are important or relevant to the error that finally causes make to stop.

Thanks, Yolande



----------------------------------------------------------
Yolande Serra, Assoc. Research Prof.
Department of Atmospheric Science
524 PAS Bldg
1118 E 4th St, P.O. Box 210081
University of Arizona
Tucson, AZ 85721-0081
Tel: (520) 621-6619; Fax: (520) 621-6833





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]