[MacPorts] #55857: boost @1.66.0_0 +universal has no i386 symbols

MacPorts noreply at macports.org
Mon Feb 26 05:40:41 UTC 2018


#55857: boost @1.66.0_0 +universal has no i386 symbols
-----------------------+---------------------------
  Reporter:  devernay  |      Owner:  ryandesign
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  fixed     |   Keywords:  i386 haspatch
      Port:  boost     |
-----------------------+---------------------------

Comment (by ryandesign):

 Replying to [comment:18 kencu]:
 > boost is rebuilding, but I'm not seeing any -arch flags in the *.cpp
 files ...
 > {{{
 >     "/opt/local/bin/clang++-mp-3.7"   -Os -stdlib=libc++  -stdlib=libc++
 -O3 -Wall -dynamic -gdwarf-2 -fexceptions -Wno-inline -fPIC -m64
 -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED
 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"bin.v2/libs/math/build/darwin-
 darwin-4.2.1/release/threadapi-pthread/threading-multi/../src/tr1" -I"."
 -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/darwin-
 darwin-4.2.1/release/threadapi-pthread/threading-multi/nextafterl.o"
 "libs/math/build/../src/tr1/nextafterl.cpp"
 > }}}

 But note that `-m64` ''does'' appear. I assumed that this and the other
 few compiler invocations that use `-m64` but not `-arch` flags are used at
 build time only and are not installed.

 I confirmed before committing that the universal build worked correctly
 (i.e. other universal ports that use boost that had failed to build before
 the change due to undefined i386 symbols now build successfully).

--
Ticket URL: <https://trac.macports.org/ticket/55857#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list