<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2 Sep 2018, at 9:10 pm, Riccardo Mottola via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hi Ken,<br class="">
</p>
<br class="">
<div class="moz-cite-prefix">On 09/02/18 16:55, Ken Cunningham
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:0112872F-F0F8-4C76-ADD5-D06D6CF530CE@gmail.com" class=""> <span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">usr/bin/gcc-4.2 -Os -std=gnu99 -Os -DLTO_SUPPORT -g -I../../include -Wall -D_MACH_I386_THREAD_STATUS_FPSTATE_LEGACY_FIELD_NAMES_ -D_ARCHITECTURE_I386_FPU_FPSTATE_LEGACY_FIELD_NAMES_ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/../ld64-274.1/src/abstraction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/../ld64-274.1/src/other -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cctools/cctools/work/cctools-895/include -arch x86_64 -arch i386 -I/opt/local/libexec/llvm-3.9/include -pipe -Os -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Werror=date-time -DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -o ./allocate.o ../allocate.c</span>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I just rebuilt cctools on a vanilla 10.6.8 VM, and it built
fine.</div>
<div class=""><br class="">
</div>
<div class="">Your build error occurred because you're trying to force a
build against the llvm-3.9 headers with the ancient gcc-4.2, and
it just can't. </div>
<div class=""><br class="">
</div>
<div class="">gcc-4.2 can build against the llvm-3.4 headers (as it is set
up to do by default), but I don't know if it can build against
any other headers. My guess is no, but only Jeremy might have
tried others.</div>
<div class=""><br class="">
</div>
<div class="">If you really want to build cctools against the llvm-3.9
headers on 10.6.8 (not sure why, but just sayin'), you can do
that if you force a newer compiler like clang-3.9.</div>
<div class=""><br class="">
</div>
<div class="">You would type something like this:</div>
<div class=""><br class="">
</div>
<div class="">sudo port -v install cctools +llvm39
configure.compiler=macports-clang-3.9</div>
<div class=""><br class="">
</div>
<div class="">Note - you would probably then be the only person on Earth
with this configuration of cctools on 10.6.8. Who knows what
kind of problems you might run into that nobody could figure
out?</div>
</blockquote>
<br class="">
I did not "force" this configuration at all - I am just upgrading,
so port selected this heade/compiler combination by itself!<br class=""></div></div></blockquote><div><br class=""></div><div>Upgrade just respects any previous options you applied, so at some point you must have selected these options.</div><div><br class=""></div><div>Try</div><div><br class=""></div><div>> sudo port -f uninstall cctools</div><div><br class=""></div><div>> sudo port install cctools</div><div><br class=""></div><div>That should reinstall it with the default options. If you have issues you should then look in your global macports config files etc. to see if you have changed anything there from the standard defaults.</div><div><br class=""></div><div>Chris</div><br class=""><blockquote type="cite" class=""><div class=""><div text="#000000" bgcolor="#FFFFFF" class="">
<br class="">
Riccardo<br class="">
</div>
<span id="cid:6899BE0A-55AF-42F8-B960-DCDF1F7A0900"><pEpkey.asc></span></div></blockquote></div><br class=""></body></html>