August 14, 2012
On win32 (WinXP) I get an ICE (segfault) but only if I compile with -m32 and if I invoke GDC via a system call in a D script, but never if I invoke it directly from a console window. GDC is invoked from within the same directory, so I don't understand what's causing this.

The command in console is:

gdc -m32 -I./out/d -I.. -c ./out/d/TagLib/TrueAudio/TrueAudio.d -o bin/wrap_d___out_d_TagLib_TrueAudio_TrueAudio.o

and in a D script which ICEs:
system(r"gdc -m32 -I./out/d -I.. -c
./out/d/TagLib/TrueAudio/TrueAudio.d -o
bin/wrap_d___out_d_TagLib_TrueAudio_TrueAudio.o");

I've also tried shell() but with the same results. Without -m32 both calls work. I've had this happen a few times already with some different files but the issue would go away at random as I'm editing my file. I'm using the latest zipped version: gcc-4.6.1-tdm64-1-gdc-6a4bafe80b-20120708-D2.058.7z

Anyone have the slightest idea what could be the issue? Cosmic rays? :P

I don't know how easy it will be to reduce an autogenerated 40Kline codebase but I'll give my best.. :)
August 15, 2012
On 8/13/2012 9:42 PM, Andrej Mitrovic wrote:
> The command in console is:
>
> gdc -m32 -I./out/d -I.. -c ./out/d/TagLib/TrueAudio/TrueAudio.d -o
> bin/wrap_d___out_d_TagLib_TrueAudio_TrueAudio.o
>
> and in a D script which ICEs:
> system(r"gdc -m32 -I./out/d -I.. -c
> ./out/d/TagLib/TrueAudio/TrueAudio.d -o
> bin/wrap_d___out_d_TagLib_TrueAudio_TrueAudio.o");

Try adding -v to the arguments and post the results.