[dmd-internals] [D-Programming-Language/dmd] fb8947: make -m64 the default for 64 bit dmd

Brad Roberts braddr at puremagic.com
Sat Apr 30 15:08:42 PDT 2011


I'm leaning towards #1.  Having the wrong .di files for windows in a linux 64 environment seems worse than not having
them at all.

On 4/30/2011 2:51 PM, Walter Bright wrote:
> I think forcing -m32 for Windows files is the right approach. We don't have 64 bit Windows support.
> 
> On 4/30/2011 2:26 PM, Brad Roberts wrote:
>> Looks like this triggers a 'bug' while building 64 bit output:
>>
>> > From http://d.puremagic.com/test-results/test_data.ghtml?dataid=59151
>>
>> ../dmd/src/dmd -m64 -c -d -o- -Isrc -Iimport -Hfimport/core/sys/windows/stacktrace.di src/core/sys/windows/stacktrace.d
>> src/core/sys/windows/stacktrace.d(302): Error: cannot implicitly convert expression (symbolSize) of type ulong to uint
>>
>>
>> This happens for both Linux 32/64 and Linux 64/64.
>>
>> It triggered for Linux 64/32 as well, but I fixed it with adding -m$(MODEL) to the make file to at least get the forced
>> -m32 part through to that part of compilation.
>>
>> I see a few options:
>>    1) disable .di generation for the windows files
>>    2) force -m32 for the windows files
>>    3) change the windows files to be 32/64 clean.
>>    4) other options?
>>
>> Later,
>> Brad
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals



More information about the dmd-internals mailing list