gcc 4.1.0 and gcc 4.1.1
gcc 4.1.0 and gcc 4.1.1
Hello,
I already have gcc 4.1.1 running on my machine(FC6)
Since the toolchain script has gcc 4.1.0, would it hurt my original version or would it compile it separately?
Thank you.
I already have gcc 4.1.1 running on my machine(FC6)
Since the toolchain script has gcc 4.1.0, would it hurt my original version or would it compile it separately?
Thank you.
Thank you.
I'm running as root.
On the terminal I type
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
..as in the readme.txt
I get this while running the scripts
checking for wait3... checking LIBRARY_PATH variable... contains current directory
configure: error:
*** LIBRARY_PATH shouldn't contain the current directory when
*** building gcc. Please change the environment variable
*** and run configure again.
make[1]: Leaving directory `/home/bluehash/Desktop/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.1.0-stage1.sh: Failed.
I'm running as root.
On the terminal I type
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
..as in the readme.txt
I get this while running the scripts
checking for wait3... checking LIBRARY_PATH variable... contains current directory
configure: error:
*** LIBRARY_PATH shouldn't contain the current directory when
*** building gcc. Please change the environment variable
*** and run configure again.
make[1]: Leaving directory `/home/bluehash/Desktop/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.1.0-stage1.sh: Failed.
Thanks. Clearing it helped.It went quite further, till I get to this
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/coverage.c -o coverage.o
as: unrecognized option `-EL'
make[2]: *** [coverage.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/coverage.c -o coverage.o
as: unrecognized option `-EL'
make[2]: *** [coverage.o] Error 1
make[2]: *** Waiting for unfinished jobs....
It sounds like you have some other stuff left over in your environment that might be messing things up. Try running with a fresh empty environment:
Code: Select all
rm -rf /usr/local/pspdev
env -i ./toolchain-sudo.sh
to pino112:
you should paste real error info.
try this:
then find error lines in error.log
PS: (to pspsdk dev team)
I've already tried apply the gcc-4.1.0 patch in pspsdk to gcc 4.1.2, works fine to me.
So I think it's time to update toolchain to download gcc 4.1.2 to patch&compile instead of 4.1.0
you should paste real error info.
try this:
Code: Select all
./toolchain-sudo.sh 2>error.log
PS: (to pspsdk dev team)
I've already tried apply the gcc-4.1.0 patch in pspsdk to gcc 4.1.2, works fine to me.
So I think it's time to update toolchain to download gcc 4.1.2 to patch&compile instead of 4.1.0
i have a new error its in 005-gcc-4.1.0-stage2.sh. check the error log
error.log:
cygwin.bat:
error.log:
Code: Select all
transformation: 0.016000, building DFA: 1.326000
DFA minimization: 0.015000, making insn equivalence: 0.000000
all automaton generation: 1.608000, output: 0.141000
sed: -e expression #1, char 88: unterminated address regex
Funny input line: timestamp
gen-protos: 1346 entries 341 collisions
configure: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
configure: WARNING: === You have requested GNU symbol versioning, but
configure: WARNING: === you are not building a shared libgcc_s.
configure: WARNING: === Symbol versioning will be disabled.
In file included from ../../../libiberty/getopt.c:108:
../../../libiberty/../include/getopt.h:116: warning: function declaration isn't a prototype
In file included from ../../../libiberty/getopt1.c:37:
../../../libiberty/../include/getopt.h:116: warning: function declaration isn't a prototype
../../../libiberty/pex-unix.c: In function 'pex_unix_wait':
../../../libiberty/pex-unix.c:468: warning: implicit declaration of function 'kill'
../../../libiberty/strsignal.c: In function 'psignal':
../../../libiberty/strsignal.c:558: warning: comparison between signed and unsigned
../../../libiberty/unlink-if-ordinary.c: In function 'unlink_if_ordinary':
../../../libiberty/unlink-if-ordinary.c:67: warning: implicit declaration of function 'lstat'
../libtool: fork: Resource temporarily unavailable
xgcc: : No such file or directory
make[4]: *** [del_opvnt.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
Code: Select all
psp-ar rc .libs/libssp.a ssp.o gets-chk.o memcpy-chk.o memmove-chk.o mempcpy-ch
k.o memset-chk.o snprintf-chk.o sprintf-chk.o stpcpy-chk.o strcat-chk.o strcpy-c
hk.o strncat-chk.o strncpy-chk.o vsnprintf-chk.o vsprintf-chk.o
psp-ranlib .libs/libssp.a
creating libssp.la
(cd .libs && rm -f libssp.la && ln -s ../libssp.la libssp.la)
make[3]: Leaving directory `/home/Eigenaar/psptoolchain/build/gcc-4.1.0/build-ps
p/psp/libssp'
make[2]: Leaving directory `/home/Eigenaar/psptoolchain/build/gcc-4.1.0/build-ps
p/psp/libssp'
make[1]: Leaving directory `/home/Eigenaar/psptoolchain/build/gcc-4.1.0/build-ps
p'
../scripts/005-gcc-4.1.0-stage2.sh: Failed.
ERROR: Could not run the toolchain script.
Eigenaar@wobben-464a0b43 ~/psptoolchain
$
try modify scripts/005-gcc-4.1.0-stage2.sh
change to
cygwin sometimes get the problem with duel compiling job
change
Code: Select all
make -j 2
Code: Select all
make