<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">El 29 jul 2016, a las 16:45, Lawrence Velázquez &lt;<a href="mailto:larryv@macports.org" class="">larryv@macports.org</a>&gt; escribió:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><blockquote type="cite" class="">On Jul 29, 2016, at 1:35 AM, Ken Cunningham</blockquote><blockquote type="cite" class="">&lt;<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>&gt; wrote:</blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class="">Hi,</blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class="">There are many here smarter than me, but it would see your error is</blockquote><blockquote type="cite" class="">here:</blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class=""></blockquote><blockquote type="cite" class=""><blockquote type="cite" class="">/opt/local/bin/clang++-mp-3.3 &nbsp; -pipe -Os -stdlib=libc++ &nbsp; -arch i386 -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names &nbsp;-L/opt/local/lib -Wl,-headerpad_max_install_names &nbsp;CMakeFiles/cmTC_70577.dir/testCXXCompiler.cxx.o &nbsp;-o cmTC_70577 &nbsp;</blockquote><blockquote type="cite" class="">ld: warning: ignoring file /usr/lib/libc++.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /usr/lib/libc++.dylib</blockquote><span id="x-apple-selection:end" class=""></span></blockquote><blockquote type="cite" class=""><br class=""></blockquote><blockquote type="cite" class="">You're building for -arch i386, but your libc++.dylib does not have</blockquote><blockquote type="cite" class="">that architecture (it's likely going to be x64_86) -- So somewhere</blockquote><blockquote type="cite" class="">( probably in your macports.conf file, I would think) your</blockquote><blockquote type="cite" class="">architecture is not set correctly.</blockquote><div class=""><br class=""></div><div class="">The libomp port is being installed +universal. Since it uses the muniversal-1.0 portgroup, MacPorts builds it for each architecture separately, then lipo(1)s everything together at the end.</div><div class=""><br class=""></div><div class="">The problem is that the i386 build is trying to link to libc++, which in your case appears to be provided by libcxx. But libomp does not declare a dependency on libcxx, so MacPorts did not attempt to rebuild libcxx +universal. You may have to do this yourself.</div><div class=""><br class=""></div><div class="">vq</div></div></div></blockquote></div><br class=""><div class="">So should I rebuild libcxx +universal variant first before performing Step 4 of the LibcxxOnOlderSystems?</div><div class=""><br class=""></div><div class="">P</div></body></html>