On 12/19/2011 12:07 PM, dsimcha wrote:
...And with D1, everything works again in 32-bit mode but in 64-bit mode:

gdc -o hello.exe hello.d -m64
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib/libgphobos.a(

win32.o):(.text+0xc3): undefined reference to `_data_start__'
c:/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../lib/libgphobos.a(

win32.o):(.text+0xca): undefined reference to `_bss_end__'
collect2: ld returned 1 exit status
That's an oversight on my part. binutils linker scripts don't follow the Win64 ABI. The variables are still being defined as __data_start__ and __bss_end__ by the linker scripts. I forgot to change the symbols for D1.

Regarding this and your previous issue, I just updated to tip. So it may be a few days before I can upload new/fixed binaries.

Reply via email to