March 18, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On Tuesday, 17 March 2015 at 14:01:18 UTC, Steven Schveighoffer wrote: > On 3/17/15 7:18 AM, Daniel Kozak wrote: >> On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote: >>> Release Candidate for 2.067.0 >>> >>> http://downloads.dlang.org/pre-releases/2.x/2.067.0/ >>> http://ftp.digitalmars.com/ >>> You can get the binaries here until they are mirrored. >>> https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/ >>> >>> We fixed the few remaining issues. >>> https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1 >>> >>> https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1 >>> >>> >>> Unless any new issue pops up, we'll make the release on friday. >>> >>> -Martin >> >> Does not work with my code base :( >> >> dmd: interpret.c:6724: void setValue(VarDeclaration*, Expression*): >> Assertion `(vd->storage_class & (0x1000LL | 0x200000LL)) ? >> isCtfeReferenceValid(newval) : isCtfeValueValid(newval)' failed. >> Exit code 134 > > This is an ICE (internal compiler error) and is something that needs to be filed. If you file it soon, it may be addressed before the release. > > http://issues.dlang.org > > -Steve https://issues.dlang.org/show_bug.cgi?id=14304 |
March 18, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Wednesday, 18 March 2015 at 00:47:20 UTC, Martin Nowak wrote:
> On 03/18/2015 01:13 AM, Manu via Digitalmars-d-announce wrote:
>> Yes. Has for a while.
>> We're really hanging out for the 32bit COFF libs to ship with DMD.
>
> Well, someone should add a build target to
> https://github.com/D-Programming-Language/phobos/blob/master/win32.mak.
> How is the phobos.lib called to avoid conflicts?
>
> It's a bit late to come up with this, will see if I can find enough time
> for this.
phobos32.lib I suppose? Would be great if it was there. That + struct d-tors would make this release great for those that wait to be able to create C++/D apps for Win32.
|
March 19, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 18.03.2015 01:46, Martin Nowak wrote: > On 03/18/2015 01:13 AM, Manu via Digitalmars-d-announce wrote: >> Yes. Has for a while. >> We're really hanging out for the 32bit COFF libs to ship with DMD. > > Well, someone should add a build target to > https://github.com/D-Programming-Language/phobos/blob/master/win32.mak. > How is the phobos.lib called to avoid conflicts? > > It's a bit late to come up with this, will see if I can find enough time > for this. > The COFF32 lib is built through win64.mak. This is an excerpt from my build script to create lib32\phobos32mscoff.lib: set dm_make=c:\l\dmc\bin\make set vs=vs12 set vcdir=c:\l\%vs%\vc set cl32=%vcdir%/bin/cl.exe set ar32=%vcdir%/bin/lib.exe set MSLINK=%vcdir%\bin\link.exe set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A set LINKCMD=%MSLINK% set LIB=%LIB32COFF% set ARGS=DMD=%DMD% MAKE=%dm_make% "CC=\"%cl32%\"" "AR=\"%ar32%\"" VCDIR=%vcdir% "SDKDIR=%sdkdir%" cd druntime %dm_make% -f win64.mak MODEL=32mscoff %ARGS% target if errorlevel 1 goto xit cd .. cd phobos %dm_make% -f win64.mak MODEL=32mscoff %ARGS% LIB=..\lib32\phobos32mscoff.lib if errorlevel 1 goto xit cd .. |
March 20, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 16.03.2015 22:38, Martin Nowak wrote: > Release Candidate for 2.067.0 > > http://downloads.dlang.org/pre-releases/2.x/2.067.0/ > http://ftp.digitalmars.com/ > You can get the binaries here until they are mirrored. > https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/ > > We fixed the few remaining issues. > https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1 > https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1 > > Unless any new issue pops up, we'll make the release on friday. > > -Martin > A Visual D beta version with parser support for new language syntax (thanks to Alex Bothe) can be found here: https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.41-beta1 It also comes with some new mago debugger features. |
March 20, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | On 03/19/2015 08:02 AM, Rainer Schuetze wrote: > The COFF32 lib is built through win64.mak. This is an excerpt from my build script to create lib32\phobos32mscoff.lib: > > set dm_make=c:\l\dmc\bin\make > set vs=vs12 > set vcdir=c:\l\%vs%\vc > set cl32=%vcdir%/bin/cl.exe > set ar32=%vcdir%/bin/lib.exe > set MSLINK=%vcdir%\bin\link.exe > set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib > set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A > > set LINKCMD=%MSLINK% > set LIB=%LIB32COFF% > set ARGS=DMD=%DMD% MAKE=%dm_make% "CC=\"%cl32%\"" "AR=\"%ar32%\"" > VCDIR=%vcdir% "SDKDIR=%sdkdir%" > > cd druntime > %dm_make% -f win64.mak MODEL=32mscoff %ARGS% target > if errorlevel 1 goto xit > cd .. > > cd phobos > %dm_make% -f win64.mak MODEL=32mscoff %ARGS% > LIB=..\lib32\phobos32mscoff.lib > if errorlevel 1 goto xit > cd .. It's seriously too late, unless someone else steps up and does it. I'd need to change the build script to clean and build another Windows target, and my time is bound to regression fixing. This code in the build script would need to be changed. https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L383 https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L595 @rainers please integrate this with win64.mak so we can get this soon. Does DMD already link against phobos32mscoff? |
March 20, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On 20.03.2015 16:18, Martin Nowak wrote: > On 03/19/2015 08:02 AM, Rainer Schuetze wrote: >> The COFF32 lib is built through win64.mak. This is an excerpt from my >> build script to create lib32\phobos32mscoff.lib: >> >> set dm_make=c:\l\dmc\bin\make >> set vs=vs12 >> set vcdir=c:\l\%vs%\vc >> set cl32=%vcdir%/bin/cl.exe >> set ar32=%vcdir%/bin/lib.exe >> set MSLINK=%vcdir%\bin\link.exe >> set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib >> set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A >> >> set LINKCMD=%MSLINK% >> set LIB=%LIB32COFF% >> set ARGS=DMD=%DMD% MAKE=%dm_make% "CC=\"%cl32%\"" "AR=\"%ar32%\"" >> VCDIR=%vcdir% "SDKDIR=%sdkdir%" >> >> cd druntime >> %dm_make% -f win64.mak MODEL=32mscoff %ARGS% target >> if errorlevel 1 goto xit >> cd .. >> >> cd phobos >> %dm_make% -f win64.mak MODEL=32mscoff %ARGS% >> LIB=..\lib32\phobos32mscoff.lib >> if errorlevel 1 goto xit >> cd .. > > It's seriously too late, unless someone else steps up and does it. I'd > need to change the build script to clean and build another Windows > target, and my time is bound to regression fixing. I think we should not do it for the dmd 2.067 release. It would be good to have it integrated into the test infrastructure before adding it to the release. Yesterday I tried the unittests with Win32 COFF and hit a regression (?): https://github.com/D-Programming-Language/dmd/pull/4504 > > This code in the build script would need to be changed. > > https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L383 > https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L595 > > @rainers please integrate this with win64.mak so we can get this soon. I'll look into that, but dm make tends to make it messy... > > Does DMD already link against phobos32mscoff? > Yes. The default sc.ini expects it in windows\lib32mscoff. |
March 21, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | "Rainer Schuetze" wrote in message news:mehkf1$21k2$1@digitalmars.com... > I think we should not do it for the dmd 2.067 release. It would be good to have it integrated into the test infrastructure before adding it to the release. I think that needs to be a hard requirement. |
March 23, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Friday, 20 March 2015 at 15:19:03 UTC, Martin Nowak wrote:
> On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
>> The COFF32 lib is built through win64.mak. This is an excerpt from my
>> build script to create lib32\phobos32mscoff.lib:
>>
>> set dm_make=c:\l\dmc\bin\make
>> set vs=vs12
>> set vcdir=c:\l\%vs%\vc
>> set cl32=%vcdir%/bin/cl.exe
>> set ar32=%vcdir%/bin/lib.exe
>> set MSLINK=%vcdir%\bin\link.exe
>> set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
>> set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A
>>
>> set LINKCMD=%MSLINK%
>> set LIB=%LIB32COFF%
>> set ARGS=DMD=%DMD% MAKE=%dm_make% "CC=\"%cl32%\"" "AR=\"%ar32%\""
>> VCDIR=%vcdir% "SDKDIR=%sdkdir%"
>>
>> cd druntime
>> %dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
>> if errorlevel 1 goto xit
>> cd ..
>>
>> cd phobos
>> %dm_make% -f win64.mak MODEL=32mscoff %ARGS%
>> LIB=..\lib32\phobos32mscoff.lib
>> if errorlevel 1 goto xit
>> cd ..
>
> It's seriously too late, unless someone else steps up and does it. I'd
> need to change the build script to clean and build another Windows
> target, and my time is bound to regression fixing.
>
Been waiting for this for almost 2 years, might as well wait for another release. Seriously tho, it is surprising how much little attention is put into C++/D integration considering all the recent fuss about this. And yes, I've tried mixed C++/D app on x64 Win, it crashes with simple writeln() call.
|
March 23, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szymon Gatner | On Mon, Mar 23, 2015 at 13:49:53 +0000, Szymon Gatner via Digitalmars-d-announce wrote:
> Been waiting for this for almost 2 years, might as well wait for another release. Seriously tho, it is surprising how much little attention is put into C++/D integration considering all the recent fuss about this. And yes, I've tried mixed C++/D app on x64 Win, it crashes with simple writeln() call.
At least you get that far; Android doesn't even get there (though those patches to even let people get toolchains up and running are "only" around a year old).
--Ben
|
March 23, 2015 Re: Release Candidate D 2.067.0-rc1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szymon Gatner | On 03/23/2015 02:49 PM, Szymon Gatner wrote: > Been waiting for this for almost 2 years, might as well wait for another release. Seriously tho, it is surprising how much little attention is put into C++/D integration considering all the recent fuss about this. And yes, I've tried mixed C++/D app on x64 Win, it crashes with simple writeln() call. As a matter of fact we only have few Windows developers, so unless someone with interest in this platform steps up it will hardly improve. Daniel Murphy did a lot of D/C++ integration to get ddmd to work, and apparently, that also works on Windows, so you might ask him for details. https://auto-tester.puremagic.com/?projectid=10 |
Copyright © 1999-2021 by the D Language Foundation