[MacPorts] #67773: mosh at 1.4.0: numerous C++ compilation errors on 10.5.8 PPC (when building with nonstandard gcc12 compiler)

MacPorts noreply at macports.org
Fri Jul 21 06:04:39 UTC 2023


#67773: mosh at 1.4.0: numerous C++ compilation errors on 10.5.8 PPC (when building
with nonstandard gcc12 compiler)
-----------------------+--------------------
  Reporter:  acjones8  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  ppc
      Port:  mosh      |
-----------------------+--------------------

Comment (by kencu):

 I manually turned on Altivec with Rosetta like this
 {{{
 configure.cppflags-append -D__ALTIVEC__
 }}}

 and it builds through too...
 {{{
 Making all in crypto
 make[3]: Entering directory
 `/opt/localppc/var/macports/build/_opt_localppc_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mosh/mosh/work/mosh-1.4.0/src/crypto'
 /opt/localppc/bin/g++-mp-7 -std=gnu++11 -DHAVE_CONFIG_H -I.
 -I../../src/include  -I./../util -I/opt/localppc/libexec/openssl3/include
 -I/opt/localppc/include -DGOOGLE_PROTOBUF_NO_THREADLOCAL -D__ALTIVEC__
 -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all
 -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline
 -pipe  -pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MT
 ocb_internal.o -MD -MP -MF .deps/ocb_internal.Tpo -c -o ocb_internal.o
 ocb_internal.cc
 /opt/localppc/bin/g++-mp-7 -std=gnu++11 -DHAVE_CONFIG_H -I.
 -I../../src/include  -I./../util -I/opt/localppc/libexec/openssl3/include
 -I/opt/localppc/include -DGOOGLE_PROTOBUF_NO_THREADLOCAL -D__ALTIVEC__
 -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all
 -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline
 -pipe  -pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MT
 base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.cc
 /opt/localppc/bin/g++-mp-7 -std=gnu++11 -DHAVE_CONFIG_H -I.
 -I../../src/include  -I./../util -I/opt/localppc/libexec/openssl3/include
 -I/opt/localppc/include -DGOOGLE_PROTOBUF_NO_THREADLOCAL -D__ALTIVEC__
 -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all
 -Wstack-protector --param ssp-buffer-size=1 -fPIE -fno-default-inline
 -pipe  -pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -MT
 crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.cc
 mv -f .deps/base64.Tpo .deps/base64.Po
 mv -f .deps/ocb_internal.Tpo .deps/ocb_internal.Po
 mv -f .deps/crypto.Tpo .deps/crypto.Po
 rm -f libmoshcrypto.a
 ar cru libmoshcrypto.a  ocb_internal.o base64.o crypto.o
 ranlib libmoshcrypto.a
 }}}

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


More information about the macports-tickets mailing list