Re: LDC 1.35.0

2023-10-20 Thread Imperatorn via Digitalmars-d-announce

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/ynvrxlxczbzjghzek...@forum.dlang.org


Re: LDC 1.35.0

2023-10-19 Thread Andrey Zherikov via Digitalmars-d-announce

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: 0xC005
 #0 0x7ff74f6b00d4 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2ee00d4)
 #1 0x7ff74f6b118d 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2ee118d)
 #2 0x7ff74c8527c8 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x827c8)
 #3 0x7ff74f9d33b1 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x32033b1)
 #4 0x7ff74f64f052 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2e7f052)
 #5 0x7ff74f7601da 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2f901da)
 #6 0x7ff74f75fe2f 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2f8fe2f)
 #7 0x7ff74f760135 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2f90135)
 #8 0x7ff74f6484dd 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x2e784dd)
 #9 0x7ff74f9ff4c4 
(C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\bin\ldc2.exe+0x322f4c4)

#10 0x7ffc84be4de0 (C:\Windows\System32\KERNEL32.DLL+0x14de0)
#11 0x7ffc859fed9b (C:\Windows\SYSTEM32\ntdll.dll+0x7ed9b)
Error 
C:\hostedtoolcache\windows\dc\ldc2-1.35.0\x64\ldc2-1.35.0-windows-multilib\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?


Re: LDC 1.35.0

2023-10-17 Thread Imperatorn via Digitalmars-d-announce

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


Re: LDC 1.35.0

2023-10-17 Thread kinke via Digitalmars-d-announce

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.]


Re: LDC 1.35.0

2023-10-17 Thread Imperatorn via Digitalmars-d-announce

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)


Re: LDC 1.35.0

2023-10-17 Thread Imperatorn via Digitalmars-d-announce

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


Re: LDC 1.35.0

2023-10-17 Thread Imperatorn via Digitalmars-d-announce

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?


Re: LDC 1.35.0

2023-10-17 Thread kinke via Digitalmars-d-announce

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.


Re: LDC 1.35.0

2023-10-16 Thread Sergey via Digitalmars-d-announce

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


Re: LDC 1.35.0

2023-10-16 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, Oct 15, 2023 at 01:37:30PM +, 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


Re: LDC 1.35.0

2023-10-16 Thread zoujiaqing via Digitalmars-d-announce

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 ;)


Re: LDC 1.35.0

2023-10-15 Thread Imperatorn via Digitalmars-d-announce

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.


Re: LDC 1.35.0-beta1

2023-09-29 Thread mw via Digitalmars-d-announce

On Thursday, 28 September 2023 at 11:13:20 UTC, Hipreme wrote:
Hello, don't know when that happened but I'm happy to say that 
LDC 1.35.0 beta is building in half the time needed when 
compared against the version I was using (1.32.0).


Same experience with the slow 1.32.0, there must be a performance 
bug in that version somewhere.




Re: LDC 1.35.0-beta1

2023-09-28 Thread Imperatorn via Digitalmars-d-announce

On Monday, 11 September 2023 at 19:06:44 UTC, kinke wrote:
Glad to announce the first beta for LDC 1.35. The single major 
change for now is the bump to D v2.105.1+.


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


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


Getting better and better. Thanks


Re: LDC 1.35.0-beta1

2023-09-28 Thread Hipreme via Digitalmars-d-announce

On Monday, 11 September 2023 at 19:06:44 UTC, kinke wrote:
Glad to announce the first beta for LDC 1.35. The single major 
change for now is the bump to D v2.105.1+.


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


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


Hello, don't know when that happened but I'm happy to say that 
LDC 1.35.0 beta is building in half the time needed when compared 
against the version I was using (1.32.0).


This is gonna be my default choice from now on :)


Re: LDC 1.35.0-beta1

2023-09-12 Thread d007 via Digitalmars-d-announce

On Monday, 11 September 2023 at 19:06:44 UTC, kinke wrote:
Glad to announce the first beta for LDC 1.35. The single major 
change for now is the bump to D v2.105.1+.


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


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


Thanks for the great work.