[MacPorts] #67283: libyuv @20220812_0: getting "no such instruction" for many AVX instructions
MacPorts
noreply at macports.org
Wed Sep 20 21:31:29 UTC 2023
#67283: libyuv @20220812_0: getting "no such instruction" for many AVX instructions
-------------------------+----------------------
Reporter: Cebtenzzre | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords: tiger
Port: libyuv |
-------------------------+----------------------
Description changed by mascguy:
Old description:
> I am unable to build libyuv on Tiger 10.4.8 with Xcode 2.5. It's
> apparently trying to use AVX instructions that the assembler does not
> recognize. The port is using gcc 7 which is the newest compiler I've been
> able to get working, since I've also had trouble building
> clang-11-bootstrap.
>
> {{{
> $ sudo port install libyuv build.jobs=1
> ---> Computing dependencies for libyuv
> ---> Fetching archive for libyuv
> ---> Attempting to fetch libyuv-20220812_0.darwin_8.i386.tbz2 from
> http://packages.macports.org/libyuv
> ---> Attempting to fetch libyuv-20220812_0.darwin_8.i386.tbz2 from
> http://ywg.ca.packages.macports.org/mirror/macports/packages/libyuv
> ---> Attempting to fetch libyuv-20220812_0.darwin_8.i386.tbz2 from
> http://mirror.fcix.net/macports/packages/libyuv
> ---> Fetching distfiles for libyuv
> ---> Verifying checksums for libyuv
> ---> Extracting libyuv
> ---> Applying patches to libyuv
> ---> Configuring libyuv
> ---> Building libyuv
> Error: Failed to build libyuv: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libyuv/libyuv/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port libyuv failed
> }}}
>
> This is a small part of main.log, it goes on for a while. The full log is
> attached.
> {{{
> :info:build FAILED: CMakeFiles/yuv.dir/source/row_gcc.cc.o
> :info:build /opt/local/bin/g++-mp-7 -DHAVE_JPEG
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libyuv/libyuv/work/libyuv-20220812/include
> -I/opt/local/include -pipe -Os -DNDEBUG -I/opt/local/include
> -D_GLIBCXX_USE_CXX11_ABI=0 -arch i386 -mmacosx-version-min=10.4
> -std=gnu++11 -MD -MT CMakeFiles/yuv.dir/source/row_gcc.cc.o -MF
> CMakeFiles/yuv.dir/source/row_gcc.cc.o.d -o
> CMakeFiles/yuv.dir/source/row_gcc.cc.o -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libyuv/libyuv/work/libyuv-20220812/source/row_gcc.cc
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libyuv/libyuv/work/libyuv-20220812/source/row_gcc.cc:595:no
> such instruction: `vbroadcastf128
> __ZN6libyuvL23kShuffleMaskARGBToRGB24E-L7$pb(%eax),%ymm6'
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libyuv/libyuv/work/libyuv-20220812/source/row_gcc.cc:596:no
> such instruction: `vmovdqa
> __ZN6libyuvL15kPermdRGB24_AVXE-L7$pb(%eax),%ymm7'
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libyuv/libyuv/work/libyuv-20220812/source/row_gcc.cc:598:no
> such instruction: `vmovdqu (%edx),%ymm0'
> }}}
New description:
I am unable to build `libyuv` on Tiger 10.4.8 with Xcode 2.5. It's
apparently trying to use AVX instructions that the assembler does not
recognize. The port is using `gcc-7` which is the newest compiler I've
been able to get working, since I've also had trouble building
`clang-11-bootstrap`.
This is a small part of `main.log`, it goes on for a while. The full log
is attached.
{{{
libyuv/work/libyuv-20220812/source/row_gcc.cc:595:no such instruction:
`vbroadcastf128 __ZN6libyuvL23kShuffleMaskARGBToRGB24E-L7$pb(%eax),%ymm6'
libyuv/work/libyuv-20220812/source/row_gcc.cc:596:no such instruction:
`vmovdqa __ZN6libyuvL15kPermdRGB24_AVXE-L7$pb(%eax),%ymm7'
libyuv/work/libyuv-20220812/source/row_gcc.cc:598:no such instruction:
`vmovdqu (%edx),%ymm0'
[...etc...]
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/67283#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list