1. I am running Ubuntu8.10 on VMware and tried to install psptoolchain there . I followed the instructions as given in the readme.txt for Ubuntu and the toolchain-sudo.sh was executed as root. this is the following error.
this happened when running" 004-newlib1.16.0.sh "
Code: Select all
Making install in libc
make[1]: Entering directory `/home/vmplanet/Downloads/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/libc'
Making install in argz
make[2]: Entering directory `/home/vmplanet/Downloads/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/libc/argz'
rm -f lib.a
psp-ar cru lib.a lib_a-dummy.o lib_a-argz_add.o lib_a-argz_add_sep.o lib_a-argz_append.o lib_a-argz_count.o lib_a-argz_create.o lib_a-argz_create_sep.o lib_a-argz_delete.o lib_a-argz_extract.o lib_a-argz_insert.o lib_a-argz_next.o lib_a-argz_replace.o lib_a-argz_stringify.o lib_a-buf_findstr.o lib_a-envz_entry.o lib_a-envz_get.o lib_a-envz_add.o lib_a-envz_remove.o lib_a-envz_merge.o lib_a-envz_strip.o
*** buffer overflow detected ***: psp-ar terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x40128558]
/lib/tls/i686/cmov/libc.so.6[0x40126680]
/lib/tls/i686/cmov/libc.so.6[0x40125d68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x4009ba18]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008ee0d]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27cf)[0x4007015f]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0x40125e17]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40125d5d]
psp-ar[0x8051192]
psp-ar[0x804f18b]
psp-ar[0x8052000]
psp-ar[0x8059d08]
psp-ar[0x804bab5]
psp-ar[0x804c7f0]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40044685]
psp-ar[0x8049aa1]
======= Memory map: ========
08048000-080c7000 r-xp 00000000 08:01 307092 /bin/psp-ar
080c7000-080c8000 r--p 0007e000 08:01 307092 /bin/psp-ar
080c8000-080c9000 rw-p 0007f000 08:01 307092 /bin/psp-ar
080c9000-080cd000 rw-p 080c9000 00:00 0
08897000-08940000 rw-p 08897000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:01 106307 /lib/ld-2.8.90.so
4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso]
4001b000-4001c000 r--p 0001a000 08:01 106307 /lib/ld-2.8.90.so
4001c000-4001d000 rw-p 0001b000 08:01 106307 /lib/ld-2.8.90.so
4001d000-4001f000 rw-p 4001d000 00:00 0
4001f000-40020000 r--p 00000000 08:01 468111 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
40020000-40027000 r--s 00000000 08:01 24772 /usr/lib/gconv/gconv-modules.cache
40027000-4002e000 rw-p 40027000 00:00 0
4002e000-40186000 r-xp 00000000 08:01 123813 /lib/tls/i686/cmov/libc-2.8.90.so
40186000-40188000 r--p 00158000 08:01 123813 /lib/tls/i686/cmov/libc-2.8.90.so
40188000-40189000 rw-p 0015a000 08:01 123813 /lib/tls/i686/cmov/libc-2.8.90.so
40189000-4018d000 rw-p 40189000 00:00 0
4018d000-401cc000 r--p 00000000 08:01 468102 /usr/lib/locale/en_US.utf8/LC_CTYPE
401cc000-401cf000 rw-p 401cc000 00:00 0
401de000-401eb000 r-xp 00000000 08:01 106350 /lib/libgcc_s.so.1
401eb000-401ec000 r--p 0000c000 08:01 106350 /lib/libgcc_s.so.1
401ec000-401ed000 rw-p 0000d000 08:01 106350 /lib/libgcc_s.so.1
bf8f4000-bf909000 rw-p bffeb000 00:00 0 [stack]
make[2]: *** [lib.a] Aborted
make[2]: *** Deleting file `lib.a'
make[2]: Leaving directory `/home/vmplanet/Downloads/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/libc/argz'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vmplanet/Downloads/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/libc'
make: *** [install-recursive] Error 1
i tried to bypass this step and proceed with the next step. and this is the error i got
Code: Select all
make[2]: Leaving directory `/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp/psp/libstdc++-v3/include'
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
if [ x"" != x ]; then \
/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp/./gcc/xgcc -B/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp/./gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include -c -DHAVE_CONFIG_H -O2 -g -g -O2 -I. -I../../../libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../../libiberty/safe-ctype.c -o pic/safe-ctype.o; \
else true; fi
/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp/./gcc/xgcc -B/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp/./gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include -c -DHAVE_CONFIG_H -O2 -g -g -O2 -I. -I../../../libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../../libiberty/safe-ctype.c -o safe-ctype.o
../../../libiberty/safe-ctype.c:120:34: error: stdio.h: No such file or directory
../../../libiberty/safe-ctype.c:123:3: error: #error "<safe-ctype.h> requires EOF == -1"
make[2]: *** [safe-ctype.o] Error 1
make[2]: Leaving directory `/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp/psp/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/vmplanet/Downloads/psptoolchain/build/gcc-4.3.2/build-psp'
make: *** [all] Error 2
../scripts/005-gcc-4.3.2-stage2.sh: Failed.
ERROR: Could not run the toolchain script.
Please Help. this is my 8th time trying to install toolchain each of which is taking 3hrs to execute.
Thank you.