Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792288 - >=www-client/chromium-91: build failure in third_party/libyuv
Summary: >=www-client/chromium-91: build failure in third_party/libyuv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-26 18:33 UTC by Stephan Hartmann (RETIRED)
Modified: 2021-05-29 20:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Hartmann (RETIRED) gentoo-dev 2021-05-26 18:33:44 UTC
There are two inline assembly problems:

aarch64-unknown-linux-gnu-g++ -MMD -MF obj/third_party/libyuv/libyuv_neon/row_neon64
.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../third_party/libyuv/include -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=armv8-a+crc+crypto -mtune=generic -c ../../third_party/libyuv/source/row_neon64.cc -o obj/third_party/libyuv/libyuv_neon/row_neon64.o
{standard input}: Assembler messages:
{standard input}:2153: Error: invalid addressing mode at operand 2 -- `ld1 {v4.16b},[x3,48]'
{standard input}:2180: Error: invalid addressing mode at operand 2 -- `ld1 {v4.16b},[x3,64]'
{standard input}:2205: Error: invalid addressing mode at operand 2 -- `ld1 {v4.16b},[x3,80]'

aarch64-unknown-linux-gnu-g++ -MMD -MF obj/third_party/libyuv/libyuv_neon/scale_neon64.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../third_party/libyuv/include -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -fno-omit-frame-pointer -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=armv8-a+crc+crypto -mtune=generic -c ../../third_party/libyuv/source/scale_neon64.cc -o obj/third_party/libyuv/libyuv_neon/scale_neon64.o
{standard input}: Assembler messages:
{standard input}:435: Error: operand mismatch -- `mov v0.8h,v4.8h'
{standard input}:435: Info:    did you mean this?
{standard input}:435: Info:     mov v0.8b, v4.8b
{standard input}:435: Info:    other valid variant(s):
{standard input}:435: Info:     mov v0.16b, v4.16b
{standard input}:436: Error: operand mismatch -- `mov v1.8h,v5.8h'
{standard input}:436: Info:    did you mean this?
{standard input}:436: Info:     mov v1.8b, v5.8b
{standard input}:436: Info:    other valid variant(s):
{standard input}:436: Info:     mov v1.16b, v5.16b
{standard input}:468: Error: operand mismatch -- `mov v2.8h,v0.8h'
{standard input}:468: Info:    did you mean this?
{standard input}:468: Info:     mov v2.8b, v0.8b
{standard input}:468: Info:    other valid variant(s):
{standard input}:468: Info:     mov v2.16b, v0.16b
{standard input}:498: Error: operand mismatch -- `mov v0.8h,v2.8h'
{standard input}:498: Info:    did you mean this?
{standard input}:498: Info:     mov v0.8b, v2.8b
{standard input}:498: Info:    other valid variant(s):
{standard input}:498: Info:     mov v0.16b, v2.16b
{standard input}:504: Error: operand mismatch -- `mov v0.8h,v4.8h'
{standard input}:504: Info:    did you mean this?
{standard input}:504: Info:     mov v0.8b, v4.8b
{standard input}:504: Info:    other valid variant(s):
{standard input}:504: Info:     mov v0.16b, v4.16b
{standard input}:507: Error: operand mismatch -- `mov v0.8h,v4.8h'
{standard input}:507: Info:    did you mean this?
{standard input}:507: Info:     mov v0.8b, v4.8b
{standard input}:507: Info:    other valid variant(s):
{standard input}:507: Info:     mov v0.16b, v4.16b
{standard input}:508: Error: operand mismatch -- `mov v1.8h,v5.8h'
{standard input}:508: Info:    did you mean this?
{standard input}:508: Info:     mov v1.8b, v5.8b
{standard input}:508: Info:    other valid variant(s):
{standard input}:508: Info:     mov v1.16b, v5.16b
{standard input}:665: Error: operand mismatch -- `mov v0.8h,v4.8h'
{standard input}:665: Info:    did you mean this?
{standard input}:665: Info:     mov v0.8b, v4.8b
{standard input}:665: Info:    other valid variant(s):
{standard input}:665: Info:     mov v0.16b, v4.16b
{standard input}:666: Error: operand mismatch -- `mov v1.8h,v5.8h'
{standard input}:666: Info:    did you mean this?
{standard input}:666: Info:     mov v1.8b, v5.8b
{standard input}:666: Info:    other valid variant(s):
{standard input}:666: Info:     mov v1.16b, v5.16b
Comment 1 Larry the Git Cow gentoo-dev 2021-05-29 11:14:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325700b86084f7a4b8eed199647413663322cbfb

commit 325700b86084f7a4b8eed199647413663322cbfb
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-05-29 11:13:05 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-05-29 11:14:32 +0000

    www-client/chromium: fix build on arm64 for stable
    
    Bug: https://bugs.gentoo.org/792288
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                     |  3 ++-
 www-client/chromium/chromium-91.0.4472.77.ebuild | 16 ++++++++++++++--
 2 files changed, 16 insertions(+), 3 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2021-05-29 20:55:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69142bb614007a07137ede0723b09fd96e36ffba

commit 69142bb614007a07137ede0723b09fd96e36ffba
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-05-29 20:54:42 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-05-29 20:55:13 +0000

    www-client/chromium: dev channel bump to 92.0.4515.20
    
    Closes: https://bugs.gentoo.org/792288
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                        |  4 ++--
 ...0.4512.4.ebuild => chromium-92.0.4515.20.ebuild} | 21 ++++++++++++++++++---
 2 files changed, 20 insertions(+), 5 deletions(-)