View previous topic :: View next topic |
Author |
Message |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Wed Apr 07, 2010 1:09 am Post subject: host GCC 4.4.1 and the toolchain |
|
|
Hi i've been updating the minpspw project and wanted to make a release with the upcoming ubuntu 10.4 both 32 and 64 bits but i'm facing a problem with gcc 4.4.1. The build always fails during the second stage of gcc build:
Code: | /home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4/./gcc/xgcc -B/home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4/./gcc/ -B/home/jetdrone/Projects/minpspw/../pspsdk/psp/bin/ -B/home/jetdrone/Projects/minpspw/../pspsdk/psp/lib/ -isystem /home/jetdrone/Projects/minpspw/../pspsdk/psp/include -isystem /home/jetdrone/Projects/minpspw/../pspsdk/psp/sys-include -c -G0 -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../../gcc-4.3.4/gcc -I../../../gcc-4.3.4/gcc/. -I../../../gcc-4.3.4/gcc/../include -I../../../gcc-4.3.4/gcc/../libcpp/include -I/usr/include -I/usr/include -I../../../gcc-4.3.4/gcc/../libdecnumber -I../../../gcc-4.3.4/gcc/../libdecnumber/dpd -I../libdecnumber cc1-checksum.c -o cc1-checksum.o
/home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4/./gcc/xgcc -B/home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4/./gcc/ -B/home/jetdrone/Projects/minpspw/../pspsdk/psp/bin/ -B/home/jetdrone/Projects/minpspw/../pspsdk/psp/lib/ -isystem /home/jetdrone/Projects/minpspw/../pspsdk/psp/include -isystem /home/jetdrone/Projects/minpspw/../pspsdk/psp/sys-include -G0 -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -o cc1 c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o cc1-checksum.o \
main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/lib -L/usr/lib -lmpfr -lgmp
/home/jetdrone/Projects/minpspw/../pspsdk/psp/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make[3]: *** [cc1] Error 1
make[3]: Leaving directory `/home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4/gcc'
make[2]: *** [gcc-extra-parts] Error 2
make[2]: Leaving directory `/home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4/psp/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/jetdrone/Projects/minpspw/psp/build/gcc-4.3.4'
make: *** [all] Error 2
Error: building final gcc collection
|
I have lots of changes which i reverted and still have the same result. It works on windows 32bit though... any ideas on how to fix this? |
|
Back to top |
|
|
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
|
Back to top |
|
|
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Thu Apr 08, 2010 1:18 am Post subject: |
|
|
yeap this is a problem and i only face it on 64bit linux because of the multilib stuff. It works great on 32bit ubuntu 10.04 |
|
Back to top |
|
|
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Thu Apr 08, 2010 4:55 am Post subject: |
|
|
is there any problem with gcc 4.4.1 and the optimized mips code generated ?Is there a cvs or svn access to the minpspw gcc 4.4.1 branch ? |
|
Back to top |
|
|
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Thu Apr 08, 2010 5:15 pm Post subject: |
|
|
No, i didn't explain correctly, my host compiler (on linux) is gcc 4.4.1 i'm building a new cross compiler for the PSP based on gcg 4.3.4, of course i have some new goodies such as an update to binutils 2.18 (there was something wrong with 2.19 mips gas which didn't allow a further upgrade) and a newlib upgrade to 1.18.
So all i have is a update of gcc to 4.3.4, binutils 2.18 and newlib 1.18 and there was always a svn at https://minpspw.svn.sourceforge.net/svnroot/minpspw/trunk
If you want to add anything there just let me know :) |
|
Back to top |
|
|
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Fri Apr 09, 2010 1:22 am Post subject: |
|
|
Ok i'm currently under fedora 12 gcc (GCC) 4.4.3 20100127 (Red Hat 4.4.3-4)
i will try your updates againt a copy of the sdk and modify it to integrate you modification
if it is working without problem i will publish here the updates.
So someone with write access to the svn can perform a update. |
|
Back to top |
|
|
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Fri Apr 09, 2010 2:37 am Post subject: |
|
|
ok, thanks, but as i said it works good for 32bit ubuntu it only fails for 64bit i'll try to upgrade the host compiler to be also 4.4.3 on 64bits and see what happens... |
|
Back to top |
|
|
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Fri Apr 09, 2010 2:42 am Post subject: |
|
|
I forget to mention that i have a dualboot with FC12 32 & FC12 64 bits so i wil reproduce your error and try to found a workaround ;) |
|
Back to top |
|
|
ChaoticXSinZ
Joined: 30 Nov 2009 Posts: 4
|
Posted: Sun May 30, 2010 6:52 am Post subject: Workaround? |
|
|
So has there been any workarounds found for this problem? And is the problem with the host gcc (4.4) or something else? |
|
Back to top |
|
|
|