June 25, 2014
On Wednesday, 25 June 2014 at 17:56:53 UTC, Russel Winder via digitalmars-d-ldc wrote:
> On Tue, 2014-06-24 at 04:48 +0000, Kai Nacke via digitalmars-d-ldc
> wrote:
>> Hi everyone!
>> 
>> The first release of LDC 0.13.0 is here! It is based on the 2.064.2 front-end and LLVM 3.1-3.4.2 (OS X: LLVM 3.2/3.4.x only).
>
> It is splendid for LDC and D in general that this release has made it
> into the wild. The sooner it makes it to Debian Sid, Fedora 20/21,
> MacPorts, HomeBrew, Chocolatey, etc. the better!

Yes, that is really cool. Anyone here to create a FreeBSD port?

Regards,
Kai
June 28, 2014
On Wednesday, 25 June 2014 at 18:27:26 UTC, Kai Nacke wrote:
> On Wednesday, 25 June 2014 at 17:56:53 UTC, Russel Winder via digitalmars-d-ldc wrote:
>> On Tue, 2014-06-24 at 04:48 +0000, Kai Nacke via digitalmars-d-ldc
>> wrote:
>>> Hi everyone!
>>> 
>>> The first release of LDC 0.13.0 is here! It is based on the 2.064.2 front-end and LLVM 3.1-3.4.2 (OS X: LLVM 3.2/3.4.x only).
>>
>> It is splendid for LDC and D in general that this release has made it
>> into the wild. The sooner it makes it to Debian Sid, Fedora 20/21,
>> MacPorts, HomeBrew, Chocolatey, etc. the better!
>
> Yes, that is really cool. Anyone here to create a FreeBSD port?
>
> Regards,
> Kai

Use the LDC2 to build,found the exe file size is big,a helloworld.exe about 3.4MB,and  Memory Usage is bigger than dmd's .
June 28, 2014
On Wed, 2014-06-25 at 18:21 +0000, Kai Nacke via digitalmars-d-ldc wrote:
> Hi Russel!
> 
> On Wednesday, 25 June 2014 at 17:56:53 UTC, Russel Winder via digitalmars-d-ldc wrote:
> > I shall probably still use merge-2.065 though. :-)
> 
> No. I merged merge-2.065 into master. :-)

Sadly master fails to compile for me on Debian Sid. Could this be a local issue or is it an issue with the source itself?

[ 20%] Generating src/core/stdc/wctype.o
[ 20%] Generating src/ldc/eh.o
0  ldc2            0x000000000143f4a2
llvm::sys::PrintStackTrace(_IO_FILE*) + 34
1  ldc2            0x000000000143ef4c
2  libpthread.so.0 0x00007f365a99b8f0
3  ldc2            0x0000000000700ce0 stripModifiers(Type*) + 0
4  ldc2            0x000000000072c24f DtoType(Type*) + 15
5  ldc2            0x00000000006fe995 DtoAlloca(Type*, char const*) + 21
6  ldc2            0x00000000006ee2dc CallExp::toElem(IRState*) + 4668
7  ldc2            0x00000000006e0387 Expression::toElemDtor(IRState*) +
583
8  ldc2            0x0000000000707e0e
9  ldc2            0x0000000000707f04
10 ldc2            0x0000000000707f04
11 ldc2            0x0000000000707d04 Statement_toIR(Statement*,
IRState*) + 36
12 ldc2            0x00000000006dddd4
DtoDefineFunction(FuncDeclaration*) + 2196
13 ldc2            0x0000000000799163
14 ldc2            0x0000000000799163
15 ldc2            0x00000000007990de Declaration_codegen(Dsymbol*) + 46
16 ldc2            0x00000000006cfb4d
Module::genLLVMModule(llvm::LLVMContext&) + 669
17 ldc2            0x00000000005f10bf main + 7455
18 libc.so.6       0x00007f36597acb45 __libc_start_main + 245
19 ldc2            0x00000000006145bf
Segmentation fault

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


June 28, 2014
https://github.com/ldc-developers/ldc/issues/646
June 28, 2014
On Saturday, 28 June 2014 at 06:39:57 UTC, FrankLike wrote:
> On Wednesday, 25 June 2014 at 18:27:26 UTC, Kai Nacke wrote:
>> On Wednesday, 25 June 2014 at 17:56:53 UTC, Russel Winder via digitalmars-d-ldc wrote:
>>> On Tue, 2014-06-24 at 04:48 +0000, Kai Nacke via digitalmars-d-ldc
>>> wrote:
>>>> Hi everyone!
>>>> 
>>>> The first release of LDC 0.13.0 is here! It is based on the 2.064.2 front-end and LLVM 3.1-3.4.2 (OS X: LLVM 3.2/3.4.x only).
>>>
>>> It is splendid for LDC and D in general that this release has made it
>>> into the wild. The sooner it makes it to Debian Sid, Fedora 20/21,
>>> MacPorts, HomeBrew, Chocolatey, etc. the better!
>>
>> Yes, that is really cool. Anyone here to create a FreeBSD port?
>>
>> Regards,
>> Kai
>
> Use the LDC2 to build,found the exe file size is big,a helloworld.exe about 3.4MB,and  Memory Usage is bigger than dmd's .

What compiler flags did you use?
June 28, 2014
On Saturday, 28 June 2014 at 11:24:06 UTC, Russel Winder via digitalmars-d-ldc wrote:
> On Wed, 2014-06-25 at 18:21 +0000, Kai Nacke via digitalmars-d-ldc
> wrote:
>> Hi Russel!
>> 
>> On Wednesday, 25 June 2014 at 17:56:53 UTC, Russel Winder via digitalmars-d-ldc wrote:
>> > I shall probably still use merge-2.065 though. :-)
>> 
>> No. I merged merge-2.065 into master. :-)
>
> Sadly master fails to compile for me on Debian Sid. Could this be a
> local issue or is it an issue with the source itself?
>
> [ 20%] Generating src/core/stdc/wctype.o
> [ 20%] Generating src/ldc/eh.o
> 0  ldc2            0x000000000143f4a2
> llvm::sys::PrintStackTrace(_IO_FILE*) + 34
> 1  ldc2            0x000000000143ef4c
> 2  libpthread.so.0 0x00007f365a99b8f0
> 3  ldc2            0x0000000000700ce0 stripModifiers(Type*) + 0
> 4  ldc2            0x000000000072c24f DtoType(Type*) + 15
> 5  ldc2            0x00000000006fe995 DtoAlloca(Type*, char const*) + 21
> 6  ldc2            0x00000000006ee2dc CallExp::toElem(IRState*) + 4668
> 7  ldc2            0x00000000006e0387 Expression::toElemDtor(IRState*) +
> 583
> 8  ldc2            0x0000000000707e0e
> 9  ldc2            0x0000000000707f04
> 10 ldc2            0x0000000000707f04
> 11 ldc2            0x0000000000707d04 Statement_toIR(Statement*,
> IRState*) + 36
> 12 ldc2            0x00000000006dddd4
> DtoDefineFunction(FuncDeclaration*) + 2196
> 13 ldc2            0x0000000000799163
> 14 ldc2            0x0000000000799163
> 15 ldc2            0x00000000007990de Declaration_codegen(Dsymbol*) + 46
> 16 ldc2            0x00000000006cfb4d
> Module::genLLVMModule(llvm::LLVMContext&) + 669
> 17 ldc2            0x00000000005f10bf main + 7455
> 18 libc.so.6       0x00007f36597acb45 __libc_start_main + 245
> 19 ldc2            0x00000000006145bf
> Segmentation fault

I committed a change too early to druntime. Should be fixed now. (Travis is still running.)

Regards,
Kai
June 28, 2014
On Sat, 2014-06-28 at 15:16 +0000, Kai Nacke via digitalmars-d-ldc
wrote:
[…]
> I committed a change too early to druntime. Should be fixed now. (Travis is still running.)

'Tis indeed fixed.

Thanks.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


June 28, 2014
>> Use the LDC2 to build,found the exe file size is big,a helloworld.exe about 3.4MB,and  Memory Usage is bigger than dmd's .
>
> What compiler flags did you use?
LDC2 a.d
or LDC2 -release a.d
How about your exe file size?
June 28, 2014
druntime doesn't compile with Visual Studio since there's no version block implementing isnan and friends.
Thus druntime/src\core\stdc\math.d(665) error : undefined identifier isnan
June 28, 2014
On Saturday, 28 June 2014 at 16:52:58 UTC, Trass3r wrote:
> druntime doesn't compile with Visual Studio since there's no version block implementing isnan and friends.
> Thus druntime/src\core\stdc\math.d(665) error : undefined identifier isnan

Please, could you check if this patch https://gist.github.com/redstar/5800e9dc85a1d5626e7e fixes the problem?

Thanks!

Regards,
Kai