[MacPorts] #70604: svt-av1 @2.2.0+debug: error: use of undeclared identifier 'x_step_q4', 'y_step_q4' (was: svt-av1: 2.2.0 does not build on Sonoma)
MacPorts
noreply at macports.org
Wed Aug 21 22:41:48 UTC 2024
#70604: svt-av1 @2.2.0+debug: error: use of undeclared identifier 'x_step_q4',
'y_step_q4'
----------------------+------------------------
Reporter: lukaso | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Resolution: | Keywords: arm64
Port: svt-av1 |
----------------------+------------------------
Changes (by ryandesign):
* keywords: => arm64
* status: new => assigned
* version: => 2.9.3
* owner: (none) => i0ntempest
Comment:
The problem is specific to arm/neon code.
The build succeeded on our arm64 buildbot machines; something must be
different about your build. It appears to be that you are using the debug
variant and we are not: the buildbot builds used `-DNDEBUG` while your
build did not. Defining `NDEBUG` turns off assertions.
I also notice in the log is that you are using the macOS 11 SDK but I
don't think that's relevant.
The code on line 272 of the file wiener_convolve_neon.c reads:
{{{#!c
assert(x_step_q4 == 16 && y_step_q4 == 16);
}}}
I do not see anywhere that `x_step_q4` or `y_step_q4` are defined in this
file. They are defined in other files. Maybe this was copied from another
file without ever testing with assertions enabled.
The worksround would be to remove that line, or don't use the debug
variant.
I filed a bug report: https://gitlab.com/AOMediaCodec/SVT-
AV1/-/issues/2202
--
Ticket URL: <https://trac.macports.org/ticket/70604#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list