<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">For the architectures, I have this in macports.conf:<div><br></div><div><div><font class="Apple-style-span" face="Courier"># CPU architecture to target. Supported values are "ppc", "ppc64",</font></div><div><font class="Apple-style-span" face="Courier"># "i386", and "x86_64". Defaults to:</font></div><div><font class="Apple-style-span" face="Courier"># - OS X 10.5 and earlier: "ppc" on PowerPC, otherwise "i386".</font></div><div><font class="Apple-style-span" face="Courier"># - OS X 10.6 and later: "x86_64" on Intel 64, otherwise "i386".</font></div><div><font class="Apple-style-span" face="Courier">#build_arch &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; i386</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier"># Space-delimited list of CPU architectures to target when building</font></div><div><font class="Apple-style-span" face="Courier"># universal. Defaults to "i386 ppc" on OS X 10.5 and earlier and</font></div><div><font class="Apple-style-span" face="Courier"># "x86_64 i386" on OS X 10.6 and later.</font></div><div><font class="Apple-style-span" face="Courier">universal_archs &nbsp; &nbsp; &nbsp; &nbsp; x86_64 i386</font></div></div><div><br></div><div><br></div><div>It looks like it will build both arcvhitectures, but i386 is not available for one of them?</div><div><br></div><div><br></div><div><br></div><div><br><div><div>El 2016-07-29, a las 01:35, Ken Cunningham escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>There are many here smarter than me, but it would see your error is here:</div><div><br></div><div><ol class="text" style="color: rgb(172, 172, 172); background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 55px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px; line-height: 24px; -webkit-text-size-adjust: none; "><li class="li1" style="-webkit-user-select: none; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: -6px; background-position: initial initial; background-repeat: initial initial; "><div class="de1" style="-webkit-user-select: text; padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; vertical-align: top; color: rgb(51, 51, 51); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: -7px; position: relative; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; background-position: initial initial; background-repeat: initial initial; ">/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;</div></li><li class="li1" style="-webkit-user-select: none; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: -6px; background-position: initial initial; background-repeat: initial initial; "><div class="de1" style="-webkit-user-select: text; padding-top: 0px; padding-right: 8px; padding-bottom: 0px; padding-left: 8px; vertical-align: top; color: rgb(51, 51, 51); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: -7px; position: relative; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif; background-position: initial initial; background-repeat: initial initial; ">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</div></li><li class="li1" style="-webkit-user-select: none; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 255); margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: -6px; background-position: initial initial; background-repeat: initial initial; "></li></ol></div><div><br></div><div><br></div><div>You're building for -arch i386, but your libc++.dylib does not have that architecture (it's likely going to be x64_86) -- So somewhere ( probably in your macports.conf file, I would think) your architecture is not set correctly.</div><div><br></div><div>Also - I built everything using clang-3.4 as per the instructions:</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; "><pre class="wiki" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(247, 247, 247); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(215, 215, 215); border-right-color: rgb(215, 215, 215); border-bottom-color: rgb(215, 215, 215); border-left-color: rgb(215, 215, 215); margin-top: 1em; margin-right: 1.75em; margin-bottom: 1em; margin-left: 1.75em; padding-top: 0.25em; padding-right: 0.25em; padding-bottom: 0.25em; padding-left: 0.25em; overflow-x: auto; overflow-y: auto; background-position: initial initial; background-repeat: initial initial; ">sudo port -v -f deactivate active
sudo port -v install clang-3.4 ld64 cctools libcxx</pre></span><div>but somehow you seem to be using clang-3.3 .... so something is not quite right there.</div></div><div><br></div><div>Best,</div><div><br></div><div>Ken</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On 2016-07-28, at 10:19 PM, [ftp83plus] wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Ken,&nbsp;<div><br></div><div>I am currently attempting the Install&nbsp;<a href="https://trac.macports.org/wiki/LibcxxOnOlderSystems">Libcxx on Older Systems procedure</a>&nbsp;as it was how you solved it.&nbsp;</div><div><br></div><div>However, it fails at step 4 after hours trying to compile:</div><div><blockquote type="cite"><div><font class="Apple-style-span">-- Configuring incomplete, errors occurred!</font></div><div><font class="Apple-style-span">See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_libomp/libomp/work/build-i386/CMakeFiles/CMakeOutput.log".</font></div><div><font class="Apple-style-span">Command failed: &nbsp;cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_libomp/libomp/work/build-i386" &amp;&amp; /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local/tmp -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DCMAKE_INSTALL_RPATH=/opt/local/lib/libomp -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib/libomp -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" -DCMAKE_OSX_ARCHITECTURES=i386 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_libomp/libomp/work/openmp-381/rc1/runtime&nbsp;</font></div><div><font class="Apple-style-span">Exit code: 1</font></div><div><font class="Apple-style-span">Error: org.macports.configure for port libomp returned: configure failure: command execution failed</font></div><div><font class="Apple-style-span">Warning: targets not executed for libomp: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install</font></div><div><font class="Apple-style-span">Error: Failed to install libomp</font></div><div><font class="Apple-style-span">Please see the log file for port libomp for details:</font></div><div><font class="Apple-style-span">&nbsp; &nbsp; /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_libomp/libomp/main.log</font></div><div><font class="Apple-style-span">Error: The following dependencies were not installed: libomp llvm-3.8</font></div><div><font class="Apple-style-span">To report a bug, follow the instructions in the guide:</font></div><div><font class="Apple-style-span">&nbsp; &nbsp; <a href="http://guide.macports.org/#project.tickets">http://guide.macports.org/#project.tickets</a></font></div><div><font class="Apple-style-span">Error: Processing of port clang-3.8 failed</font></div></blockquote></div><div><br></div><div>Should I open a new topic for this particular error?</div><div>CMakeOutput.log:&nbsp;<a href="http://pastebin.com/f1XYZXcF">http://pastebin.com/f1XYZXcF</a></div><div>main.log:&nbsp;<a href="http://pastebin.com/5ZPVKug4">http://pastebin.com/5ZPVKug4</a></div><div><br></div><div>Pat</div><div><br></div><div><br><div><div>El 2016-07-28, a las 13:57, Ken Cunningham escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>I had what appears to be the identical problem a week ago, reported with tickets at Macports and <a href="http://LLVM.org/">LLVM.org</a>.<br>Solved as described in the macports ticket.<br><br>Thanks,,<br>Ken<br><br><br><br>Please see:<br><br>&lt;<a href="https://trac.macports.org/ticket/51864">https://trac.macports.org/ticket/51864</a>&gt;<br><br>and<br><br>&lt;<a href="https://llvm.org/bugs/show_bug.cgi?id=28592">https://llvm.org/bugs/show_bug.cgi?id=28592</a>&gt;<br><br><br>_______________________________________________<br>macports-users mailing list<br><a href="mailto:macports-users@lists.macosforge.org">macports-users@lists.macosforge.org</a><br><a href="https://lists.macosforge.org/mailman/listinfo/macports-users">https://lists.macosforge.org/mailman/listinfo/macports-users</a><br></div></blockquote></div><br></div></div></blockquote></div><br></div></div></blockquote></div><br></div></body></html>