Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
_.-noel-._
Posts: 49 Joined: Mon Aug 13, 2007 12:57 am
Post
by _.-noel-._ » Tue Nov 04, 2008 12:30 am
Hi
i tried to install the newesd toolchain (Revision 2440) on my Ubuntu 8.10 system...
i have installed gmp & mpfr....
But i get an error:
# Early copyback; see "all" above for the rationale. The
# early copy is necessary so that the gcc -B options find
# the right startup files when linking shared libgcc.
/bin/bash ../../../libgcc/../mkinstalldirs ../.././gcc
*** buffer overflow detected ***: /usr/local/pspdev/psp/bin/ar terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x40126558]
/lib/tls/i686/cmov/libc.so.6[0x40124680]
/lib/tls/i686/cmov/libc.so.6[0x40123d68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x40099a18]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008ce0d]
parts="crtbegin.o crtend.o crti.o crtn.o"; \
for file in $parts; do \
rm -f ../.././gcc/$file; \
/usr/bin/install -c -m 644 $file ../.././gcc/; \
done
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27cf)[0x4006e15f]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0x40123e17]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40123d5d]
/usr/local/pspdev/psp/bin/ar[0x8051192]
/usr/local/pspdev/psp/bin/ar[0x804f18b]
/usr/local/pspdev/psp/bin/ar[0x8052000]
/usr/local/pspdev/psp/bin/ar[0x8059d08]
/usr/local/pspdev/psp/bin/ar[0x804bab5]
/usr/local/pspdev/psp/bin/ar[0x804c7f0]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40042685]
/usr/local/pspdev/psp/bin/ar[0x8049aa1]
======= Memory map: ========
08048000-080c7000 r-xp 00000000 08:11 18620 /usr/local/pspdev/psp/bin/ar
080c7000-080c8000 r--p 0007e000 08:11 18620 /usr/local/pspdev/psp/bin/ar
080c8000-080c9000 rw-p 0007f000 08:11 18620 /usr/local/pspdev/psp/bin/ar
080c9000-080cd000 rw-p 080c9000 00:00 0
089bf000-0baaf000 rw-p 089bf000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:11 212595 /lib/ld-2.8.90.so
4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso]
4001b000-4001c000 r--p 0001a000 08:11 212595 /lib/ld-2.8.90.so
4001c000-4001d000 rw-p 0001b000 08:11 212595 /lib/ld-2.8.90.so
4001d000-4001f000 rw-p 4001d000 00:00 0
4001f000-40020000 r--p 00000000 08:11 548253 /usr/lib/locale/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
40020000-40027000 r--s 00000000 08:11 392691 /usr/lib/gconv/gconv-modules.cache
40027000-4002c000 rw-p 40027000 00:00 0
4002c000-40184000 r-xp 00000000 08:11 229944 /lib/tls/i686/cmov/libc-2.8.90.so
40184000-40186000 r--p 00158000 08:11 229944 /lib/tls/i686/cmov/libc-2.8.90.so
40186000-40187000 rw-p 0015a000 08:11 229944 /lib/tls/i686/cmov/libc-2.8.90.so
40187000-4018b000 rw-p 40187000 00:00 0
4018b000-401ca000 r--p 00000000 08:11 548244 /usr/lib/locale/de_DE.utf8/LC_CTYPE
401ca000-401cf000 rw-p 401ca000 00:00 0
401dc000-401e9000 r-xp 00000000 08:11 212638 /lib/libgcc_s.so.1
401e9000-401ea000 r--p 0000c000 08:11 212638 /lib/libgcc_s.so.1
401ea000-401eb000 rw-p 0000d000 08:11 212638 /lib/libgcc_s.so.1
bfc15000-bfc32000 rw-p bffe3000 00:00 0 [stack]
/bin/bash: line 7: 17123 Aborted /usr/local/pspdev/psp/bin/ar rc libgcc.a $objects
make[2]: *** [libgcc.a] Fehler 134
make[2]: *** Warte auf noch nicht beendete Prozesse...
make[2]: Verlasse Verzeichnis '/home/_.-noel-._/psptoolchain/build/gcc-4.3.1/build-psp/psp/libgcc'
make[1]: *** [all-target-libgcc] Fehler 2
make[1]: Verlasse Verzeichnis '/home/_.-noel-._/psptoolchain/build/gcc-4.3.1/build-psp'
make: *** [all] Fehler 2
../scripts/002-gcc-4.3.1-stage1.sh: Failed.
ERROR: Could not run the toolchain script.
plz help
grezzZ
_.-noel-._
Last edited by
_.-noel-._ on Mon Feb 22, 2010 6:06 am, edited 1 time in total.
Sry for my english
ooPo
Site Admin
Posts: 2023 Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:
Post
by ooPo » Tue Nov 04, 2008 3:26 am
Code: Select all
*** buffer overflow detected ***: /usr/local/pspdev/psp/bin/ar terminated
That doesn't look good.
_.-noel-._
Posts: 49 Joined: Mon Aug 13, 2007 12:57 am
Post
by _.-noel-._ » Tue Nov 04, 2008 4:05 am
i know ;)
now i have tryed one revision earlyer, but i get the same error...
can someone test the toolchain installation on other OS?
Sry for my english
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Tue Nov 04, 2008 4:20 am
Upgraded to 8.10 today, I am going to update the toolchain now.
I will update this post in some minutes
Upgrade your
PSP
_.-noel-._
Posts: 49 Joined: Mon Aug 13, 2007 12:57 am
Post
by _.-noel-._ » Tue Nov 04, 2008 4:21 am
i have already Ubuntu 8.10...
Sry for my english
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Tue Nov 04, 2008 4:24 am
I am telling you I Upgraded to 8.10 today.
I am not telling you to upgrade -.-
Upgrade your
PSP
_.-noel-._
Posts: 49 Joined: Mon Aug 13, 2007 12:57 am
Post
by _.-noel-._ » Tue Nov 04, 2008 4:36 am
oh sry...
I've read wrong...
OK, i will try it out...
Sry for my english
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Tue Nov 04, 2008 4:37 am
Got an error when doing libgcc too.
But I can't find the actual error as the buffer only has capacity for 10000 lines. I increased it to 20000 now and I am installing again.
I don't have any messages about a detected buffer overflow tho
Upgrade your
PSP
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Tue Nov 04, 2008 5:09 am
Code: Select all
/bin/bash: line 7: 11632 Aborted /usr/local/pspdev/psp/bin/ar rc libgcc.a $objects
make[2]: *** [libgcc.a] Error 134
Found this. I had the toolchain already installed so I still can compile.
Upgrade your
PSP
_.-noel-._
Posts: 49 Joined: Mon Aug 13, 2007 12:57 am
Post
by _.-noel-._ » Tue Nov 04, 2008 7:36 am
what should i do now?
Sry for my english
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Tue Nov 04, 2008 7:47 am
I don't know, I can't do anything too.
I don't know if it is a problem with the toolchain revision or ubuntu kernel
Upgrade your
PSP
_.-noel-._
Posts: 49 Joined: Mon Aug 13, 2007 12:57 am
Post
by _.-noel-._ » Tue Nov 04, 2008 8:23 am
i will try it on ubuntu 8.04.1....
if it works, i will write back =)
Sry for my english
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Tue Nov 04, 2008 8:41 am
Ok thanks.
If it works I don't think I will install it as I am not in the mood to backup all things to my extern drive.
Upgrade your
PSP
Geecko
Posts: 1 Joined: Tue Nov 04, 2008 9:57 pm
Post
by Geecko » Tue Nov 04, 2008 9:59 pm
Pirata Nervo
Posts: 409 Joined: Tue Oct 09, 2007 4:22 am
Post
by Pirata Nervo » Wed Nov 05, 2008 4:08 am
That kinda worked.
Now I am getting this error:
Code: Select all
cc1: warnings being treated as errors
../../gdb/main.c: In function ‘captured_main’:
../../gdb/main.c:191: error: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/piratanervo/Desktop/psptoolchain/build/gdb-6.8/build-psp/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/piratanervo/Desktop/psptoolchain/build/gdb-6.8/build-psp'
make: *** [all] Error 2
../scripts/007-gdb-6.8.sh: Failed.
ERROR: Could not run the toolchain script.
I am going to check main.c and see whats happening
Upgrade your
PSP