[MacPorts] #45813: uhd undefined symbols for architecture x86_64

MacPorts noreply at macports.org
Mon Nov 24 03:06:51 PST 2014


#45813: uhd undefined symbols for architecture x86_64
---------------------+-------------------------
  Reporter:  mail@…  |      Owner:  michaelld@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.3.2
Resolution:          |   Keywords:
      Port:  uhd     |
---------------------+-------------------------

Comment (by p.ohanlon@…):

 It would appear that it may be down to some subtle compiler bug (I'm using
 /usr/bin/llvm-g++-4.2 on OSX10.7) as when I reimplemented the offending
 ternary condition using a normal if statement it compiled ok - here's my
 diff -u:
 {{{
 ---
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work
 /uhd-003_008_000/host/lib/transport/nirio/niriok_proxy_impl_v1.cpp
 2014-11-24 11:01:01.000000000 +0000
 +++
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work
 /uhd-003_008_000/host/lib/transport/nirio/niriok_proxy_impl_v1.cpp.orig
 2014-11-24 10:59:29.000000000 +0000
 @@ -285,10 +285,9 @@
         niriok_proxy_impl_v1::nirio_syncop_out_params_t out = {};

         in.function    = niriok_proxy_impl_v1::NIRIO_FUNC::ADD_RESOURCE;
 -       if (fifo_info.direction == OUTPUT_FIFO)
 -                in.subfunction =
 niriok_proxy_impl_v1::NIRIO_RESOURCE::OUTPUT_FIFO;
 -       else
 -                in.subfunction =
 niriok_proxy_impl_v1::NIRIO_RESOURCE::INPUT_FIFO;
 +       in.subfunction = (fifo_info.direction == OUTPUT_FIFO) ?
 +               niriok_proxy_impl_v1::NIRIO_RESOURCE::OUTPUT_FIFO :
 +               niriok_proxy_impl_v1::NIRIO_RESOURCE::INPUT_FIFO;

         in.params.add.fifoWithDataType.channel        = fifo_info.channel;
         in.params.add.fifoWithDataType.baseAddress    =
 fifo_info.base_addr;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45813#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list