October 09, 2013
On Wednesday, 9 October 2013 at 05:16:03 UTC, Elvis Zhou wrote:
> On Wednesday, 9 October 2013 at 05:13:35 UTC, Elvis Zhou wrote:
>> On Wednesday, 9 October 2013 at 03:15:41 UTC, David Nadlinger wrote:
>>> On Wed, Oct 9, 2013 at 4:55 AM, Elvis Zhou <elvis.x.zhou@gmail.com> wrote:
>>>> Nice work!
>>>> I'm very interested in "LDC builds druntime, Phobos and a Hello World
>>>> program on Linux/ARM", is there a guidance? I wanna give it a try and see if
>>>> I can be of any help to ARM support.
>>>
>>> What platform are you on?
>>>
>>> I'm using an ODROID-X running Arch Linux as my ARM dev platform, and
>>> getting started there is as easy as installing LLVM and then building
>>> LDC as usual.
>>>
>>> If you need to cross-compile, you are pretty much into uncharted
>>> territory – there is no reason why it shouldn't work with LDC, but I
>>> don't think anybody has tested it yet.
>>>
>>> In any case, I'd love to see somebody else helping out with the whole
>>> ARM business, so feel free to contact me with any questions, anytime.
>>>
>>> Cheers,
>>> David
>>
>> I'm on virtualbox debian x86, hosted by win7 64.
>>
>> I've compiled llvm and ldc, both from git-head, (llvm was compiled some days ago however), now I can build ArtemisD as a library successful but fail to build example with a link error. Then I want to use dub with ldc to see if I missed some compiler options, however, build dub from git-head also led to a link error.
>
> It's all no ARM related, except that llvm built with ARM support.

Generating version file...
Running ldmd2...
bin/dub.o:(.rodata._D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ[_D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ]+0x30): undefined reference to `_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'
collect2: error: ld returned 1 exit status
Error: /usr/bin/gcc failed with status: 1
October 09, 2013
On Tuesday, 8 October 2013 at 21:05:29 UTC, David Nadlinger wrote:
> Sigh, the web interface line-wrapped the MD5 sums.
>
> Anyway, the first bug is already found: The README file is missing from the non-Windows packages because I didn't properly update the packaging scripts.
>
> David

Maybe you should add the fact that LDC also runs on FreeBSD now (issue #451).

Kai
October 09, 2013
I can compile example source file (app.d) along with all ArtemisD source files by "ldc2 app.d $SRCs" without error. However, "ldc2 -lib $SRCs -ofartemisd" then "ldc2 app.d -L-lartemisd" led to a link error(undefined reference), any mistake I made?
October 09, 2013
On Tuesday, 8 October 2013 at 21:00:50 UTC, David Nadlinger wrote:
> Hi all,
>
> As discussed, here are the first alpha packages for the 0.12.0 release.
>
> See the GitHub release page for the download links and the preliminary change log:
> https://github.com/ldc-developers/ldc/releases/tag/v0.12.0-alpha1
>
> <snip>
>
> Please be sure to report any regression at https://github.com/ldc-developers/ldc/issues.
>
> Thanks to everybody involved!
> David

Please either:
 * Upload an archive containing the source code including druntime/phobos
OR
 * Update the ldc-developers forks of phobos/druntime, and create a tag/release matching the ldc tag/release.

It would help me create gentoo ebuilds that pull everything from github.

Thanks!
October 09, 2013
On Wednesday, 9 October 2013 at 06:43:15 UTC, safety0ff wrote:
> On Tuesday, 8 October 2013 at 21:00:50 UTC, David Nadlinger wrote:
>> Hi all,
>>
>> As discussed, here are the first alpha packages for the 0.12.0 release.
>>
>> See the GitHub release page for the download links and the preliminary change log:
>> https://github.com/ldc-developers/ldc/releases/tag/v0.12.0-alpha1
>>
>> <snip>
>>
>> Please be sure to report any regression at https://github.com/ldc-developers/ldc/issues.
>>
>> Thanks to everybody involved!
>> David
>
> Please either:
>  * Upload an archive containing the source code including druntime/phobos
> OR
>  * Update the ldc-developers forks of phobos/druntime, and create a tag/release matching the ldc tag/release.
>
> It would help me create gentoo ebuilds that pull everything from github.
>
> Thanks!

Why not use the gentoo-overlay (see http://wiki.dlang.org/Installing_LDC_on_Gentoo)?

Kai
October 09, 2013
On Wed, Oct 9, 2013 at 7:33 AM, Kai Nacke <kai@redstar.de> wrote:
> Maybe you should add the fact that LDC also runs on FreeBSD now (issue
> #451).

Can't you edit the release notes as well? Just press the »Edit Release« button on the GitHub release page.

David
October 09, 2013
On Wednesday, 9 October 2013 at 05:24:56 UTC, Elvis Zhou wrote:
> Generating version file...
> Running ldmd2...
> bin/dub.o:(.rodata._D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ[_D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ]+0x30): undefined reference to `_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'
> collect2: error: ld returned 1 exit status
> Error: /usr/bin/gcc failed with status: 1

Turns out we/I missed the following bug report before deciding to push out the alpha: https://github.com/ldc-developers/ldc/issues/454

Well, I guess that's what alpha versions are for.

David
October 09, 2013
On Wednesday, 9 October 2013 at 10:35:23 UTC, David Nadlinger wrote:
> On Wednesday, 9 October 2013 at 05:24:56 UTC, Elvis Zhou wrote:
>> Generating version file...
>> Running ldmd2...
>> bin/dub.o:(.rodata._D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ[_D123TypeInfo_S3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted6__initZ]+0x30): undefined reference to `_D3std8typecons86__T10RefCountedTS3std4file15DirIteratorImplVE3std8typecons24RefCountedAutoInitialize0Z10RefCounted10__postblitMFZv'
>> collect2: error: ld returned 1 exit status
>> Error: /usr/bin/gcc failed with status: 1
>
> Turns out we/I missed the following bug report before deciding to push out the alpha: https://github.com/ldc-developers/ldc/issues/454
>
> Well, I guess that's what alpha versions are for.
>
> David

Glad it helped, looking forward to a fix.
October 09, 2013
On Wednesday, 9 October 2013 at 10:17:50 UTC, David Nadlinger wrote:
> On Wed, Oct 9, 2013 at 7:33 AM, Kai Nacke <kai@redstar.de> wrote:
>> Maybe you should add the fact that LDC also runs on FreeBSD now (issue
>> #451).
>
> Can't you edit the release notes as well? Just press the »Edit
> Release« button on the GitHub release page.
>
> David

Oh, I missed the edit button. Done.

Kai
October 09, 2013
On Wednesday, 9 October 2013 at 07:03:48 UTC, Kai Nacke wrote:
> Why not use the gentoo-overlay (see http://wiki.dlang.org/Installing_LDC_on_Gentoo)?
>
> Kai

1. Gentoo overlay doesn't have an alpha ebuild.
2. Gentoo overlay ebuild looks like it installs some files directly instead of to the temporary image directory first and letting portage do the rest.

Making matching tags/releases in the ldc phobos & druntime repos would make keeping gentoo overlay up-to-date easier.
It would also remove the need to fetch the source code from a third party host.