linux-powerpc trouble
Marcel Unbehaun
frostworks at gmx.de
Thu Nov 23 04:29:43 PST 2006
All in all gdc works very good on my " ppc 7447/7457, altivec supported CHRP
Pegasos2 GNU/Linux",
but one error always comes back:
I'm trying to build the famous aba-games on my machine - several build/work good.
But all those which use a routine in "barrage.d" to initialize bulletml crash
at the same part:
http://paste.dprogramming.com/dpknqggs.php
As I don't know how long my pasted entry above exists (?) - I better paste a
copy here, too:
-------------
public static BulletMLParserTinyXML* getInstance(char[] dirName, char[]
fileName) {
if (!parser[dirName][fileName]) {
char[] barrageName = dirName ~ "/" ~ fileName;
Logger.info("Loading BulletML: " ~ barrageName);
parser[dirName][fileName] =
BulletMLParserTinyXML_new(std.string.toStringz(BARRAGE_DIR_NAME ~ "/"
~ barrageName));
BulletMLParserTinyXML_parse(parser[dirName][fileName]);
}
return parser[dirName][fileName];
}
This is a part from barrage.d from ABA-games Val&Rick.
I built it with 3.4.5& gdc-0.19
It also exists in other games & they all crash in this region on a linux-powerpc
system! (torustrooper, tumikifighter, (mu-cade))
The problems in similar non-aba games from http://homepage2.nifty.com/isshiki/
maybe have the same reason:
these games (GradleUnsion, z-lock) build, but either shots, or enemies are missing
Parsec47 uses a similar routine to handle bulletml, but there it works.
Valgrind prints this line as 1st error:
if (!parser[dirName][fileName]) {
Would be great if someone could look into this...
--------------
Thanks a lot for attention!
friendly,
Marcel "frostwork" Unbehaun
More information about the D.gnu
mailing list