www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18603] New: Illegal instruction: 4 on Mac OS 10.7.5 Leopard

https://issues.dlang.org/show_bug.cgi?id=18603

          Issue ID: 18603
           Summary: Illegal instruction: 4 on Mac OS 10.7.5 Leopard
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: ssb22 cam.ac.uk

After downloading version 2.079.0 of the Mac OS DMG file on a Mac OS 10.7.5
system, the installer runs OK but the files it leaves in /usr/local/bin (e.g.
dmd or dub) all say "Illegal instruction: 4" when you try to run them.  This is
despite the fact that the installer says it aims at Mac OS 10.6 or above.

I suspect the files have been compiled with a Mac complier that targets a
minimum version of Mac OS higher than 10.7 (perhaps 10.9 or higher?) - if this
cannot be fixed, perhaps the minimum Mac OS requirement needs to be updated? 
Thanks.

(Filing against Installer because I'm not sure which component this should be
filed against.  Hopefully it's easy to reassign if necessary.)

--
Mar 12 2018