Looks to me like cctools shouldn't have to be universal even if some of the compilers are: myeye:~ root# port -v installed cctools clang-3.9 The following ports are currently installed: cctools @895_7+llvm39-llvm34 (active) platform='darwin 10' archs='x86_64' date='2018-08-21T02:06:15-0400' clang-3.9 @3.9.1_8+analyzer+libstdcxx+universal (active) platform='darwin 10' archs='i386 x86_64' date='2017-11-27T03:58:44-0500'
> On Sep 2, 2018, at 16:47, Ken Cunningham <[email protected]> > wrote: > > > On 2018-09-02, at 2:49 PM, Riccardo Mottola wrote: > >> Hi, >> >> >> On 09/02/18 17:08, Ken Cunningham wrote: >>> As part of the LibcxxOnOlderSystems instructions, you can (must) build >>> cctools against newer llvm headers, but forcing the build with clang-3.4: >>> >>> cctools @895_7+llvm39+universal-llvm34 (active) platform='darwin 10' >>> archs='i386 x86_64' date='2018-08-19T19:49:33-0700' >> >> I tried thus >> >> sudo port -v install cctools +llvm39 configure.compiler=macports-clang-3.4 >> >> but this can't because llvm39 variant conflicts with llvm34. > > Right. To see what you have installed already, do this: > > port -v installed cctools > > It probably will come back as: > > cctools +llvm34 > > but you never know what it might be by now. Somehow it was +llvm39 before, > which failed to build with gcc-4.2 (your original question). > > To see what the defaults for the port might be, do this: > > port info cctools > > and it will show you the default variants with "+" signs that it plans to > install. > > To FORCE something, you add the variant you want, and you may have to turn > off the default variant if it conflicts. > > so you would do: > > sudo port -v install cctools +llvm39 -llvm34 > configure.compiler=macports-clang-3.4 > > or perhaps clang-3.7 or newer might be needed. > > > Ken > > > >
signature.asc
Description: Message signed with OpenPGP
