Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62608 closed defect (fixed)

aom @3.0.0: error: assigning to '__m256i' from incompatible type 'int'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: macdeport
Port: aom

Description

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/143025/steps/install-port/logs/stdio

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_aom/aom/work/aom-3.0.0/aom_dsp/x86/intrapred_avx2.c:3044:10: warning: implicit declaration of function '_mm256_bsrli_epi128' is invalid in C99 [-Wimplicit-function-declaration]
    d1 = _mm256_bsrli_epi128(d[i], 8);
         ^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_aom/aom/work/aom-3.0.0/aom_dsp/x86/intrapred_avx2.c:3044:8: error: assigning to '__m256i' from incompatible type 'int'
    d1 = _mm256_bsrli_epi128(d[i], 8);
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.

Change History (3)

comment:1 Changed 4 years ago by macdeport

Cc: macdeport added

comment:2 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In dafdf1644c207c48f0ca8eab0d255326fe2057f1/macports-ports (master):

aom: fix build on newer and older systems

Older systems do not seem to fully support AVX2.
Fixes #62608

The build system does not have a custom code for macOS arm64 systems.
This is not a problem so long as this is made explicit.
Fixes #62611

comment:3 in reply to:  2 Changed 4 years ago by macdeport

Replying to MarcusCalhoun-Lopez: 👍 Thank you

Note: See TracTickets for help on using tickets.