www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LDC master is now at 2.066.1-rc2

reply "Kai Nacke" <kai redstar.de> writes:
Hi all,

due to the hard work of Alexey we could switch LDC master to DMD 
frontend version 2.066.1-rc2. If you built from LDC from GitHub 
then give it a try!

Regards,
Kai
Sep 21 2014
next sibling parent reply "kink" <noone nowhere.com> writes:
Thanks guys.

VS2013 x64, LLVM head, LDC head, attached LDC patch => single 
compilation error in druntime (both in debug and release):

C:/LDC/ldc/runtime/druntime/src/gc/gc.d(2569): error : function 
core.thread.thread_processGCMarks (scope IsMarked del
egate(void* addr) isMarked) is not callable using argument types 
(int delegate(void* addr) nothrow)

IsMarkedDg is defined in core.thread:
alias int delegate( void* addr ) nothrow IsMarkedDg;

--------------------

LDC patch to work around minor issues:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0552d1f..e00f299 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
   -16,7 +16,7    include(CheckCXXCompilerFlag)
  #

  find_package(LLVM 3.1 REQUIRED
-    all-targets analysis asmparser asmprinter bitreader 
bitwriter codegen core debuginfo instcombine ipa ipo 
instrumentation linker lto mc mcdisassembler mcparser objcarcopts 
object option profiledata scalaropts selectiondag support 
tablegen target transformutils vectorize ${EXTRA_LLVM_MODULES})
+    all-targets analysis asmparser asmprinter bitreader 
bitwriter codegen core debuginfo instcombine ipa ipo 
instrumentation linker lto mc mcdisassembler mcparser objcarcopts 
object option profiledata scalaropts selectiondag support 
tablegen target transformutils vectorize ${EXTRA_LLVM_MODULES} 
x86utils)
  math(EXPR LDC_LLVM_VER 
${LLVM_VERSION_MAJOR}*100+${LLVM_VERSION_MINOR})

  #
diff --git a/gen/toir.cpp b/gen/toir.cpp
index 3889086..ca2c387 100644
--- a/gen/toir.cpp
+++ b/gen/toir.cpp
   -3052,9 +3052,6    DValue *toElemDtor(Expression *e)
      public:
          std::vector<Expression*> edtors;

-        // Import all functions from class StoppableVisitor
-        using StoppableVisitor::visit;
-
          virtual void visit(Expression *e)
          {
          }
diff --git a/vcbuild/strtold.c b/vcbuild/strtold.c
index bbe0188..138a212 100644
--- a/vcbuild/strtold.c
+++ b/vcbuild/strtold.c
   -136,7 +136,11    static longdouble postab[] =
   * Terminates on first unrecognized character.
   */

+#if _MSC_VER
+longdouble strtold_dm(const char *p, char **endp)
+#else
  longdouble strtold(const char *p,char **endp)
+#endif
  {
          longdouble ldval;
          int exp;
Sep 22 2014
parent "Trass3r" <un known.com> writes:
 diff --git a/gen/toir.cpp b/gen/toir.cpp
 index 3889086..ca2c387 100644
 --- a/gen/toir.cpp
 +++ b/gen/toir.cpp
    -3052,9 +3052,6    DValue *toElemDtor(Expression *e)
      public:
          std::vector<Expression*> edtors;

 -        // Import all functions from class StoppableVisitor
 -        using StoppableVisitor::visit;
 -
          virtual void visit(Expression *e)
          {
          }
The proper way to fix this is to pull the class out of the function instead. Already created a bug report for MSVC.
Sep 22 2014
prev sibling next sibling parent reply "Dicebot" <public dicebot.lv> writes:
On Monday, 22 September 2014 at 06:35:17 UTC, Kai Nacke wrote:
 Hi all,

 due to the hard work of Alexey we could switch LDC master to 
 DMD frontend version 2.066.1-rc2. If you built from LDC from 
 GitHub then give it a try!

 Regards,
 Kai
Have updated https://aur.archlinux.org/pkgbase/ldc-alpha to build from repo master to simplify testing for Arch users (works for me so far btw)
Sep 23 2014
parent reply David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
On 23 Sep 2014, at 20:29, Dicebot via digitalmars-d-ldc wrote:
 Have updated https://aur.archlinux.org/pkgbase/ldc-alpha to build from 
 repo master to simplify testing for Arch users (works for me so far 
 btw)
Nice, thanks! David
Sep 23 2014
parent reply "Anabia123" <anabiaanum123 gmail.com> writes:
On Thursday, 2 October 2014 at 19:01:52 UTC, Nordlöw wrote:
 Should I try removing some LLVM version?
I removed all but version 3.4 of LLVM and now it compiles all the till the end. Yay! ________________ ali
Oct 28 2014
parent "Anabia123" <anabiaanum123 gmail.com> writes:
On Tuesday, 28 October 2014 at 08:45:28 UTC, Anabia123 wrote:
 On Thursday, 2 October 2014 at 19:01:52 UTC, Nordlöw wrote:
 Should I try removing some LLVM version?
I removed all but version 3.4 of LLVM and now it compiles all the till the end. Yay! ________________
Our excellent online [url=http://www.braindumps.com/RHCE.htm]rhce certification[/url] You can get our 100% [url=http://www.comptia.org/]COMPTIA[/url] certification practice test [url=http://en.wikipedia.org/wiki/Alabama_State_University]Alabama State University[/url] contains all those materials you want to [url=http://www.columbia.edu/]Columbia University[/url] paced test engine to help you pass [url=http://www.northwestern.edu/]Northwestern University[/url]
Nov 14 2014
prev sibling next sibling parent "bioinfornatics" <bioinfornatics fedoraproject.org> writes:
On Monday, 22 September 2014 at 06:35:17 UTC, Kai Nacke wrote:
 Hi all,

 due to the hard work of Alexey we could switch LDC master to 
 DMD frontend version 2.066.1-rc2. If you built from LDC from 
 GitHub then give it a try!

 Regards,
 Kai
Work perfectlty i am sending update to fedora, the version 0.14 was not push due to some regression, gtkd and dustmite
Oct 31 2014
prev sibling parent reply "Temtaime" <temtaime gmail.com> writes:
Hi Kai !
Is it possible that soon LDC will be based on DMD's head ?
For example i'm using DMD's head now because of bugs in the 
frontend, my code fails with 2.066.

Regards and thanks.
Dec 07 2014
parent "Kai Nacke" <kai redstar.de> writes:
On Sunday, 7 December 2014 at 10:41:53 UTC, Temtaime wrote:
 Hi Kai !
 Is it possible that soon LDC will be based on DMD's head ?
 For example i'm using DMD's head now because of bugs in the 
 frontend, my code fails with 2.066.

 Regards and thanks.
Hi Temtaine, I started to merge 2.067 (branch merge-2.067) some time ago but it is yet not usable. I need to push out the release before I can continue working on the merge. I really like to follow dmd development more closely - in most cases it is simply a matter of missing time.... Regards, Kai
Dec 09 2014