[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 05:54:25 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 just tried to build mosh on 10.5 Intel running rosetta and it built
 through without trouble, although I see altivec was not enabled:
 {{{
 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 -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 -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 -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:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list