SimulationTools / h5mma

GNU Lesser General Public License v2.1
0 stars 0 forks source link

Mac OS binary does not work on Mac OS 10.7 #7

Closed barrywardell closed 2 years ago

barrywardell commented 2 years ago

Philipp Mösta reports that the currently-released h5mma Mac OS binary reports:

Illegal instruction: 4

when run from the terminal on Mac OS 10.7.5. This is apparently due to features introduced for newer versions of the OS (http://stackoverflow.com/questions/14268887/what-is-the-illegal-instruction-4-error-and-why-does-mmacosx-version-min-10). Compiling a new binary (on Mac OS 10.8.5) with -mmacosx-version-min=10.5 in CFLAGS results in a segfault when run on 10.7.5. Philipp resolved his problem by upgrading his OS to 10.9. If we can't get a working executable, we should probably blacklist 10.7 for h5mma. See also #6, which this issue triggers.

Imported from: BitBucket Issue #7 Original date: 2013-11-22 Original creator: Ian Hinder

barrywardell commented 2 years ago

This is possibly not such a huge issue given that Apple is pretty aggressive about upgrading OS versions and 10.9 is free. At the same time, I agree it would be nice to support older versions if possible.

Could the segfault be coming from the fact that the static HDF5 library wasn't compiled with the --mmacosx-version-min flag? Do we have any machines with 10.7 to test on?

Original date: 2013-11-22 Original author: Barry Wardell

barrywardell commented 2 years ago

I agree; but if it's an easy fix we should do it. Yes, I thought the same about HDF5. I don't have a 10.7 machine.

Original date: 2013-11-22 Original author: Ian Hinder

barrywardell commented 2 years ago

Closing as 10.7 is old now; please reopen if you find someone using it and running into this problem.

Original date: 2015-02-26 Original author: Ian Hinder

barrywardell commented 2 years ago

This was fixed in master several months ago. The fix is included in the 1.2.0 release.

Original date: 2015-02-26 Original author: Barry Wardell