2009年01月11日
PS3でSecondlifeのviewerを動かす2
1.22.5でコンパイルすることにしました。
で、いろいろ試行錯誤して
@ps3:~/sl/1_22_5/linden/indra$ make
[ 0%] Built target llaudio
[ 3%] Built target llcharacter
[ 11%] Built target llcommon
[ 12%] Built target llimage
[ 13%] Built target llimagej2coj
[ 14%] Built target llinventory
[ 17%] Built target llmath
[ 19%] Built target llmedia
[ 29%] Built target llmessage
[ 30%] Built target llprimitive
[ 32%] Built target llrender
[ 33%] Built target llvfs
[ 34%] Built target llwindow
[ 35%] Built target llxml
[ 36%] Built target lscript_compile
[ 37%] Built target lscript_execute
[ 37%] Built target lscript_library
[ 37%] Built target llcrashlogger
[ 44%] Built target llui
[ 44%] Built target linux-crash-logger
[ 44%] Built target linux-crash-logger-strip-target
Linking CXX executable secondlife-bin
master: http://secondlife.com/app/message_template/master_message_template.msg
current: /home/takeshich/sl/1_22_5/linden/scripts/messages/message_template.msg
Refreshing master cache from http://secondlife.com/app/message_template/master_message_template.msg
--- PASS ---
Newer
in message TeleportFinish: is more deprecated: UDPBlackListed vs. NotDeprecated in base
in message EnableSimulator: is more deprecated: UDPBlackListed vs. NotDeprecated in base
in message CrossedRegion: is more deprecated: UDPBlackListed vs. NotDeprecated in base
/usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): relocation truncated to fit: R_PPC_REL24 against symbol `__libc_start_main@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
/usr/lib/gcc/powerpc-linux-gnu/4.1.3/crtbegin.o:(.fini+0x0): relocation truncated to fit: R_PPC_REL24 against `.text'
/usr/lib/gcc/powerpc-linux-gnu/4.1.3/crtend.o:(.init+0x0): relocation truncated to fit: R_PPC_REL24 against `.text'
CMakeFiles/secondlife-bin.dir/llagent.o: In function `LLAgent::getVelocity() const':
/home/hiruta/sl/1_22_5/linden/indra/newview/llagent.cpp:1014: relocation truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_44':
/home/hiruta/sl/1_22_5/linden/indra/llcommon/lldate.h:127: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string, std::allocator >::~basic_string()@@GLIBCXX_3.4' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_45':
/home/hiruta/sl/1_22_5/linden/indra/llcommon/lldate.h:129: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string, std::allocator >::~basic_string()@@GLIBCXX_3.4' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_426':
/home/hiruta/sl/1_22_5/linden/indra/llcommon/llstring.h:288: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string, std::allocator >::~basic_string()@@GLIBCXX_3.4' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_427':
/home/hiruta/sl/1_22_5/linden/indra/llui/lluixmltags.h:35: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string, std::allocator >::~basic_string()@@GLIBCXX_3.4' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_428':
/home/hiruta/sl/1_22_5/linden/indra/llui/lluixmltags.h:36: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string, std::allocator >::~basic_string()@@GLIBCXX_3.4' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_429':
/home/hiruta/sl/1_22_5/linden/indra/llui/lluixmltags.h:37: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string, std::allocator >::~basic_string()@@GLIBCXX_3.4' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_430':
/home/takeshich/sl/1_22_5/linden/indra/llui/lluixmltags.h:38: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[2]: *** [newview/secondlife-bin] Error 1
make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2
make: *** [all] Error 2
gccのバグにぶち当たりました。まじでー。
http://gcc.gnu.org/ml/gcc-bugs/2008-10/msg00361.html
gcc4.4.0で試してみます。
で、いろいろ試行錯誤して
@ps3:~/sl/1_22_5/linden/indra$ make
[ 0%] Built target llaudio
[ 3%] Built target llcharacter
[ 11%] Built target llcommon
[ 12%] Built target llimage
[ 13%] Built target llimagej2coj
[ 14%] Built target llinventory
[ 17%] Built target llmath
[ 19%] Built target llmedia
[ 29%] Built target llmessage
[ 30%] Built target llprimitive
[ 32%] Built target llrender
[ 33%] Built target llvfs
[ 34%] Built target llwindow
[ 35%] Built target llxml
[ 36%] Built target lscript_compile
[ 37%] Built target lscript_execute
[ 37%] Built target lscript_library
[ 37%] Built target llcrashlogger
[ 44%] Built target llui
[ 44%] Built target linux-crash-logger
[ 44%] Built target linux-crash-logger-strip-target
Linking CXX executable secondlife-bin
master: http://secondlife.com/app/message_template/master_message_template.msg
current: /home/takeshich/sl/1_22_5/linden/scripts/messages/message_template.msg
Refreshing master cache from http://secondlife.com/app/message_template/master_message_template.msg
--- PASS ---
Newer
in message TeleportFinish: is more deprecated: UDPBlackListed vs. NotDeprecated in base
in message EnableSimulator: is more deprecated: UDPBlackListed vs. NotDeprecated in base
in message CrossedRegion: is more deprecated: UDPBlackListed vs. NotDeprecated in base
/usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o: In function `_start':
(.text+0x20): relocation truncated to fit: R_PPC_REL24 against symbol `__libc_start_main@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
/usr/lib/gcc/powerpc-linux-gnu/4.1.3/crtbegin.o:(.fini+0x0): relocation truncated to fit: R_PPC_REL24 against `.text'
/usr/lib/gcc/powerpc-linux-gnu/4.1.3/crtend.o:(.init+0x0): relocation truncated to fit: R_PPC_REL24 against `.text'
CMakeFiles/secondlife-bin.dir/llagent.o: In function `LLAgent::getVelocity() const':
/home/hiruta/sl/1_22_5/linden/indra/newview/llagent.cpp:1014: relocation truncated to fit: R_PPC_REL24 against symbol `memmove@@GLIBC_2.0' defined in .glink section in /usr/lib/gcc/powerpc-linux-gnu/4.1.3/../../../../lib/crt1.o
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_44':
/home/hiruta/sl/1_22_5/linden/indra/llcommon/lldate.h:127: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_45':
/home/hiruta/sl/1_22_5/linden/indra/llcommon/lldate.h:129: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_426':
/home/hiruta/sl/1_22_5/linden/indra/llcommon/llstring.h:288: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_427':
/home/hiruta/sl/1_22_5/linden/indra/llui/lluixmltags.h:35: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_428':
/home/hiruta/sl/1_22_5/linden/indra/llui/lluixmltags.h:36: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_429':
/home/hiruta/sl/1_22_5/linden/indra/llui/lluixmltags.h:37: relocation truncated to fit: R_PPC_REL24 against symbol `std::basic_string
CMakeFiles/secondlife-bin.dir/llagent.o: In function `__tcf_430':
/home/takeshich/sl/1_22_5/linden/indra/llui/lluixmltags.h:38: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[2]: *** [newview/secondlife-bin] Error 1
make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2
make: *** [all] Error 2
gccのバグにぶち当たりました。まじでー。
http://gcc.gnu.org/ml/gcc-bugs/2008-10/msg00361.html
gcc4.4.0で試してみます。
スワップを増やしてみる。(ps3vram)
llmozlib2のコンパイル
SLviewer on PS3 がさくさく動くためへの嘆願2
SLviewer on PS3 がさくさく動くためへの嘆願
ジェスチャー音なったよ。
鳴らぬなら鳴らせてみようジェスチャー音
llmozlib2のコンパイル
SLviewer on PS3 がさくさく動くためへの嘆願2
SLviewer on PS3 がさくさく動くためへの嘆願
ジェスチャー音なったよ。
鳴らぬなら鳴らせてみようジェスチャー音
Posted by Takeshich Nakamura at 11:50│Comments(0)
│PS3