www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - LDC 1.35.0

reply kinke <noone nowhere.com> writes:
Glad to announce LDC 1.35.0. Major changes:

* Based on D 2.105.2+.
* A few important ImportC fixes.
* Fix GC2Stack optimization regression introduced in v1.24.

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

Thanks to all contributors & sponsors!
Oct 15 2023
next sibling parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Sunday, 15 October 2023 at 13:37:30 UTC, kinke wrote:
 Glad to announce LDC 1.35.0. Major changes:

 * Based on D 2.105.2+.
 * A few important ImportC fixes.
 * Fix GC2Stack optimization regression introduced in v1.24.

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

 Thanks to all contributors & sponsors!
Nice! Thanks for all the work you do.
Oct 15 2023
prev sibling next sibling parent zoujiaqing <zoujiaqing gmail.com> writes:
On Sunday, 15 October 2023 at 13:37:30 UTC, kinke wrote:
 Glad to announce LDC 1.35.0. Major changes:

 * Based on D 2.105.2+.
 * A few important ImportC fixes.
 * Fix GC2Stack optimization regression introduced in v1.24.

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

 Thanks to all contributors & sponsors!
Cool ;)
Oct 16 2023
prev sibling next sibling parent "H. S. Teoh" <hsteoh qfbox.info> writes:
On Sun, Oct 15, 2023 at 01:37:30PM +0000, kinke via Digitalmars-d-announce
wrote:
 Glad to announce LDC 1.35.0. Major changes:
 
 * Based on D 2.105.2+.
 * A few important ImportC fixes.
 * Fix GC2Stack optimization regression introduced in v1.24.
 
 Full release log and downloads:
 https://github.com/ldc-developers/ldc/releases/tag/v1.35.0
 
 Thanks to all contributors & sponsors!
Awesome! Thanks to everyone involved in bringing us this awesome compiler. T -- Javascript is what you use to allow third party programs you don't know anything about and doing you know not what to run on your computer. -- Charles Hixson
Oct 16 2023
prev sibling next sibling parent reply Sergey <kornburn yandex.ru> writes:
On Sunday, 15 October 2023 at 13:37:30 UTC, kinke wrote:
 Glad to announce LDC 1.35.0. Major changes:

 * Based on D 2.105.2+.
 * A few important ImportC fixes.
 * Fix GC2Stack optimization regression introduced in v1.24.

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

 Thanks to all contributors & sponsors!
Thank you kinke and all related for release! Does the build from GitHub now use LLVM's SPIR-V? It is not stated in release changes
Oct 16 2023
parent reply kinke <noone nowhere.com> writes:
On Monday, 16 October 2023 at 20:54:05 UTC, Sergey wrote:
 Does the build from GitHub now use LLVM's SPIR-V? It is not 
 stated in release changes
Yes, we've switched to the experimental LLVM target with our LDC-LLVM 16, in LDC v1.34 already.
Oct 17 2023
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 17 October 2023 at 09:59:09 UTC, kinke wrote:
 On Monday, 16 October 2023 at 20:54:05 UTC, Sergey wrote:
 Does the build from GitHub now use LLVM's SPIR-V? It is not 
 stated in release changes
Yes, we've switched to the experimental LLVM target with our LDC-LLVM 16, in LDC v1.34 already.
Get this now when cross-compiling from Linux to Windows _d_newitemT: ``` lld-link: error: undefined symbol: _d_newitemT
               [...]
``` Any input?
Oct 17 2023
next sibling parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 17 October 2023 at 16:29:34 UTC, Imperatorn wrote:
 
``` lld-link: error: undefined symbol: _d_newitemT
 referenced by 
 /home/johan/dlang/ldc-1.34.0/bin/../import/std/array.d:3509
               
 /home/johan/.dub/cache/related_optimized/~master/build/application-debug-gT8M_Ht4c9Ev0KJExAFkrA/related_optimized.obj:(_D3std5array__T8AppenderTAyaZQo6__ctorMFNaNbNcNeQxZSQByQBx__TQBuTQBoZQCc)
 referenced by 
 /home/johan/dlang/ldc-1.34.0/bin/../import/std/array.d:3584
               
 /home/johan/.dub/cache/related_optimized/~master/build/application-debug-gT8M_Ht4c9Ev0KJExAFkrA/related_optimized.obj:(_D3std5array__T8AppenderTAyaZQo13ensureAddableMFNaNbNfmZv)
``` Related to this? https://github.com/dlang/dmd/commit/159a8801a08eb14dd5c8ff2c88e1221975af7898
Oct 17 2023
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 17 October 2023 at 16:32:30 UTC, Imperatorn wrote:
 On Tuesday, 17 October 2023 at 16:29:34 UTC, Imperatorn wrote:
 
``` lld-link: error: undefined symbol: _d_newitemT
 [...]
``` Related to this? https://github.com/dlang/dmd/commit/159a8801a08eb14dd5c8ff2c88e1221975af7898
A lot of typos today, this happens in 1.35 (also)
Oct 17 2023
prev sibling parent reply kinke <noone nowhere.com> writes:
On Tuesday, 17 October 2023 at 16:29:34 UTC, Imperatorn wrote:
 ```
 lld-link: error: undefined symbol: _d_newitemT
               [...]
```
Sounds like you're using an older host compiler with newer target libs. That doesn't work, the host compiler needs to be upgraded too. [This is mentioned in https://wiki.dlang.org/Cross-compiling_with_LDC#Default_libraries.]
Oct 17 2023
parent reply Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 17 October 2023 at 17:58:43 UTC, kinke wrote:
 On Tuesday, 17 October 2023 at 16:29:34 UTC, Imperatorn wrote:
 ```
 lld-link: error: undefined symbol: _d_newitemT
               [...]
```
Sounds like you're using an older host compiler with newer target libs. That doesn't work, the host compiler needs to be upgraded too. [This is mentioned in https://wiki.dlang.org/Cross-compiling_with_LDC#Default_libraries.]
Ok, thanks, I'll double check
Oct 17 2023
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
On Tuesday, 17 October 2023 at 18:29:49 UTC, Imperatorn wrote:
 On Tuesday, 17 October 2023 at 17:58:43 UTC, kinke wrote:
 On Tuesday, 17 October 2023 at 16:29:34 UTC, Imperatorn wrote:
 ```
 lld-link: error: undefined symbol: _d_newitemT
               [...]
```
Sounds like you're using an older host compiler with newer target libs. That doesn't work, the host compiler needs to be upgraded too. [This is mentioned in https://wiki.dlang.org/Cross-compiling_with_LDC#Default_libraries.]
Ok, thanks, I'll double check
Also see my post here: https://forum.dlang.org/post/ynvrxlxczbzjghzekxew forum.dlang.org
Oct 20 2023
prev sibling parent Andrey Zherikov <andrey.zherikov gmail.com> writes:
On Sunday, 15 October 2023 at 13:37:30 UTC, kinke wrote:
 Glad to announce LDC 1.35.0. Major changes:

 * Based on D 2.105.2+.
 * A few important ImportC fixes.
 * Fix GC2Stack optimization regression introduced in v1.24.

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

 Thanks to all contributors & sponsors!
I got this error with [1.35](https://github.com/andrey-zherikov/argparse/actions/runs/6329005408/job/17881016327#step:4:24): ``` Exception Code: 0xC0000005 (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2ee00d4) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2ee118d) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x827c8) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x32033b1) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2e7f052) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2f901da) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2f8fe2f) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2f90135) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2e784dd) (C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x322f4c4) Error C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-m ltilib\bin\ldc2.exe failed with exit code -1073741819. ``` There was no error with [1.34](https://github.com/andrey-zherikov/argparse/actions/runs/6165141917/job/16732347607) Does this look familiar?
Oct 19 2023