#67756 closed defect (fixed)

lpcnetfreedv uses Intel flags on PPC: cc1: error: unrecognized command line option "-mavx"

Reported by: barracuda156 Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: powerpc Cc:
Port: lpcnetfreedv

Description

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"

Change History (2)

comment:1 Changed 16 months ago by barracuda156

I will fix this anyway.

comment:2 Changed 16 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 427cef04c73e26de03c96764e7737c19677589d8/macports-ports (master):

lpcnetfreedv: unbreak build on PPC, support optimizations

Fixes: #67756

Note: See TracTickets for help on using tickets.