|
From: Nuno L. <nun...@sa...> - 2008-03-31 18:55:07
|
Hi, Today were finally able to get our hands (not exactly the hands, just a shell :P) on a PS 3 with linux :) However regtest doesn't run there because of a build problem: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../ ../include -I../../VEX/pub -O -g -Wno-long-long -Wno-pointer-sign -Wdeclaration -after-statement -fno-stack-protector -MT varinfo5-varinfo5.o -MD -MP -MF .deps/ varinfo5-varinfo5.Tpo -c -o varinfo5-varinfo5.o `test -f 'varinfo5.c' || echo '. /'`varinfo5.c mv -f .deps/varinfo5-varinfo5.Tpo .deps/varinfo5-varinfo5.Po gcc -O -g -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-st ack-protector -m64 -Wl,-rpath,../../memcheck/tests -o varinfo5 varinfo5-varinfo 5.o varinfo5so.so /usr/bin/ld: warning: powerpc:common architecture of input file `varinfo5-varinf o5.o' is incompatible with powerpc:common64 output varinfo5-varinfo5.o: In function `main': /home/avexe/valgrind/memcheck/tests/varinfo5.c:5: relocation truncated to fit: R _PPC_REL24 against `varinfo5_main' Note that the build of 'varinfo5-varinfo5.o' lacks the '-m64' switch. If I add that by hand it compiles and runs just fine. Regards, Nuno |
|
From: Nuno L. <nun...@sa...> - 2008-04-01 18:55:05
|
A patch to fix the problem is available at: http://web.ist.utl.pt/nuno.lopes/memcheck_tests_ppc64_fix.txt Nuno ----- Original Message ----- From: "Nuno Lopes" <nun...@sa...> To: <val...@li...> Sent: Monday, March 31, 2008 6:42 PM Subject: [Valgrind-developers] regtest broken on linux/ppc64 > Hi, > > Today were finally able to get our hands (not exactly the hands, just a > shell :P) on a PS 3 with linux :) > > However regtest doesn't run there because of a build problem: > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind > -I../ > ../include -I../../VEX/pub -O -g -Wno-long-long -Wno-pointer-sign -Wdeclaration > -after-statement -fno-stack-protector -MT varinfo5-varinfo5.o -MD -MP -MF > .deps/ > varinfo5-varinfo5.Tpo -c -o varinfo5-varinfo5.o `test -f 'varinfo5.c' || > echo '. > /'`varinfo5.c > mv -f .deps/varinfo5-varinfo5.Tpo .deps/varinfo5-varinfo5.Po > > gcc -O -g -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement -fno-st > ack-protector -m64 -Wl,-rpath,../../memcheck/tests -o varinfo5 > varinfo5-varinfo > 5.o varinfo5so.so > /usr/bin/ld: warning: powerpc:common architecture of input file > `varinfo5-varinf > o5.o' is incompatible with powerpc:common64 output > varinfo5-varinfo5.o: In function `main': > /home/avexe/valgrind/memcheck/tests/varinfo5.c:5: relocation truncated to > fit: R > _PPC_REL24 against `varinfo5_main' > > > Note that the build of 'varinfo5-varinfo5.o' lacks the '-m64' switch. If I > add that by hand it compiles and runs just fine. > > Regards, > Nuno |