Changes between Initial Version and Version 1 of Ticket #67590


Ignore:
Timestamp:
Jun 7, 2023, 10:46:43 PM (17 months ago)
Author:
mascguy (Christopher Nielsen)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #67590

    • Property Keywords lion mountainlion added
    • Property Summary changed from openexr now broken with GCC due to cmath issue: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'? to openexr @3.1.8: build failures: 10.8 and earlier (unknown type name 'dispatch_semaphore_t'); ppc/gcc: ('isnan' was not declared in this scope)
  • Ticket #67590 – Description

    initial v1  
    1 Could we do something about this, please?
     1For Intel, 10.8 and earlier:
    22
    33{{{
    4 :info:build [ 66%] Building CXX object src/test/OpenEXRTest/CMakeFiles/OpenEXRTest.dir/compareDwa.cpp.o
    5 :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/src/test/OpenEXRTest && /opt/local/bin/g++-mp-12 -DILM_IMF_TEST_IMAGEDIR=\"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/test/OpenEXRTest/\" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/src/test/OpenEXRTest -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/test/OpenEXRTest -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/OpenEXR -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/cmake -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/Iex -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/IlmThread -isystem /opt/local/include -isystem /opt/local/include/Imath -pipe -Os -D__STDC_FORMAT_MACROS -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -MD -MT src/test/OpenEXRTest/CMakeFiles/OpenEXRTest.dir/compareDwa.cpp.o -MF CMakeFiles/OpenEXRTest.dir/compareDwa.cpp.o.d -o CMakeFiles/OpenEXRTest.dir/compareDwa.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/test/OpenEXRTest/compareDwa.cpp
    6 :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/test/OpenEXRCoreTest/compression.cpp: In function 'bool withinDWAErrorBounds(uint16_t, uint16_t)':
    7 :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/test/OpenEXRCoreTest/compression.cpp:162:10: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
    8 :info:build   162 |     if (!isnan (a1))
    9 :info:build       |          ^~~~~
    10 :info:build       |          std::isnan
    11 :info:build In file included from /opt/local/include/LegacySupport/cmath:54,
    12 :info:build                  from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/test/OpenEXRCoreTest/compression.cpp:26:
    13 :info:build /opt/local/include/gcc12/c++/cmath:632:5: note: 'std::isnan' declared here
    14 :info:build   632 |     isnan(_Tp __x)
    15 :info:build       |     ^~~~~
    16 :info:build [ 66%] Building CXX object src/examples/CMakeFiles/OpenEXRExamples.dir/main.cpp.o
    17 :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/src/examples && /opt/local/bin/g++-mp-12  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/src/examples -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/examples -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/OpenEXR -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/cmake -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/Iex -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/IlmThread -isystem /opt/local/include -isystem /opt/local/include/Imath -pipe -Os -D__STDC_FORMAT_MACROS -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -MD -MT src/examples/CMakeFiles/OpenEXRExamples.dir/main.cpp.o -MF CMakeFiles/OpenEXRExamples.dir/main.cpp.o.d -o CMakeFiles/OpenEXRExamples.dir/main.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/examples/main.cpp
    18 :info:build [ 66%] Building CXX object src/bin/exrenvmap/CMakeFiles/exrenvmap.dir/readInputImage.cpp.o
    19 :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/src/bin/exrenvmap && /opt/local/bin/g++-mp-12  -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/src/bin/exrenvmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/bin/exrenvmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/OpenEXR -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build/cmake -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/Iex -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/lib/IlmThread -isystem /opt/local/include -isystem /opt/local/include/Imath -pipe -Os -D__STDC_FORMAT_MACROS -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -mmacosx-version-min=10.6 -MD -MT src/bin/exrenvmap/CMakeFiles/exrenvmap.dir/readInputImage.cpp.o -MF CMakeFiles/exrenvmap.dir/readInputImage.cpp.o.d -o CMakeFiles/exrenvmap.dir/readInputImage.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/openexr-3.1.8/src/bin/exrenvmap/readInputImage.cpp
    20 :info:build make[2]: *** [src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/compression.cpp.o] Error 1
    21 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_openexr/openexr/work/build'
    22 :info:build make[1]: *** [src/test/OpenEXRCoreTest/CMakeFiles/OpenEXRCoreTest.dir/all] Error 2
    23 :info:build make[1]: *** Waiting for unfinished jobs....
     4work/openexr-3.1.8/src/lib/IlmThread/IlmThreadSemaphore.h:64:13: error: unknown type name 'dispatch_semaphore_t'
     5}}}
     6
     7For PPC, 10.5/10.6:
     8
     9{{{
     10work/openexr-3.1.8/src/test/OpenEXRCoreTest/compression.cpp:162:10: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
    2411}}}
    2512