[MacPorts] #67756: lpcnetfreedv uses Intel flags on PPC: cc1: error: unrecognized command line option "-mavx"

MacPorts noreply at macports.org
Sun Jul 16 22:48:34 UTC 2023


#67756: lpcnetfreedv uses Intel flags on PPC: cc1: error: unrecognized command line
option "-mavx"
--------------------------+--------------------------
 Reporter:  barracuda156  |      Owner:  ra1nb0w
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  powerpc       |       Port:  lpcnetfreedv
--------------------------+--------------------------
 This cannot possibly work:
 {{{
 [  1%] Building C object src/CMakeFiles/lpcnetfreedv.dir/freq.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/build/src
 && /usr/bin/gcc-4.2 -DGIT_HASH=\"None\" -Dlpcnetfreedv_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/LPCNet-0.5/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/build/_deps
 /lpcnet-src -Wall -W -Wextra -Wno-unused-function -O3 -g -I. -MD -pipe -Os
 -DNDEBUG -I/opt/local/include -DENABLE_ASSERTIONS -arch ppc -mmacosx-
 version-min=10.6 -fPIC -mavx -MD -MT
 src/CMakeFiles/lpcnetfreedv.dir/freq.c.o -MF
 CMakeFiles/lpcnetfreedv.dir/freq.c.o.d -o
 CMakeFiles/lpcnetfreedv.dir/freq.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/LPCNet-0.5/src/freq.c
 [  3%] Building C object src/CMakeFiles/ramp.dir/ramp.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/build/src
 && /usr/bin/gcc-4.2 -DGIT_HASH=\"None\"
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/LPCNet-0.5/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/build/_deps
 /lpcnet-src -Wall -W -Wextra -Wno-unused-function -O3 -g -I. -MD -pipe -Os
 -DNDEBUG -I/opt/local/include -DENABLE_ASSERTIONS -arch ppc -mmacosx-
 version-min=10.6 -MD -MT src/CMakeFiles/ramp.dir/ramp.c.o -MF
 CMakeFiles/ramp.dir/ramp.c.o.d -o CMakeFiles/ramp.dir/ramp.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_lpcnetfreedv/lpcnetfreedv/work/LPCNet-0.5/src/ramp.c
 cc1: error: unrecognized command line option "-mavx"
 }}}

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


More information about the macports-tickets mailing list