Jump to page: 1 2
Thread overview
LDC 1.30.0-beta1
May 16
kinke
May 17
test123
May 22
Test123
May 23
kinke
May 23
kinke
May 16

Glad to announce the first beta for LDC 1.30. Major changes:

  • Based on D 2.100.0.
  • LLVM for prebuilt packages bumped to v14.0.3. All target architectures supported by LLVM are enabled now.
  • Dropped LDC ltsmaster (v0.17.x) as supported host compiler. Like DMD, the min D version for bootstrapping is v2.079 (or GDC v9.x) now.
  • Dropped support for LLVM < 9.
  • New prebuilt universal macOS package, runnable on both x86_64 and arm64, and enabling x86_64/arm64 macOS/iOS cross-compilation targets out of the box.
    Note: avoid using an x86_64-only dub and use the bundled dub executable instead.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1

Please help test, and thanks to all contributors & sponsors!

May 17

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

Glad to announce the first beta for LDC 1.30. Major changes:

  • Based on D 2.100.0.
  • LLVM for prebuilt packages bumped to v14.0.3. All target architectures supported by LLVM are enabled now.
  • Dropped LDC ltsmaster (v0.17.x) as supported host compiler. Like DMD, the min D version for bootstrapping is v2.079 (or GDC v9.x) now.
  • Dropped support for LLVM < 9.
  • New prebuilt universal macOS package, runnable on both x86_64 and arm64, and enabling x86_64/arm64 macOS/iOS cross-compilation targets out of the box.
    Note: avoid using an x86_64-only dub and use the bundled dub executable instead.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1

Please help test, and thanks to all contributors & sponsors!

thanks for the great work, please consider add alpine CI pipeline.

May 17

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

Glad to announce the first beta for LDC 1.30. Major changes:

  • Based on D 2.100.0.
  • LLVM for prebuilt packages bumped to v14.0.3. All target architectures supported by LLVM are enabled now.
  • Dropped LDC ltsmaster (v0.17.x) as supported host compiler. Like DMD, the min D version for bootstrapping is v2.079 (or GDC v9.x) now.
  • Dropped support for LLVM < 9.
  • New prebuilt universal macOS package, runnable on both x86_64 and arm64, and enabling x86_64/arm64 macOS/iOS cross-compilation targets out of the box.
    Note: avoid using an x86_64-only dub and use the bundled dub executable instead.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1

Please help test, and thanks to all contributors & sponsors!

The new Universal macOS package will be a lot easier for newcomers. Thanks.

May 17

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

Glad to announce the first beta for LDC 1.30. Major changes:

  • Based on D 2.100.0.
  • LLVM for prebuilt packages bumped to v14.0.3. All target architectures supported by LLVM are enabled now.
  • Dropped LDC ltsmaster (v0.17.x) as supported host compiler. Like DMD, the min D version for bootstrapping is v2.079 (or GDC v9.x) now.
  • Dropped support for LLVM < 9.
  • New prebuilt universal macOS package, runnable on both x86_64 and arm64, and enabling x86_64/arm64 macOS/iOS cross-compilation targets out of the box.
    Note: avoid using an x86_64-only dub and use the bundled dub executable instead.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1

Please help test, and thanks to all contributors & sponsors!

Thank you!

May 17
On 5/16/2022 11:31 AM, kinke wrote:
> Glad to announce the first beta for LDC 1.30.

Excellent work!
May 22

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1

Please help test, and thanks to all contributors & sponsors!

hi @kinke, thanks again for the great work.

There is a bug with this simple code.

import ldc.attributes : assumeUsed;
@nogc nothrow extern(C):
export int test() @assumeUsed {
        return 0;
}

build a windows shared library.

Export Table:
 DLL name: test.dll
 Ordinal base: 0
 Ordinal      RVA  Name
       0        0
       1   0x13f0  test

If I enable lto there is no name for Export Table:

Export Table:
 DLL name: test.dll
 Ordinal base: 0
 Ordinal      RVA  Name
       0        0
       1   0x2340
May 22

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

Glad to announce the first beta for LDC 1.30. Major changes:

  • Based on D 2.100.0.
  • LLVM for prebuilt packages bumped to v14.0.3. All target architectures supported by LLVM are enabled now.
  • Dropped LDC ltsmaster (v0.17.x) as supported host compiler. Like DMD, the min D version for bootstrapping is v2.079 (or GDC v9.x) now.
  • Dropped support for LLVM < 9.
  • New prebuilt universal macOS package, runnable on both x86_64 and arm64, and enabling x86_64/arm64 macOS/iOS cross-compilation targets out of the box.
    Note: avoid using an x86_64-only dub and use the bundled dub executable instead.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0-beta1

Please help test, and thanks to all contributors & sponsors!

LDC is too powerful!

Waiting arm64 version on apple M1 ;)

May 22

On Sunday, 22 May 2022 at 15:34:03 UTC, zoujiaqing wrote:

>

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

[...]

LDC is too powerful!

Waiting arm64 version on apple M1 ;)

It's there in the list and also available via brew.

May 23

On Sunday, 22 May 2022 at 15:43:20 UTC, max haughton wrote:

>

On Sunday, 22 May 2022 at 15:34:03 UTC, zoujiaqing wrote:

>

On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:

>

[...]

LDC is too powerful!

Waiting arm64 version on apple M1 ;)

It's there in the list and also available via brew.

The Arm64 version can't run on my MacBook:
https://github.com/ldc-developers/ldc/issues/3864

May 23

On Sunday, 22 May 2022 at 12:58:49 UTC, Test123 wrote:

>

There is a bug with this simple code.

import ldc.attributes : assumeUsed;
@nogc nothrow extern(C):
export int test() @assumeUsed {
        return 0;
}

[...]

If I enable lto there is no name for Export Table:

This works fine on my box, targeting Win64:

> ldc2 -shared -O current.d -flto=full
> dumpbin /exports current.dll
Microsoft (R) COFF/PE Dumper Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file current.dll

File Type: DLL

  Section contains the following exports for current.dll

    00000000 characteristics
           0 time date stamp
        0.00 version
           0 ordinal base
           3 number of functions
           2 number of names

    ordinal hint RVA      name

          1    0 00003038 _D7current12__ModuleInfoZ
          2    1 000010A0 test
« First   ‹ Prev
1 2