www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC 1.30.0-beta1

reply kinke <noone nowhere.com> writes:
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 16
next sibling parent test123 <test123 gmail.com> writes:
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
prev sibling next sibling parent Guillaume Piolat <first.last gmail.com> writes:
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
prev sibling next sibling parent zoujiaqing <zoujiaqing gmail.com> writes:
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
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 5/16/2022 11:31 AM, kinke wrote:
 Glad to announce the first beta for LDC 1.30.
Excellent work!
May 17
prev sibling next sibling parent reply Test123 <test123 gmail.com> writes:
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. ```d import ldc.attributes : assumeUsed; nogc nothrow extern(C): export int test() assumeUsed { return 0; } ``` build a windows shared library. ```sh 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: ```sh Export Table: DLL name: test.dll Ordinal base: 0 Ordinal RVA Name 0 0 1 0x2340 ```
May 22
parent kinke <noone nowhere.com> writes:
On Sunday, 22 May 2022 at 12:58:49 UTC, Test123 wrote:
 There is a bug with this simple code.

 ```d
 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 ```
May 23
prev sibling parent reply zoujiaqing <zoujiaqing gmail.com> writes:
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
parent reply max haughton <maxhaton gmail.com> writes:
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 22
parent reply zoujiaqing <zoujiaqing gmail.com> writes:
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 22
parent kinke <noone nowhere.com> writes:
On Monday, 23 May 2022 at 01:42:31 UTC, zoujiaqing wrote:
 The Arm64 version can't run on my MacBook:
 https://github.com/ldc-developers/ldc/issues/3864
It should definitely *run*. The linked debuginfo issue for macOS 12 targets mentions 2 workarounds - setting the `MACOSX_DEPLOYMENT_TARGET` env var to < 12 (recommended), or resorting to `-preserve-dwarf-line-section=false`.
May 23