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

2020-03-11 Thread Johan via Digitalmars-d-learn
On Wednesday, 11 March 2020 at 22:18:04 UTC, kdevel wrote: On Thursday, 27 February 2020 at 19:24:39 UTC, Johan wrote: LDC will work fine if told what processor you have: https://d.godbolt.org/z/5hrzgm -m32 -mcpu=pentium3 (-mcpu=native should also work). When I "cross compile" on an AMD 64

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

2020-03-11 Thread kinke via Digitalmars-d-learn
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

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

2020-03-11 Thread kdevel via Digitalmars-d-learn
On Thursday, 27 February 2020 at 19:24:39 UTC, Johan wrote: LDC will work fine if told what processor you have: https://d.godbolt.org/z/5hrzgm -m32 -mcpu=pentium3 (-mcpu=native should also work). When I "cross compile" on an AMD 64 Bit machine for pentium3 [AMD 64 bit] $ ldc2 -m32

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

2020-02-27 Thread kdevel via Digitalmars-d-learn
On Thursday, 27 February 2020 at 18:07:40 UTC, Rainer Schuetze wrote: "If this is an issue, please file a bug report." Issue 20621 - Since DMD 2.087.0: 32 Bit Linux now uses XMM registers: SIGILL, Illegal instruction on intel Pentium III

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

2020-02-27 Thread Johan via Digitalmars-d-learn
On Thursday, 27 February 2020 at 18:07:40 UTC, Rainer Schuetze wrote: On 27/02/2020 11:30, kdevel wrote: On Thursday, 27 February 2020 at 07:44:57 UTC, Seb wrote: On Thursday, 27 February 2020 at 00:36:49 UTC, kdevel wrote: [...] Program received signal SIGILL, Illegal instruction.

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

2020-02-27 Thread Rainer Schuetze via Digitalmars-d-learn
On 27/02/2020 11:30, kdevel wrote: > On Thursday, 27 February 2020 at 07:44:57 UTC, Seb wrote: >> On Thursday, 27 February 2020 at 00:36:49 UTC, kdevel wrote: > > [...] > >>> Program received signal SIGILL, Illegal instruction. > > [...] > >>> Does this exception relate to [1] and shall I

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

2020-02-27 Thread kdevel via Digitalmars-d-learn
On Thursday, 27 February 2020 at 07:44:57 UTC, Seb wrote: On Thursday, 27 February 2020 at 00:36:49 UTC, kdevel wrote: [...] Program received signal SIGILL, Illegal instruction. [...] Does this exception relate to [1] and shall I file a bug or do I have to decommission my PIII? [...]

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

2020-02-26 Thread Seb via Digitalmars-d-learn
On Thursday, 27 February 2020 at 00:36:49 UTC, kdevel wrote: ```test.d void main () { int [] v = new int [10]; } ``` $ [...]linux/bin32/dmd test $ gdb test [...] (gdb) r [...] Program received signal SIGILL, Illegal instruction. 0x0809ad14 in

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

2020-02-26 Thread kdevel via Digitalmars-d-learn
```test.d void main () { int [] v = new int [10]; } ``` $ [...]linux/bin32/dmd test $ gdb test [...] (gdb) r [...] Program received signal SIGILL, Illegal instruction. 0x0809ad14 in _D2gc4impl12conservativeQw3Gcx10smallAllocMFNbkKkkxC8TypeInfoZPv () [...] (gdb) disass [...] 0x0809ad14