#47754: vigra @1.10.0_6 build fails with -Os -------------------------+------------------------------- Reporter: macports@… | Owner: benjamin.seppke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: vigra | -------------------------+------------------------------- Comment (by benjamin.seppke@…): It really is the compiler's optimization flag, which causes this error. I didn't report this behaviour upstream (either LLVM or CLang) since I didn't have any more time e.g. to find/generate a minimal error case. Moreover, I'm not even sure, if this error is solely caused by the VIGRA library because the error just occured with a new version of hdf5. So, if anyone has the time and capabilities to get deeper into this problem, feel invited :). But also be prepared that the error may - either be caused by VIGRA's hdf5 impex or - by the new hdf5 lib or - somewhere in between. And that it may take you a lot of time to generate a minimal error raising file. But it is surely linked to the compiler settings - and vanishes if you got to -O3. I also did some "google" research on this issue (libc++ and optimization level) but did not find anything comparable. -- Ticket URL: <https://trac.macports.org/ticket/47754#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X