digitalmars.D.announce - LDC 1.30.0-beta1
- kinke (16/16) May 16 2022 Glad to announce the first beta for LDC 1.30. Major changes:
- test123 (2/18) May 17 2022 thanks for the great work, please consider add alpine CI pipeline.
- Guillaume Piolat (3/19) May 17 2022 The new Universal macOS package will be a lot easier for
- zoujiaqing (2/18) May 17 2022 Thank you!
- Walter Bright (2/3) May 17 2022 Excellent work!
- Test123 (28/31) May 22 2022 hi @kinke, thanks again for the great work.
- kinke (18/30) May 23 2022 This works fine on my box, targeting Win64:
- zoujiaqing (3/19) May 22 2022 LDC is too powerful!
- max haughton (2/6) May 22 2022 It's there in the list and also available via brew.
- zoujiaqing (3/11) May 22 2022 The Arm64 version can't run on my MacBook:
- kinke (5/7) May 23 2022 It should definitely *run*. The linked debuginfo issue for macOS
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 2022
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 2022
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 2022
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 2022
On 5/16/2022 11:31 AM, kinke wrote:Glad to announce the first beta for LDC 1.30.Excellent work!
May 17 2022
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 2022
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.dllMicrosoft (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 2022
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 2022
On Sunday, 22 May 2022 at 15:34:03 UTC, zoujiaqing wrote:On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:It's there in the list and also available via brew.[...]LDC is too powerful! Waiting arm64 version on apple M1 ;)
May 22 2022
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:The Arm64 version can't run on my MacBook: https://github.com/ldc-developers/ldc/issues/3864On Monday, 16 May 2022 at 18:31:47 UTC, kinke wrote:It's there in the list and also available via brew.[...]LDC is too powerful! Waiting arm64 version on apple M1 ;)
May 22 2022
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/3864It 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 2022