Opened 3 hours ago
#71326 assigned defect
aircrack-ng fails to build, picking wrong SIMD
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.4 |
Keywords: | powerpc | Cc: | |
Port: | aircrack-ng |
Description
The port tries to use wrong SIMD:
:info:build libtool: compile: ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/include -I/opt/local/include -finline-functions -finline-limit=4000 -fno-strict-aliasing -maltivec -mabi=altivec -mvsx -mpower8-vector -DSIMD_CORE -DHAS_ALTIVEC=1 -DJOHN_ALTIVEC -pthread -Wall -O3 -std=gnu99 -fcommon -Wstrict-overflow=2 -fvisibility=hidden -pipe -Os -arch ppc -MT lib/ce-wpa/libaircrack_ce_wpa_ppc_altivec_la-crypto_engine.lo -MD -MP -MF lib/ce-wpa/.deps/libaircrack_ce_wpa_ppc_altivec_la-crypto_engine.Tpo -c lib/ce-wpa/crypto_engine.c -fno-common -DPIC -o lib/ce-wpa/.libs/libaircrack_ce_wpa_ppc_altivec_la-crypto_engine.o :info:build libtool: compile: ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/include -I/opt/local/include -finline-functions -finline-limit=4000 -fno-strict-aliasing -maltivec -mabi=altivec -mvsx -mpower8-vector -DSIMD_CORE -DHAS_ALTIVEC=1 -DJOHN_ALTIVEC -pthread -Wall -O3 -std=gnu99 -fcommon -Wstrict-overflow=2 -fvisibility=hidden -pipe -Os -arch ppc -MT lib/ce-wpa/libaircrack_ce_wpa_ppc_altivec_la-memory.lo -MD -MP -MF lib/ce-wpa/.deps/libaircrack_ce_wpa_ppc_altivec_la-memory.Tpo -c lib/ce-wpa/memory.c -fno-common -DPIC -o lib/ce-wpa/.libs/libaircrack_ce_wpa_ppc_altivec_la-memory.o :info:build gcc-mp-14: warning: switch '-mpower8-vector' is no longer supported :info:build libtool: compile: ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/include -I/opt/local/include -finline-functions -finline-limit=4000 -fno-strict-aliasing -maltivec -mabi=altivec -mvsx -mpower8-vector -DSIMD_CORE -DHAS_ALTIVEC=1 -DJOHN_ALTIVEC -pthread -Wall -O3 -std=gnu99 -fcommon -Wstrict-overflow=2 -fvisibility=hidden -pipe -Os -arch ppc -MT lib/ce-wpa/libaircrack_ce_wpa_ppc_altivec_la-simd-intrinsics.lo -MD -MP -MF lib/ce-wpa/.deps/libaircrack_ce_wpa_ppc_altivec_la-simd-intrinsics.Tpo -c lib/ce-wpa/simd-intrinsics.c -fno-common -DPIC -o lib/ce-wpa/.libs/libaircrack_ce_wpa_ppc_altivec_la-simd-intrinsics.o :info:build mv -f src/airbase-ng/.deps/airbase_ng-airbase-ng.Tpo src/airbase-ng/.deps/airbase_ng-airbase-ng.Po :info:build /bin/sh ./libtool --tag=CC --mode=compile ccache /opt/local/bin/gcc-mp-14 -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/lib/radiotap -I/opt/local/include -isystem/opt/local/include/LegacySupport -I/opt/local/include -I/opt/local/include -finline-functions -finline-limit=4000 -fno-strict-aliasing -maltivec -mabi=altivec -mvsx -mpower8-vector -DSIMD_CORE -DHAS_ALTIVEC=1 -DJOHN_ALTIVEC -pthread -Wall -O3 -std=gnu99 -fcommon -Wstrict-overflow=2 -fvisibility=hidden -pipe -Os -arch ppc -MT lib/ce-wpa/libaircrack_ce_wpa_ppc_altivec_la-wpapsk.lo -MD -MP -MF lib/ce-wpa/.deps/libaircrack_ce_wpa_ppc_altivec_la-wpapsk.Tpo -c -o lib/ce-wpa/libaircrack_ce_wpa_ppc_altivec_la-wpapsk.lo `test -f 'lib/ce-wpa/wpapsk.c' || echo './'`lib/ce-wpa/wpapsk.c :info:build In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include/aircrack-ng/ce-wpa/simd-intrinsics.h:61, :info:build from lib/ce-wpa/crypto_engine.c:42: :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include/aircrack-ng/ce-wpa/pseudo_intrinsics.h:165:9: error: macro names must be identifiers :info:build 165 | #define (i > 0 ? (vtype)vsliq_n_u32(vshrq_n_u32((x).v32, 32 - ((i) & 31)), (x).v32, (i) & 31) : \ :info:build | ^ :info:build /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_security_aircrack-ng/aircrack-ng/work/aircrack-ng-1.7/include/aircrack-ng/ce-wpa/pseudo_intrinsics.h:167:9: error: macro names must be identifiers :info:build 167 | #define (i > 0 ? (vtype)vsliq_n_u64(vshrq_n_u64((x).v64, 64 - ((i) & 63)), (x).v64, (i) & 63) : \ :info:build | ^ :info:build lib/ce-wpa/crypto_engine.c: In function 'sha256_vector': :info:build lib/ce-wpa/crypto_engine.c:70:9: warning: 'SHA256_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] :info:build 70 | SHA256_Init(&ctx); :info:build | ^~~~~~~~~~~
Looks like another instance where the code assumes that __ALTIVEC__
automatically means that any arbitrary ISA is fully supported.
Can it just be turned off on powerpc?
- S. The port also requires C++11:
configure: error: *** A compiler with support for C++11 language features is required
Attachments (1)
Note: See
TracTickets for help on using
tickets.