I got OpenPKG 2.5 installed along with binutils, make, m4, & libiconv. I'm having troubles compiling GCC, either 4.02 or 3.44...

stage1/xgcc -Bstage1/ -B/syscfg/opkg/mips-sgi-irix6.5/bin/ -pipe -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genmodes \
 genmodes.o errors.o ../libiberty/libiberty.a
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/syscfg/opkg/bin/ld: ../libiberty/libiberty.a(hashtab.o): ABI is incompatible with that of the selected emulation /syscfg/opkg/bin/ld: failed to merge target specific data of file ../libiberty/libiberty.a(hashtab.o) /syscfg/opkg/bin/ld: ../libiberty/libiberty.a(xmalloc.o): ABI is incompatible with that of the selected emulation /syscfg/opkg/bin/ld: failed to merge target specific data of file ../libiberty/libiberty.a(xmalloc.o) /syscfg/opkg/bin/ld: ../libiberty/libiberty.a(xstrdup.o): ABI is incompatible with that of the selected emulation /syscfg/opkg/bin/ld: failed to merge target specific data of file ../libiberty/libiberty.a(xstrdup.o) /syscfg/opkg/bin/ld: ../libiberty/libiberty.a(xexit.o): ABI is incompatible with that of the selected emulation /syscfg/opkg/bin/ld: failed to merge target specific data of file ../libiberty/libiberty.a(xexit.o)
../libiberty/libiberty.a(hashtab.o): In function `higher_prime_number':
/syscfg/opkg/RPM/TMP/gcc-3.4.4/libiberty/hashtab.c:121: relocation truncated to fit: R_MIPS_GOT_PAGE against `.data'+10 /syscfg/opkg/RPM/TMP/gcc-3.4.4/libiberty/hashtab.c:121: relocation truncated to fit: R_MIPS_GOT_OFST against `.data'+10 /syscfg/opkg/RPM/TMP/gcc-3.4.4/libiberty/hashtab.c:122: relocation truncated to fit: R_MIPS_GOT_PAGE against `.data'+100 /syscfg/opkg/RPM/TMP/gcc-3.4.4/libiberty/hashtab.c:122: relocation truncated to fit: R_MIPS_GOT_OFST against `.data'+100
make[2]: *** [genmodes] Error 1
make[1]: *** [stage2_build] Error 2
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /syscfg/opkg/RPM/TMP/rpm-tmp.6386 (%build)

I'm using a pre-compiled GCC 3.44 to compile - any ideas???

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to