[MacPorts] #62870: gerbil: builds failing for Big Sur ARM; undeclared identifiers for intrinsics

MacPorts noreply at macports.org
Tue May 11 16:29:40 UTC 2021


#62870: gerbil: builds failing for Big Sur ARM; undeclared identifiers  for
intrinsics
---------------------+------------------------
 Reporter:  mascguy  |      Owner:  neverpanic
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  gerbil
---------------------+------------------------
 The following compilation errors are occurring on our Big Sur ARM
 buildbot, with complaints about missing intrinsics:

 {{{
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gerbil/gerbil/work
 /gerbil-
 5a7705fe1170f812a6cd0e79a1a853f4d8aec2cf/core/multi_img/multi_img_ext.cpp:13:
 /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/mmintrin.h:33:5:
 error: use of undeclared identifier '__builtin_ia32_emms'; did you mean
 '__builtin_isless'?
     __builtin_ia32_emms();
     ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:649:12:
 note: '__builtin_isless' declared here
     return isless(__lcpp_x, __lcpp_y);
            ^
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/math.h:545:22:
 note: expanded from macro 'isless'
 #define isless(x, y) __builtin_isless((x),(y))
                      ^
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gerbil/gerbil/work
 /gerbil-
 5a7705fe1170f812a6cd0e79a1a853f4d8aec2cf/core/multi_img/multi_img_ext.cpp:13:
 /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/mmintrin.h:33:25:
 error: too few arguments to function call, expected 2, have 0
     __builtin_ia32_emms();
                         ^
 /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/mmintrin.h:50:19:
 error: use of undeclared identifier '__builtin_ia32_vec_init_v2si'
     return (__m64)__builtin_ia32_vec_init_v2si(__i, 0);
                   ^
 /Library/Developer/CommandLineTools/usr/lib/clang/12.0.5/include/mmintrin.h:67:12:
 error: use of undeclared identifier '__builtin_ia32_vec_ext_v2si'
     return __builtin_ia32_vec_ext_v2si((__v2si)__m, 0);
            ^

 [...etc, etc...]

 }}}

 Full log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/62870>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list