Re: dmd 2.065 beta 3
Am 10.02.2014 22:24, schrieb extrawurst: I gave beta 3 on my win32 dev machine a try today and noticed that building vibe.d (a dependancy in almost all my projects) takes noticeably longer to built. observing the process shows that beta3 consumes almost 1.5GB of RAM while dmd 2.064 'just' uses 1GB. https://d.puremagic.com/issues/show_bug.cgi?id=12137
Re: dmd 2.065 beta 3
I gave beta 3 on my win32 dev machine a try today and noticed that building vibe.d (a dependancy in almost all my projects) takes noticeably longer to built. observing the process shows that beta3 consumes almost 1.5GB of RAM while dmd 2.064 'just' uses 1GB.
Re: dmd 2.065 beta 3
On 02/10/2014 10:24 PM, extrawurst wrote: I gave beta 3 on my win32 dev machine a try today and noticed that building vibe.d (a dependancy in almost all my projects) takes noticeably longer to built. observing the process shows that beta3 consumes almost 1.5GB of RAM while dmd 2.064 'just' uses 1GB. Is this optimized? I had the impression that compiling diet templates in optimized builds now takes much longer, but I might be wrong.
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 18:54:49 UTC, evilrat wrote: On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote: Windows users, please give the new installer a try. It has been updated to facilitate proper installation. vc2013/win 8.1/winsdk 8.1 detects visual studio correctly, path to win sdk correctly. has wrong path to mspdb120.dll, current: PATH=%PATH%;%VCINSTALLDIR%\bin\x86_amd64;%VCINSTALLDIR%\..\Common7\IDE should be: PATH=%PATH%;%VCINSTALLDIR%\bin;%VCINSTALLDIR%\..\Common7\IDE has no path to libs dir for sdk 8.1, should be: ; Platform libraries (Windows SDK 8.1) LIB=%LIB%;%WindowsSdkDir%\Lib\winv6.3\um\x64 after these changes all seems to be working. These steps were required for me as well, VS 2013 and Windows 8.1.
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 18:34:15 UTC, Andrew Edwards wrote: Following are the changes incorporated since beta 2: The list of current regressions may be accessed here: http://d.puremagic.com/issues/buglist.cgi?query_format=advancedbug_severity=regressionbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENED Regards, Andrew I just found a disastrous optimizer bug in our production code. https://d.puremagic.com/issues/show_bug.cgi?id=12095 We shouldn't do a release without fixing that one.
Re: dmd 2.065 beta 3
Ouch! Wonder why the auto tester never picked that up. On 7 Feb 2014 10:40, Don x...@nospam.com wrote: On Monday, 3 February 2014 at 18:34:15 UTC, Andrew Edwards wrote: Following are the changes incorporated since beta 2: The list of current regressions may be accessed here: http://d.puremagic.com/issues/buglist.cgi?query_format= advancedbug_severity=regressionbug_status=NEWbug_ status=ASSIGNEDbug_status=REOPENED Regards, Andrew I just found a disastrous optimizer bug in our production code. https://d.puremagic.com/issues/show_bug.cgi?id=12095 We shouldn't do a release without fixing that one.
Re: dmd 2.065 beta 3
On Friday, 7 February 2014 at 08:44:34 UTC, Rory McGuire wrote: Ouch! Wonder why the auto tester never picked that up. On 7 Feb 2014 10:40, Don x...@nospam.com wrote: Because of no final by default?
Re: dmd 2.065 beta 3
On Friday, 7 February 2014 at 10:00:50 UTC, Francesco Cattoglio wrote: On Friday, 7 February 2014 at 08:44:34 UTC, Rory McGuire wrote: Ouch! Wonder why the auto tester never picked that up. On 7 Feb 2014 10:40, Don x...@nospam.com wrote: Because of no final by default? No. The bug has probably always been present in the 64 bit DMD. Historically, a couple of optimizer bugs like this one have been discovered each year.
Re: dmd 2.065 beta 3
On 2/4/14, 2:34, Andrew Edwards wrote: Installer ... These are the correct titles for the Installer pull requests: #52 add alternative download for dmd.${Version2}.zip #51 disable Audio and USB in VirtualBox #50 use lib64 for phobo64.lib and gcstub64.obj on Windows #49 only copy explicitly listed files from phobos #48 fix deb copyright typo #47 Update deb/rpm to new dmd versioning scheme. #46 Vagrant #45 update symlinks
Re: dmd 2.065 beta 3
On 2/7/2014 2:32 AM, Don wrote: No. The bug has probably always been present in the 64 bit DMD. Historically, a couple of optimizer bugs like this one have been discovered each year. It's in 32 bit DMD too.
Re: dmd 2.065 beta 3
On 02/03/2014 07:34 PM, Andrew Edwards wrote: http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb Do we need separate libphobos2 debian packages? Until now I've never seen them on the website (http://dlang.org/download.html) and AFAIK libphobs2.* is already in the dmd package.
Re: dmd 2.065 beta 3
El 07/02/14 16:56, Martin Nowak ha escrit: On 02/03/2014 07:34 PM, Andrew Edwards wrote: http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb Do we need separate libphobos2 debian packages? Until now I've never seen them on the website (http://dlang.org/download.html) and AFAIK libphobs2.* is already in the dmd package. That's correct, libphobos2.* is in the all-in-one dmd deb package. If a program compiled against libphobos2.so.*.*.* should be run in a third computer, you need this library on that system. libphobos2-63, libphobos2-64, etc. only contains the phobos shared library of that version for run-time purposes only. The version is included on their names allowing to install multiple phobos shared libraries version at same time. As dmd package contains this library to, the same version of libphobos2-?? and dmd deb packages conflicts, so they cannot be installed together. Regards, -- Jordi Sayol
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 19:20:05 UTC, Andrew Edwards wrote: On 2/3/14, 2:12 PM, Rory McGuire wrote: http://ftp.digitalmars.com/__dmd_2.065.0-b3-0_amd64.deb is 404 for me. Linux http://ftp.digitalmars.com/dmd_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/dmd_2.065.0~b3-0_i386.deb First, the work you do is awesome. This release will be much nicer than previous one. Everybody have the option to test easily and report regressions. As far as I can tell, I have no regression in my code (it compiles and test suite passes). Good jib everybody. Don's bug is quite scary, so probably want to release a beta 4.
Re: dmd 2.065 beta 3
On Tuesday, 4 February 2014 at 06:58:02 UTC, evilrat wrote: i have some strange behaviour when building with -O, if in short it reports taking address of interface as dereferencing null. error reported with 2.065 beta2 and beta3, but i don't remember if i had this on 2.064. any advices? here is repro case(for simplicity use dub) https://gist.github.com/evilrat666/151adaf4ce94ee1a1c68 You are dereferencing null. You have a side-effect in an assertion, so in non debug code that code looks like: IDXGIFactory fact; while( fact.EnumAdapters(cast(UINT)numAdapters, temp) != DXGI_ERROR_NOT_FOUND ) { ... } Here fact is guaranteed to be null in non-debug mode as you're only instantiating it in the assert.
Re: dmd 2.065 beta 3
On 2/3/14, 3:34 PM, Andrew Edwards wrote: On 2/3/14, 5:29 PM, Meta wrote: When installing on Windows, it lists the required space on disk as 0KB. That's something we can work towards fixing. But does it install? Is it working for you? Are you having any problems with it that needs to be addressed? Let's record that as a bugzilla issue. Thanks, Andrei
Re: dmd 2.065 beta 3
On Tuesday, 4 February 2014 at 18:51:06 UTC, Andrei Alexandrescu wrote: Let's record that as a bugzilla issue. Thanks, Andrei https://d.puremagic.com/issues/show_bug.cgi?id=12075
Re: dmd 2.065 beta 3
On 03.02.2014 19:54, evilrat wrote: On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote: Windows users, please give the new installer a try. It has been updated to facilitate proper installation. vc2013/win 8.1/winsdk 8.1 detects visual studio correctly, path to win sdk correctly. has wrong path to mspdb120.dll, current: PATH=%PATH%;%VCINSTALLDIR%\bin\x86_amd64;%VCINSTALLDIR%\..\Common7\IDE should be: PATH=%PATH%;%VCINSTALLDIR%\bin;%VCINSTALLDIR%\..\Common7\IDE There is an unfortunate collision with the search paths for 64-bit and 32-bit linker: 1. If you let the installer patch sc.ini to use the latest VS installation, it will use the 64-bit linker, and the settings are ok 2. If the installer does patch sc.ini or if you just use the zip-distribution, the 32-bit linker is the default as it has the same installation path for all supported versions of VS. I guess we could always add the line PATH=%PATH%;%VCINSTALLDIR%\bin;%VCINSTALLDIR%\..\Common7\IDE after the VS version specific lines. has no path to libs dir for sdk 8.1, should be: ; Platform libraries (Windows SDK 8.1) LIB=%LIB%;%WindowsSdkDir%\Lib\winv6.3\um\x64 According to commit log, this has been taking care of.
Re: dmd 2.065 beta 3
Windows users, please give the new installer a try. It has been updated to facilitate proper installation.
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote: Windows users, please give the new installer a try. It has been updated to facilitate proper installation. http://ftp.digitalmars.com/dmd.2.065.0-b3.exe returns 404
Re: dmd 2.065 beta 3
On 2/3/14, 1:34 PM, Andrew Edwards wrote: Binaries have been published: Linux http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb Should be: http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_i386.deb Windows http://ftp.digitalmars.com/dmd.2.065.0-b3.exe Should be http://ftp.digitalmars.com/dmd-2.065.0-b3.exe
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 18:47:46 UTC, Andrew Edwards wrote: On 2/3/14, 1:34 PM, Andrew Edwards wrote: Binaries have been published: Linux http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb Should be: http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0~b3-0_i386.deb Windows http://ftp.digitalmars.com/dmd.2.065.0-b3.exe Should be http://ftp.digitalmars.com/dmd-2.065.0-b3.exe it works fine for me - using the default settings
Re: dmd 2.065 beta 3
http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb is 404 for me. On Mon, Feb 3, 2014 at 8:34 PM, Andrew Edwards rid...@yahoo.com wrote: Following are the changes incorporated since beta 2: DMD Issue 10133 - ICE for templated static conditional lambda Issue 11993 - typeof(this) in constraint of member function template should reflect method qualifier Issue 11447 - Closure provide bogus values Issue 12016 - implicit immutable upcast becomes null in CTFE Issue 12008 - alias this and unable to resolve forward reference Issue 12023 - template mixin fails within template class Issue 12037 - Link-failure with std.numeric.CustomFloat Issue 12038 - alias this and this cause ICE Issue 12017 - DDoc leaves out the majority of documentation Issue 12040 - Compiler segfault with circular reference in variable type Phobos Issue 12024 - template instantiation for swap(SysTime, SysTime) fails Issue 11973 - Please use any instead Installer Pull 45 - add alternative download for dmd.${Version2}.zip Pull 52 - disable Audio and USB in VirtualBox Pull 51 - use lib64 for phobo64.lib and gcstub64.obj on Windows Pull 50 - only copy explicitly listed files from phobos Pull 49 - Improved build automation using Vagrant Pull 46 - fix deb copyright typo Pull 48 - Update deb/rpm to new dmd versioning scheme. Binaries have been published: All Systems http://ftp.digitalmars.com/dmd.2.065.0-b3.zip FreeBSD http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-32.zip http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-64.zip Linux http://ftp.digitalmars.com/dmd.2.065.0-b3.linux.zip http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/dmd_2.065.0-b3-0_i386.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.x86_64.rpm http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.x86_64.rpm http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.i386.rpm http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.i386.rpm OSX http://ftp.digitalmars.com/dmd.2.065.0-b3.osx.zip http://ftp.digitalmars.com/dmd.2.065.0-b3.dmg Windows http://ftp.digitalmars.com/dmd.2.065.0-b3.exe http://ftp.digitalmars.com/dmd.2.065.0-b3.windows.zip The list of current regressions may be accessed here: http://d.puremagic.com/issues/buglist.cgi?query_format= advancedbug_severity=regressionbug_status=NEWbug_ status=ASSIGNEDbug_status=REOPENED Regards, Andrew
Re: dmd 2.065 beta 3
On 2/3/14, 2:12 PM, Rory McGuire wrote: http://ftp.digitalmars.com/__dmd_2.065.0-b3-0_amd64.deb is 404 for me. Linux http://ftp.digitalmars.com/dmd_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/dmd_2.065.0~b3-0_i386.deb
Re: dmd 2.065 beta 3
Thanks, ahh! its the tilde. Cheers, On Mon, Feb 3, 2014 at 9:20 PM, Andrew Edwards rid...@yahoo.com wrote: On 2/3/14, 2:12 PM, Rory McGuire wrote: http://ftp.digitalmars.com/__dmd_2.065.0-b3-0_amd64.deb is 404 for me. Linux http://ftp.digitalmars.com/dmd_2.065.0~b3-0_amd64.deb http://ftp.digitalmars.com/dmd_2.065.0~b3-0_i386.deb
Re: dmd 2.065 beta 3
On 2/3/2014 10:34 AM, Andrew Edwards wrote: Following are the changes incorporated since beta 2: Thank you!
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 18:34:15 UTC, Andrew Edwards wrote: Following are the changes incorporated since beta 2: DMD Issue 10133 - ICE for templated static conditional lambda Issue 11993 - typeof(this) in constraint of member function template should reflect method qualifier Issue 11447 - Closure provide bogus values Issue 12016 - implicit immutable upcast becomes null in CTFE Issue 12008 - alias this and unable to resolve forward reference Issue 12023 - template mixin fails within template class Issue 12037 - Link-failure with std.numeric.CustomFloat Issue 12038 - alias this and this cause ICE Issue 12017 - DDoc leaves out the majority of documentation Issue 12040 - Compiler segfault with circular reference in variable type Phobos Issue 12024 - template instantiation for swap(SysTime, SysTime) fails Issue 11973 - Please use any instead Installer Pull 45 - add alternative download for dmd.${Version2}.zip Pull 52 - disable Audio and USB in VirtualBox Pull 51 - use lib64 for phobo64.lib and gcstub64.obj on Windows Pull 50 - only copy explicitly listed files from phobos Pull 49 - Improved build automation using Vagrant Pull 46 - fix deb copyright typo Pull 48 - Update deb/rpm to new dmd versioning scheme. Binaries have been published: All Systems http://ftp.digitalmars.com/dmd.2.065.0-b3.zip FreeBSD http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-32.zip http://ftp.digitalmars.com/dmd.2.065.0-b3.freebsd-64.zip Linux http://ftp.digitalmars.com/dmd.2.065.0-b3.linux.zip http://ftp.digitalmars.com/dmd_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/dmd_2.065.0-b3-0_i386.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_amd64.deb http://ftp.digitalmars.com/libphobos2-65_2.065.0-b3-0_i386.deb http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.x86_64.rpm http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.x86_64.rpm http://ftp.digitalmars.com/dmd-2.065.0~b3-0.openSUSE.i386.rpm http://ftp.digitalmars.com/dmd-2.065.0~b3-0.fedora.i386.rpm OSX http://ftp.digitalmars.com/dmd.2.065.0-b3.osx.zip http://ftp.digitalmars.com/dmd.2.065.0-b3.dmg Windows http://ftp.digitalmars.com/dmd.2.065.0-b3.exe http://ftp.digitalmars.com/dmd.2.065.0-b3.windows.zip The list of current regressions may be accessed here: http://d.puremagic.com/issues/buglist.cgi?query_format=advancedbug_severity=regressionbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENED Regards, Andrew When installing on Windows, it lists the required space on disk as 0KB.
Re: dmd 2.065 beta 3
On 2/3/14, 5:29 PM, Meta wrote: When installing on Windows, it lists the required space on disk as 0KB. That's something we can work towards fixing. But does it install? Is it working for you? Are you having any problems with it that needs to be addressed?
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 23:34:28 UTC, Andrew Edwards wrote: On 2/3/14, 5:29 PM, Meta wrote: When installing on Windows, it lists the required space on disk as 0KB. That's something we can work towards fixing. But does it install? Is it working for you? Are you having any problems with it that needs to be addressed? It seems to install and work correctly. I haven't encountered any regressions yet with my old code.
Re: dmd 2.065 beta 3
On Monday, 3 February 2014 at 18:37:20 UTC, Andrew Edwards wrote: Windows users, please give the new installer a try. It has been updated to facilitate proper installation. Seems to work well here. I thought something was odd when I saw a flash of an attempt to download from downloads.dlang.org but looking into it I didn't know about Martin's Alt URL addition (very handy).
Re: dmd 2.065 beta 3
i have some strange behaviour when building with -O, if in short it reports taking address of interface as dereferencing null. error reported with 2.065 beta2 and beta3, but i don't remember if i had this on 2.064. any advices? here is repro case(for simplicity use dub) https://gist.github.com/evilrat666/151adaf4ce94ee1a1c68