DMD 2.090.1: SIGILL, Illegal instruction on (ahem) intel Pentium III

kinke noone at nowhere.com
Wed Mar 11 22:46:55 UTC 2020


On Wednesday, 11 March 2020 at 22:18:04 UTC, kdevel wrote:
> Disassembly on the AMD 64 it reveals that ldc also emits the 
> movds instructions:
>
>    0x08051ba2 <+434>:	call   0x804f680 
> <_D2rt5minfo11ModuleGroup6__ctorMFNbNcNiAyPS6object10ModuleInfoZSQCkQCkQCh>
>    0x08051ba7 <+439>:	sub    $0x8,%esp
>    0x08051baa <+442>:	movsd  0x30(%esp),%xmm0
>    0x08051bb0 <+448>:	movsd  0x38(%esp),%xmm1

That's in druntime, not your cross-compiled code; you'll need to 
cross-compile druntime and Phobos first, see 
https://wiki.dlang.org/Building_LDC_runtime_libraries.


More information about the Digitalmars-d-learn mailing list