forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Toolchain Problem

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Nov 04, 2008 12:30 am    Post subject: Toolchain Problem Reply with quote

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:

Quote:

# 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-._
_________________
Sry for my english


Last edited by _.-noel-._ on Mon Feb 22, 2010 6:06 am; edited 1 time in total
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Nov 04, 2008 3:26 am    Post subject: Reply with quote

Code:
*** buffer overflow detected ***: /usr/local/pspdev/psp/bin/ar terminated

That doesn't look good.
Back to top
View user's profile Send private message Visit poster's website
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Nov 04, 2008 4:05 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Nov 04, 2008 4:20 am    Post subject: Reply with quote

Upgraded to 8.10 today, I am going to update the toolchain now.
I will update this post in some minutes
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Nov 04, 2008 4:21 am    Post subject: Reply with quote

i have already Ubuntu 8.10...
_________________
Sry for my english
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Nov 04, 2008 4:24 am    Post subject: Reply with quote

I am telling you I Upgraded to 8.10 today.

I am not telling you to upgrade -.-
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Nov 04, 2008 4:36 am    Post subject: Reply with quote

oh sry...

I've read wrong...

OK, i will try it out...
_________________
Sry for my english
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Nov 04, 2008 4:37 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Nov 04, 2008 5:09 am    Post subject: Reply with quote

Code:
/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
Back to top
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Nov 04, 2008 7:36 am    Post subject: Reply with quote

what should i do now?
_________________
Sry for my english
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Nov 04, 2008 7:47 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
_.-noel-._



Joined: 13 Aug 2007
Posts: 49

PostPosted: Tue Nov 04, 2008 8:23 am    Post subject: Reply with quote

i will try it on ubuntu 8.04.1....

if it works, i will write back =)
_________________
Sry for my english
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Tue Nov 04, 2008 8:41 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Geecko



Joined: 04 Nov 2008
Posts: 2

PostPosted: Tue Nov 04, 2008 9:59 pm    Post subject: Re Reply with quote

Hello,

http://www.devsgen.com/psp/index.php?topic=1945.msg16516#msg16516

;)
Back to top
View user's profile Send private message
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Wed Nov 05, 2008 4:08 am    Post subject: Reply with quote

That kinda worked.
Now I am getting this error:
Code:

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group