Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
|
toolchain fails to compile.
|
| Author |
Message |
tacticalbread
Dr. T. Bread, Phd.
- Posts: 1,509
- Joined: Jul 2008
- Reputation: 9
- Member of Week: 0 Times
|
toolchain fails to compile.
just reformatted my PC, and I tried installing the PSP toolchain, but it fails to compile.
I'm pretty sure I've got all the necessary libs installed, and whatnot.
this is the error I get:
Code:
/bin/bash: line 7: 17531 Aborted /usr/local/pspdev/psp/bin/ar rc libgcc.a $objects
make[2]: *** [libgcc.a] Error 134
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/tacticalbread/psptoolchain/build/gcc-4.3.2/build-psp/psp/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/tacticalbread/psptoolchain/build/gcc-4.3.2/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.3.2-stage1.sh: Failed.
ERROR: Could not run the toolchain script.
edit:
I noticed it's caused by a buffer overflow:
Code:
*** buffer overflow detected ***: /usr/local/pspdev/psp/bin/ar terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x40129558]
/lib/tls/i686/cmov/libc.so.6[0x40127680]
/lib/tls/i686/cmov/libc.so.6[0x40126d68]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x4009ca18]
/lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x4008fe0d]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27cf)[0x4007115f]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0x40126e17]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x40126d5d]
/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)[0x40045685]
/usr/local/pspdev/psp/bin/ar[0x8049aa1]
======= Memory map: ========
08048000-080c7000 r-xp 00000000 08:05 5120628 /usr/local/pspdev/psp/bin/ar
080c7000-080c8000 r--p 0007e000 08:05 5120628 /usr/local/pspdev/psp/bin/ar
080c8000-080c9000 rw-p 0007f000 08:05 5120628 /usr/local/pspdev/psp/bin/ar
080c9000-080cd000 rw-p 080c9000 00:00 0
080e9000-0b1d9000 rw-p 080e9000 00:00 0 [heap]
40000000-4001a000 r-xp 00000000 08:05 3620880 /lib/ld-2.8.90.so
4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso]
4001b000-4001c000 r--p 0001a000 08:05 3620880 /lib/ld-2.8.90.so
4001c000-4001d000 rw-p 0001b000 08:05 3620880 /lib/ld-2.8.90.so
4001d000-4001f000 rw-p 4001d000 00:00 0
4001f000-40020000 r--p 00000000 08:05 4775962 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
40020000-40027000 r--s 00000000 08:05 4753264 /usr/lib/gconv/gconv-modules.cache
40027000-4002f000 rw-p 40027000 00:00 0
4002f000-40187000 r-xp 00000000 08:05 3621012 /lib/tls/i686/cmov/libc-2.8.90.so
40187000-40189000 r--p 00158000 08:05 3621012 /lib/tls/i686/cmov/libc-2.8.90.so
40189000-4018a000 rw-p 0015a000 08:05 3621012 /lib/tls/i686/cmov/libc-2.8.90.so
4018a000-4018e000 rw-p 4018a000 00:00 0
4018e000-401cd000 r--p 00000000 08:05 4775956 /usr/lib/locale/en_US.utf8/LC_CTYPE
401cd000-401cf000 rw-p 401cd000 00:00 0
401df000-401ec000 r-xp 00000000 08:05 3620879 /lib/libgcc_s.so.1
401ec000-401ed000 r--p 0000c000 08:05 3620879 /lib/libgcc_s.so.1
401ed000-401ee000 rw-p 0000d000 08:05 3620879 /lib/libgcc_s.so.1
bf9d1000-bf9ee000 rw-p bffe3000 00:00 0 [stack]
but I was only using about 40% of my RAM. D:
![[Image: FF3b80x15_square.gif]](http://sfx-images.mozilla.org/affiliates/Buttons/firefox3/FF3b80x15_square.gif)
(This post was last modified: 11-10-2008 06:08 PM by tacticalbread.)
|
|
| 11-10-2008 05:07 PM |
|
hibbyware
ʕθ̿␣̅θ̿ʔ ℋiЬЬyℬot™
- Posts: 96
- Joined: Jul 2008
- Reputation: 2
- Member of Week: 0 Times
|
RE: toolchain fails to compile.
I think Nervo had this problem recently,
I think the problem was Ubuntu 8.10 and not the toolchain,
I have no clue what he did to fix it,
* hibbyware waits for Nervo
-edit-
Solution can be found here http://forums.ps2dev.org/viewtopic.php?t=11230
(This post was last modified: 11-10-2008 08:54 PM by hibbyware.)
|
|
| 11-10-2008 08:48 PM |
|
tacticalbread
Dr. T. Bread, Phd.
- Posts: 1,509
- Joined: Jul 2008
- Reputation: 9
- Member of Week: 0 Times
|
RE: toolchain fails to compile.
it's working so far, thanks.
edit: fuck my life.
Code:
make[1]: g++: Command not found
make[1]: *** [pspsh.o] Error 127
make[1]: Leaving directory `/home/tacticalbread/psptoolchain/build/psplinkusb/pspsh'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
ERROR: Could not run the toolchain script.
![[Image: FF3b80x15_square.gif]](http://sfx-images.mozilla.org/affiliates/Buttons/firefox3/FF3b80x15_square.gif)
(This post was last modified: 11-10-2008 09:42 PM by tacticalbread.)
|
|
| 11-10-2008 09:03 PM |
|
hibbyware
ʕθ̿␣̅θ̿ʔ ℋiЬЬyℬot™
- Posts: 96
- Joined: Jul 2008
- Reputation: 2
- Member of Week: 0 Times
|
RE: toolchain fails to compile.
The toolchain is installed fine that's just psplinkusb that failed,
-edit-
I think you need to install the package libusb-dev then run stage 009 again to get psplinkusb to install without any problems,
On cygwin it also fails but you just have to...
Code:
cd build/psplinkusb/
make && make release
(This post was last modified: 11-10-2008 10:34 PM by hibbyware.)
|
|
| 11-10-2008 10:06 PM |
|
tacticalbread
Dr. T. Bread, Phd.
- Posts: 1,509
- Joined: Jul 2008
- Reputation: 9
- Member of Week: 0 Times
|
RE: toolchain fails to compile.
(11-10-2008 10:06 PM)hibbyware Wrote: The toolchain is installed fine that's just psplinkusb that failed,
-edit-
I think you need to install the package libusb-dev then run stage 009 again to get psplinkusb to install without any problems,
On cygwin it also fails but you just have to...
Code:
cd build/psplinkusb/
make && make release
Quote:libusb-dev is already the newest version.
D:
but does that mean the toolchain is installed?
![[Image: FF3b80x15_square.gif]](http://sfx-images.mozilla.org/affiliates/Buttons/firefox3/FF3b80x15_square.gif)
|
|
| 11-11-2008 06:16 AM |
|
| Share |
| Share this thread! |
 |