Page 1 of 1

Toolchain Installation

Posted: Tue Aug 22, 2006 11:03 pm
by frcol
I won't give up, but it's been harder then I thought.


I run ./toolchain and receive the following message:

compiler error in schedule_block, at haifa-sched.c:1714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

ERROR BUILDING GCC (gcc-3.2.2 ee C++)

Time = 1:10min
===============================================

Then I tried:

CC=gcc-3.4 sh ./toolchain

checking build system type... i686-pc-cygwin
../configure: line 2098: gcc-3.4: command not found
../configure: line 2209: gcc-3.4: command not found
*** The command 'gcc-3.4 -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

ERROR CONFIGURING BINUTILS (binutils-2.14 ee)

Time 00:06min
===============================================

I've already dowgraded some packages too:

* cygwin : from (1.5.21-2) to 1.5.18-1
* coreutils : from (5.97-1) to 5.3.0-9
* findutils: from (4.3.0-2) to 4.2.25-2
* sed : from (4.1.5-2) to 4.1.4-1

and I receive something like that:

Windows prompt: ""it Couldn't be possible to find the point of entrance of the procedure "futimes" in the lib of dinamic cygwin1.dll"

15:12:35 (22.92 KB/s) - `binutils-2.14.tar.gz' saved [14269432]
./toolchain.sh: line 144: cd: binutils-2.14: No such file or directory
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: config.sub

|RCS file: /home/ps2cvs/binutils-2.14/config.sub,v
|retrieving revision 1.1.1.1
|retrieving revision 1.2
|diff -b -u -r1.1.1.1 -r1.2
|--- config.sub 1 Dec 2004 04:06:27 -0000 1.1.1.1
|+++ config.sub 1 Dec 2004 04:28:01 -0000 1.2
--------------------------
File to patch:

time = 00:07min
===========================================

please, can anyone give me a help??

Posted: Wed Aug 23, 2006 10:28 pm
by frcol
Why the toochain uses GCC-3.2.2 if the GCC is in version 4.4-1??
How can I force it to use the actual version??

as you see I used "CC=gcc-3.4 sh ./toolchain" but it returned me an error.

Posted: Thu Aug 24, 2006 3:11 am
by ooPo
Since gcc-4.x can't compile the gcc-3.x toolchain for the PS2, you must install gcc-3.x to compile the toolchain.

Posted: Thu Aug 24, 2006 4:54 am
by frcol
Sorry, I made a mistake, my actual version of CGG is 3.4.4-1.
But, I'll try to install some older version.

Thanks for the replay.

Posted: Thu Aug 24, 2006 7:27 am
by frcol
I've tried GCC-3.3.3-3 and it doens't work.

Posted: Thu Aug 24, 2006 8:17 am
by cloudhunter
More information needed, what error did you have? What did you set CC to etc...

It seems like there is a problem with the version of cygwin you have looking at your earlier post.

Posted: Fri Aug 25, 2006 5:47 am
by frcol
My actual packages versions are:

Cygwin DLL version info:
DLL version: 1.5.21
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sun Jul 30 14:21:47 EDT 2006
Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: E:\PS2-Developer\Outros
Last downloaded files from: ftp://bo.mirror.garr.it/mirrors/sourceware.org/cygw
n

Package Version
_update-info-dir 00423-1
alternatives 1.3.20a-2
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.1-6
binutils 20060817-1
bzip2 1.0.3-1
coreutils 5.97-1
crypt 1.1-1
cygutils 1.3.0-1
cygwin 1.5.21-2
cygwin-doc 1.4-4
diffutils 2.8.7-1
editrights 1.01-1
expat 1.95.8-1
findutils 4.3.0-2
gawk 3.1.5-4
gcc 3.4.4-1
gcc-core 3.4.4-1
gcc-g++ 3.4.4-1
gcc-mingw-core 20050522-1
gcc-mingw-g++ 20050522-1
gdbm 1.8.3-7
grep 2.5.1a-2
groff 1.18.1-2
gzip 1.3.5-2
less 381-1
libapr1 1.2.7-1
libaprutil1 1.2.7-1
libbz2_1 1.0.3-1
libcharset1 1.9.2-2
libdb4.2 4.2.52-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv 1.9.2-2
libiconv2 1.9.2-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libncurses8 5.5-2
libneon25 0.25.5-1
libpcre0 6.6-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
libreadline6 5.1-5
libxml2 2.6.26-1
login 1.9-7
make 3.81-1
man 1.5p-1
mingw-runtime 3.10-1
mktemp 1.5-3
ncurses 5.5-2
openssl 0.9.8b-1
openssl097 0.9.7j-1
patch 2.5.8-8
run 1.1.10-1
sed 4.1.5-2
subversion 1.3.2-1
tar 1.15.91-1
termcap 20050421-1
terminfo 5.5_20060323-1
texinfo 4.8-3
w32api 3.7-1
wget 1.10.2-1
which 1.7-1
zlib 1.2.3-1

I'm copying de ps2toolchain folder into the /home/myUserName/ folder.
Then I:

chmod a+x ./toolchain.sh
./toolchain.sh

After 1 hour i receive the following message:

compiler error in schedule_block, at haifa-sched.c:1714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

ERROR BUILDING GCC (gcc-3.2.2 ee C++)


I've been trying to install this from 1 month.

Posted: Fri Aug 25, 2006 5:55 am
by evilo
Hi frcol,

Sorry but it seems that once again you don't have the good package version for the different package of cygwin

I would suggest you to make a fresh reinstall of cygwin USING this time the package version listed by bravedog in this post :

be careful specially with the following ones (quote from bravedog again)
evilo,
It seems to be related to some new cygwin packages that are on the "Curr" catagory or (recommended list).
Oobles helped me out by posting what he is using.
I downgraded the following packages:
* cygwin : from 1.5.19-4 to 1.5.18-1
* coreutils : from 5.93-3 to 5.3.0-9
* findutils: from 4.2.27-1 to 4.3.25-2
* sed : from 4.1.5-1 to 4.1.4-1
else, you still can install linux or something :)

good luck !

Posted: Sat Aug 26, 2006 3:13 am
by frcol
Is there an easier way to download older versions?

My cygwin setup installation doesn't have the older versions, so I'm entering by ftp into the sites and downloading the package to my computer then I run the setuo and install from my HD.

Posted: Sat Aug 26, 2006 3:46 am
by ooPo
I'd recommend not using Cygwin at all, personally.