./toolchain.sh ERROR with FC4==> 2.6.13-1.1526-FC4smp

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
axxel
Posts: 9
Joined: Sun Oct 16, 2005 2:10 pm

./toolchain.sh ERROR with FC4==> 2.6.13-1.1526-FC4smp

Post by axxel »

Hi,
When I execute ./toolchain.sh, the result is (sample of the end):

Code: Select all

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    -DHAVE_CONFIG_H    -I. -Icp -I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include  ../../gcc/cp/cp-gimplify.c -o cp/cp-gimplify.o
gcc   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition    -DHAVE_CONFIG_H  -o cc1plus \
      cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a   ../libiberty/libiberty.a
/usr/bin/ld: libbackend.a(tree-cfg.o): bad reloc symbol index (0x271 >= 0x15c) for offset 0x1529 in section `.debug_info'
libbackend.a: ne peut lire les symboles: Mauvaise valeur
collect2: ld a retourné 1 code d'état d'exécution
gmake[1]: *** [cc1plus] Erreur 1
gmake[1]: Leaving directory `/tmp/pspdev/gcc-4.0.1/build-psp-c++/gcc'
gmake: *** [all-gcc] Erreur 2
ERROR BUILDING GCC (C++)
[root@localhost psptoolchain]#
I don't know why because I'm ok with:
./toolchain.sh -p
./toolchain.sh -d
./toolchain.sh -b
./toolchain.sh -g
./toolchain.sh -n
one by one, but I have ERROR BUILDING GCC (C++) with ./toolchain.sh
I'm under Fedora 4 Kernel 2.6.13-1.1526-FC4smp.


ThanX for your helps.
axxel
Posts: 9
Joined: Sun Oct 16, 2005 2:10 pm

I found a solution but ...

Post by axxel »

Hi all,
I execute ./toolchain.sh -g separatly with -g , and not a ./toolchain.sh after.
and It's seem ok, I can compile the basic sample (controller).

- But with the compile I obtain only one EBOOT.PBP and I saw in the psp I need two EBOOT.PBP (not same size) to execute basic controler, in two dirextories for firmware 1.5
/psp/game/test/EBOOT.PBP
end
/psp/game/test%/EBOOT.PBP

Anyone knows how to compile for firmware 1.5?

ThanX much
choupette
Posts: 7
Joined: Wed Oct 12, 2005 7:46 pm

Post by choupette »

kxploit, google it, find -exec grep it, search it in these forums.
axxel
Posts: 9
Joined: Sun Oct 16, 2005 2:10 pm

Ok

Post by axxel »

Thx choupette
-----------------------------------------------------------------
Don't Think about what the Code do, be the Code...
Post Reply