[MacPorts] #66006: Boost universal variant broken for GCC

MacPorts noreply at macports.org
Sun Oct 16 20:43:28 UTC 2022


#66006: Boost universal variant broken for GCC
-------------------------------------+----------------------
 Reporter:  barracuda156             |      Owner:  mascguy
     Type:  defect                   |     Status:  assigned
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:
 Keywords:  powerpc, leopard, ppc64  |       Port:  boost
-------------------------------------+----------------------
 The current realization of universal variant of Boost is broken with GCC.
 Since it requires newer GCC than Apple, `muniversal` PG has to be used (at
 least for GCC builds). However even adding PG does not help, single
 configure done (for ppc), and double archs are passed on command line,
 which obviously cannot work. Like this:
 {{{
     "/opt/local/bin/g++-mp-11"   -fvisibility-inlines-hidden -Os
 -std=gnu++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -arch ppc64  -fPIC -O3
 -Wall -fvisibility=hidden -dynamic -gdwarf-2 -fexceptions -Wno-inline
 -ftemplate-depth-255 -fvisibility=hidden -fvisibility-inlines-hidden
 -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG  -I"."  -c
 -o "bin.v2/libs/serialization/build/darwin-11.3.0/release/address-model-
 32_64/pch-off/threading-multi/visibility-hidden/basic_iarchive.o"
 "libs/serialization/src/basic_iarchive.cpp"

 g++-mp-11: warning: ppc64 conflicts with ppc (arch flags ignored)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66006>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list