Release: MinGW64 GCC 4.6.1 GDC 1.070/2.055

dsimcha dsimcha at yahoo.com
Mon Dec 19 09:07:19 PST 2011


...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

On Monday, 19 December 2011 at 16:10:32 UTC, dsimcha wrote:
> Seems to work in 32-bit mode, but crashes in 64-bit mode.
>
> hello.d:
>
> import std.stdio;
>
> void main() {
>   writeln("Hello, world.");
> }
>
>>gdc -o hello.exe hello.d -m64 -v2
>
>>hello.exe
>
> (crash)
>
> Running Windows 7, TDM-GCC 64 installed with the bundle 
> installer.
>
> On Monday, 19 December 2011 at 03:27:07 UTC, Daniel Green wrote:
>> Please post all issues in D.gnu or on GDC's bitbucket site 
>> https://bitbucket.org/goshawk/gdc
>>
>> * Built against TDM64 GCC 4.6.1:  http://tdm-gcc.tdragon.net/
>> * Built against GDC revision 7e22befef29c.
>> * Working TLS support.
>> * Updated binutils and mingw runtime for TLS support.
>> * new gas directive @secrel32 will generate a constant offset 
>> usable
>>   as an immediate or displacement value.
>>   Works like posix counterparts @tpoff, @dtpoff, etc.
>> * Fixes issue with the mingw runtime related to TLS.
>> * Fixes issue with binutils and secrel32 relocations.
>> * 7-zip format for size reasons:  http://7-zip.org
>> * Release includes both D versions.
>> * -v1(default) compiles for D1.
>> * -v2 compiles for D2.
>> * The switch must be used for linking as well.
>>
>> To install simply extract to you TDM MinGW64 directory.
>>
>> This release
>> https://bitbucket.org/goshawk/gdc/downloads/gcc-4.6.1-tdm64-1-gdc-7e22befef29c-20111218.7z
>>
>> All MinGW GDC downloads.
>> https://bitbucket.org/goshawk/gdc/downloads
>>
>> All patches, source files and build scripts can be found at 
>> https://bitbucket.org/venix1/mingw-gdc/
>>
>> I will be updating to tip and making -v2 default for the next 
>> release.




More information about the D.gnu mailing list