[MacPorts] #54552: LLVM Issue [ Cannot select: intrinsic %llvm.x86.sse.cvtpi2ps ] when installing volk

MacPorts noreply at macports.org
Wed Aug 2 13:10:52 UTC 2017


#54552: LLVM Issue [ Cannot select: intrinsic %llvm.x86.sse.cvtpi2ps ] when
installing volk
---------------------+-----------------------
  Reporter:  har5ha  |      Owner:  michaelld
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.1
Resolution:          |   Keywords:  lion
      Port:  volk    |
---------------------+-----------------------

Comment (by kencu):

 hmm. I got a different error on 10.7:
 {{{
 [ 91%] Linking C shared library libvolk.dylib
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build/lib
 && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/volk.dir/link.txt
 --verbose=ON
 /usr/bin/clang -pipe -Os -Wall -fvisibility=hidden -DNDEBUG -arch x86_64
 -mmacosx-version-min=10.7 -dynamiclib -Wl,-headerpad_max_install_names
 -Wl,-headerpad_max_install_names -compatibility_version 1.3.0 -o
 libvolk.1.3.dylib -install_name /opt/local/lib/libvolk.1.3.dylib
 CMakeFiles/volk_obj.dir/volk_16ic_deinterleave_16i_x2_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_16ic_deinterleave_real_8i_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_16ic_magnitude_16i_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_16ic_s32f_deinterleave_32f_x2_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_16sc_magnitude_32f_aligned16_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_16u_byteswap_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_s32f_multiply_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_s32f_normalize_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_sqrt_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_add_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_divide_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_dot_prod_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_max_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_min_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_multiply_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32f_x2_subtract_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32fc_32f_multiply_32fc_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32fc_magnitude_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32fc_s32f_magnitude_16i_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32fc_s32fc_multiply_32fc_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32fc_x2_multiply_32fc_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32i_x2_and_32i_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_32i_x2_or_32i_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_8i_convert_16i_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/volk_8i_s32f_convert_32f_a_orc_impl.c.o
 CMakeFiles/volk_obj.dir/constants.c.o
 CMakeFiles/volk_obj.dir/volk_prefs.c.o
 CMakeFiles/volk_obj.dir/volk_rank_archs.c.o
 CMakeFiles/volk_obj.dir/volk_malloc.c.o CMakeFiles/volk_obj.dir/volk.c.o
 CMakeFiles/volk_obj.dir/volk_cpu.c.o
 CMakeFiles/volk_obj.dir/volk_machines.c.o
 CMakeFiles/volk_obj.dir/volk_machine_generic_orc.c.o
 CMakeFiles/volk_obj.dir/volk_machine_sse2_64_mmx_orc.c.o
 CMakeFiles/volk_obj.dir/volk_machine_sse3_64_mmx_orc.c.o
 CMakeFiles/volk_obj.dir/volk_machine_ssse3_64_mmx_orc.c.o
 CMakeFiles/volk_obj.dir/volk_machine_sse4_a_64_mmx_orc.c.o
 CMakeFiles/volk_obj.dir/volk_machine_sse4_1_64_mmx_orc.c.o
 CMakeFiles/volk_obj.dir/volk_machine_sse4_2_64_mmx_orc.c.o
 -Wl,-rpath,/opt/local/lib /opt/local/lib/liborc-0.4.dylib
 Undefined symbols for architecture x86_64:
   "___cpuid_count", referenced from:
       _i_can_has_avx2 in volk_cpu.c.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[2]: *** [lib/libvolk.1.3.dylib] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build'
 make[1]: *** [lib/CMakeFiles/volk.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/work/build"
 && /usr/bin/make -j2 -w all VERBOSE=ON
 Exit code: 2
 Error: Failed to build volk: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_volk/volk/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port volk failed
 }}}

 which was fixed by adding:
 {{{
 PortGroup cxx11 1.1
 }}}

 which resulted in build success:
 {{{
 $ port -v installed volk
 The following ports are currently installed:
   volk @1.3_0+docs+orc (active) platform='darwin 11' archs='x86_64'
 date='2017-08-02T15:08:26+0200'
 }}}

 There were a lot of warnings. I'll put up the build log for you.

--
Ticket URL: <https://trac.macports.org/ticket/54552#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list