Re: LDC 1.30.0
On 7/20/2022 11:43 AM, kinke wrote: Glad to announce LDC 1.30.0. Yay!
Re: LDC 1.30.0
On Thursday, 21 July 2022 at 10:18:22 UTC, Christian Köstlin wrote: On a sidenote I am having problem downloading any 2.100.1 dmd version from dlang.org. A great moment, ldc is released before dmd :D
Re: LDC 1.30.0
On 7/21/22 6:18 AM, Christian Köstlin wrote: Thanks for the new release. On a sidenote I am having problem downloading any 2.100.1 dmd version from dlang.org. Is it just me? Old releases are available on http://downloads.dlang.org/releases but not the 2.100.1. Kind regards, Christian There is a known problem with this for at least a week or two. I believe ryukk_ filed a PR to fix, not sure if has been merged yet.
Re: LDC 1.30.0
On 2022-07-20 20:43, kinke wrote: Glad to announce LDC 1.30.0. Major changes: - Based on D 2.100.1. - 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 LeakSanitizer support via `-fsanitize=leak`. - 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. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0 Thanks to all contributors & sponsors! Thanks for the new release. On a sidenote I am having problem downloading any 2.100.1 dmd version from dlang.org. Is it just me? Old releases are available on http://downloads.dlang.org/releases but not the 2.100.1. Kind regards, Christian
Re: LDC 1.30.0
On Wed, Jul 20, 2022 at 06:43:05PM +, kinke via Digitalmars-d-announce wrote: > Glad to announce LDC 1.30.0. Major changes: > > - Based on D 2.100.1. > - 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 LeakSanitizer support via `-fsanitize=leak`. > - 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. > > Full release log and downloads: > https://github.com/ldc-developers/ldc/releases/tag/v1.30.0 > > Thanks to all contributors & sponsors! Awesome stuff! Thanks LDC team for all their hard work in continuing to bring us a top-of-the-line D compiler! --T
LDC 1.30.0
Glad to announce LDC 1.30.0. Major changes: - Based on D 2.100.1. - 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 LeakSanitizer support via `-fsanitize=leak`. - 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. Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.30.0 Thanks to all contributors & sponsors!
Re: LDC 1.30.0-beta1
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`.
Re: LDC 1.30.0-beta1
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 characteristics 0 time date stamp 0.00 version 0 ordinal base 3 number of functions 2 number of names ordinal hint RVA name 10 3038 _D7current12__ModuleInfoZ 21 10A0 test ```
Re: LDC 1.30.0-beta1
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
Re: LDC 1.30.0-beta1
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.
Re: LDC 1.30.0-beta1
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 ;)
Re: LDC 1.30.0-beta1
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 00 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 00 1 0x2340 ```
Re: LDC 1.30.0-beta1
On 5/16/2022 11:31 AM, kinke wrote: Glad to announce the first beta for LDC 1.30. Excellent work!
Re: LDC 1.30.0-beta1
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!
Re: LDC 1.30.0-beta1
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.
Re: LDC 1.30.0-beta1
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.
LDC 1.30.0-beta1
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!