gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Bug in devkitARM

#151554 - Noda - Fri Feb 29, 2008 12:47 am

I have this error on compilation:

Quote:
c:/devkitPro/Marble/arm9/source/game.cpp: In member function 'void Game::render()':
c:/devkitPro/Marble/arm9/source/game.cpp:424: internal compiler error: in create_tmp_var, at gimplify.c:410
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://devkitpro.sourceforge.net/bugs.shtml> for instructions.


The URL provided is not working anymore, and I don't know where to find the new bug tracker...

Here's the incriminated line of code:
Code:
renderer->setTopviewCamera((v3){ 0, 6, 0 }, (v3){ 0, 0, -0.1 });

#151577 - wintermute - Fri Feb 29, 2008 2:25 pm

I'm currently in the final stages of the devkitPPC release so unfortunately I don't currently have time to investigate properly.

The url should be http://www.devkitpro.org/bugs.shtml and the old one should have redirected there, I'll take a look at that later too.

To expand on the instructions a little too.

It would be helpful if you could reduce your code to the smallest possible testcase which reproduces the issue. Ideally this will be a single source file with no extraneous code and preprocessed source should be attached to the bug report - this is produced by adding -save-temps to your CFLAGS and is the .ii file with the same name as the .cpp file found in the build directory.

It may be a few days before anyone can investigate, please be patient.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#151756 - Noda - Tue Mar 04, 2008 4:43 pm

I'll prepare the example source, as this bug is easily reproductible.
Thanks.