Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericfont/4582d4e6bfe441466bf04d4575c4e750 to your computer and use it in GitHub Desktop.
Save ericfont/4582d4e6bfe441466bf04d4575c4e750 to your computer and use it in GitHub Desktop.
[7/14016] /usr/bin/g++ -MMD -MF obj/skia/skcms/skcms.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium -w -std=c11 -mfp16-format=ieee -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium/third_party/skia/third_party/skcms/skcms.cc -o obj/skia/skcms/skcms.o
FAILED: obj/skia/skcms/skcms.o
/usr/bin/g++ -MMD -MF obj/skia/skcms/skcms.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium -w -std=c11 -mfp16-format=ieee -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -march=armv7-a -mfloat-abi=hard -mtune=generic-armv7-a -mfpu=vfpv3-d16 -mthumb -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-psabi -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-dangling-else -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c ../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium/third_party/skia/third_party/skcms/skcms.cc -o obj/skia/skcms/skcms.o
../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h: In function 'void exec_ops(const Op*, const void**, const char*, char*, int)':
../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium/third_party/skia/third_party/skcms/src/Transform_inl.h:560:16: internal compiler error: in convert_move, at expr.c:271
static void NS(exec_ops)(const Op* ops, const void** args,
^
../../../../../qt-everywhere-src-5.12.0/qtwebengine/src/3rdparty/chromium/third_party/skia/third_party/skcms/skcms.cc:1909:16: note: in definition of macro 'NS'
#define NS(id) id
^~
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
@bhush9
Copy link

bhush9 commented Jan 28, 2019

Hello! I know this is lot https://xkcd.com/979/ moment, but... have you figured out problem? :D

@kostavelikov
Copy link

Same problem with qtwebengine 5.12.2 on armhf with debian stretch

@lynix
Copy link

lynix commented Mar 29, 2019

Had the same issue using the OSELAS-2018.02.0 toolchain (gcc-7.3.1) for armv7a-hf. Fixed by upgrading to OSELAS-2018.12.0 (gcc-8.2.1). (Host is Arch Linux on x86_64)

@kostavelikov
Copy link

I confirm, that there is a bug while using g++ v6 on armhf. It works with g++ v8, though Debian comes with standard v6, and "testing" repo must be used.

@PVIII
Copy link

PVIII commented Jul 27, 2020

The problem wan be solved by applying this patch:

description: GCC ICE with optimized version
author: Riku Voipio
bug-debian: http://bugs.debian.org/901290

--- a/third_party/skia/third_party/skcms/skcms.gni
+++ b/third_party/skia/third_party/skcms/skcms.gni
@@ -3,6 +3,10 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
+if ((current_cpu == "arm64" || current_cpu == "arm") && !is_clang) {
+    defines = [ "SKCMS_PORTABLE=1" ]
+}
+
 skcms_sources = [
   "skcms.cc",
   "skcms.h",̀̀̀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment