View previous topic :: View next topic |
Author |
Message |
Handsome0hell n00b
Joined: 18 Oct 2018 Posts: 5 Location: China
|
Posted: Wed Dec 19, 2018 1:03 am Post subject: Failed to emerge Chromium 71.0.3578.98: wrong conversion |
|
|
I tried to emerge Chromium on my arm64 gentoo, but it failed.
With the log file, I guess it's a bug.
build.log(only important part):
Code: | FAILED: obj/skia/skia_core_and_effects/SkOpts.o aarch64-unknown-linux-gnu-g++ -MMD -MF obj/skia/skia_core_and_effects/SkOpts.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_S
OURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLE
D=0 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WE
BP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_NO_PROTOTYPES -DSK_GAMM
A_EXPONENT=1.2 -DSK_GAMMA_CONTRAST=0.2 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -I../.. -Igen -I../../skia/config -I../../skia/ext -I../../third_party/skia/
include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/docs -I../../third_party/skia/inc
lude/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu -I../../third_party/skia/include/pathops -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/vu
lkan/include -I../../third_party/skia/third_party/vulkanmemoryallocator -I../
../third_party/skia/include/codec -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/skia/modules/skottie/include -I../../third_party/vulkan/include -I../../third_party/skia/include/codec -I../../third_party/skia/include/private -I../../third_party/skia/include/client/android -I../../third_party/skia/src/codec -I../../third_party/skia/src/core -I.
./../third_party/skia/src/image -I../../third_party/skia/src/images -I../../t
hird_party/skia/src/opts -I../../third_party/skia/src/pdf -I../../third_party
/skia/src/ports -I../../third_party/skia/src/shaders -I../../third_party/skia
/src/shaders/gradients -I../../third_party/skia/src/sfnt -I../../third_party/
skia/src/utils -I../../third_party/skia/src/lazy -I../../third_party/skia/thi
rd_party/gif -I../../third_party/skia/src/effects/gradients -I../../third_par
ty/skia/modules/sksg/include -fno-strict-aliasing --param=ssp-buffer-size=4 -
fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIM
ESTAMP__= -funwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisi
bility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprec
ated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-missing-
field-initializers -Wno-unused-parameter -std=gnu++14 -fno-exceptions -fno-rt
ti -fvisibility-inlines-hidden -Wno-narrowing -O2 -march=armv8-a+crc -mtune=c
ortex-a53 -pipe -c ../../third_party/skia/src/core/SkOpts.cpp -o obj/skia/ski
a_core_and_effects/SkOpts.o
In file included from ../../third_party/skia/src/core/SkOpts.cpp:43:
../../third_party/skia/src/opts/SkRasterPipeline_opts.h: In function 'neon_an
d_crc32::F neon_and_crc32::from_half(neon_and_crc32::U16)':
../../third_party/skia/src/opts/SkRasterPipeline_opts.h:662:25: error: cannot
convert 'neon_and_crc32::U16' {aka 'short unsigned int'} to 'float16x4_t' {a
ka '__vector(4) __fp16'}
return vcvt_f32_f16(h);
^
In file included from ../../third_party/skia/include/core/../private/SkFloatingPoint.h:22, from ../../third_party/skia/include/core/SkScalar.h:11, from ../../third_party/skia/src/core/SkNx.h:12, from ../../third_party/skia/src/core/SkHalf.h:11, from ../../third_party/skia/src/core/SkOpts.cpp:9: /usr/lib/gcc/aarch64-unknown-linux-gnu/8.2.0/include/arm_neon.h:14816:27: note: initializing argument 1 of 'float32x4_t vcvt_f32_f16(float16x4_t)' vcvt_f32_f16 (float16x4_t __a) ~~~~~~~~~~~~^~~ In file included from ../../third_party/skia/src/core/SkOpts.cpp:43: ../../third_party/skia/src/opts/SkRasterPipeline_opts.h: In function 'neon_and_crc32::U16 neon_and_crc32::to_half(neon_and_crc32::F)': ../../third_party/skia/src/opts/SkRasterPipeline_opts.h:682:25: error: cannot convert 'neon_and_crc32::F' {aka 'float'} to 'float32x4_t' {aka '__vector(4) float'}
return vcvt_f16_f32(f); ^
In file included from ../../third_party/skia/include/core/../private/SkFloati
ngPoint.h:22,
from ../../third_party/skia/include/core/SkScalar.h:11,
from ../../third_party/skia/src/core/SkNx.h:12,
from ../../third_party/skia/src/core/SkHalf.h:11, from ../../third_party/skia/src/core/SkOpts.cpp:9:
/usr/lib/gcc/aarch64-unknown-linux-gnu/8.2.0/include/arm_neon.h:14786:27: note: initializing argument 1 of 'float16x4_t vcvt_f16_f32(float32x4_t)'
vcvt_f16_f32 (float32x4_t __a)
~~~~~~~~~~~~^~~
|
And, definition of Code: | vcvt_f16_f32 (float32x4_t __a) | in arm_neon.h:
Code: | __extension__ extern __inline float32x4_t
__attribute__ ((__always_inline__, __gnu_inline__, __artificial__))
vcvt_f32_f16 (float16x4_t __a)
{
return __builtin_aarch64_float_extend_lo_v4sf (__a);
} |
As I found on the Internet, this function is used to convert a vector with 4 16 bits float variable to a vector with 4 32 bits float variable. I don't understand why chromium use it to convert a int variable. |
|
Back to top |
|
|
sao98021 Tux's lil' helper
Joined: 03 Apr 2012 Posts: 145 Location: Michigan
|
Posted: Wed Dec 19, 2018 3:24 am Post subject: |
|
|
https://bugs.chromium.org/p/chromium/issues/detail?id=818328
not sure if this is related, it failed in the same spot but im pretty sure the cause isn't the same as yours. they (that guy) was building with clang
more stuff https://bugs.llvm.org/show_bug.cgi?id=36582 Code: | fix PR36582
The error occurs when reading i16 elements (as in the testcase) from a v8i8
with a pattern of <0,2,4,6>. As all the data in the vector is accessed, the
operation is not a VUZP. The patch stops the pattern recognition of VUZP when
EXTRACT_VECTOR_ELT has a different element type than BUILD_VECTOR. |
|
|
Back to top |
|
|
Handsome0hell n00b
Joined: 18 Oct 2018 Posts: 5 Location: China
|
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8720 Location: ~Brussels - Belgique
|
Posted: Fri Dec 21, 2018 12:43 pm Post subject: |
|
|
Moved from Portage & Programming to Gentoo on ARM. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|