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

Brad Roberts braddr at puremagic.com
Sat Apr 30 14:26:27 PDT 2011


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

On 4/30/2011 1:40 PM, noreply at github.com wrote:
> Branch: refs/heads/master
> Home:   https://github.com/D-Programming-Language/dmd
> 
> Commit: fb8947c5c679b1d9a3b8e50368d0a8ba9bfd1fbf
>     https://github.com/D-Programming-Language/dmd/commit/fb8947c5c679b1d9a3b8e50368d0a8ba9bfd1fbf
> Author: Walter Bright <walter at walterbright.com>
> Date:   2011-04-30 (Sat, 30 Apr 2011)
> 
> Changed paths:
>   M src/mars.c
> 
> Log Message:
> -----------
> make -m64 the default for 64 bit dmd
> 
> 



More information about the dmd-internals mailing list