For completeness I tried to build chromium using depot_tools to download the 
source. I'm assuming that gets the latest rendition.

I didn't apply any patches or seds but simply configured it with gn and 
compiled using ninja.

This time it failed with:

[18640/28481] CXX obj/headless/headless/headless_browser_impl.o
FAILED: obj/headless/headless/headless_browser_impl.o 
g++ -MMD -MF obj/headless/headless/headless_browser_impl.o.d 
-DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DDISABLE_NACL 
-DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL 
-DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS 
-D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-DHEADLESS_IMPLEMENTATION -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX 
-DUSE_EGL -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER 
-DHAVE_PTHREAD -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY 
-DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 
-DV8_USE_EXTERNAL_STARTUP_DATA -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 
-DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE 
-DUCHAR_TYPE=uint16_t -I../.. -Igen -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I../../third_party/libwebp 
-I../../third_party/khronos -I../../gpu -I../../third_party/protobuf/src 
-Igen/protoc_out -I../../third_party/protobuf/src 
-I../../third_party/boringssl/src/include -I/usr/include/nss 
-I/usr/include/nspr -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/effects 
-I../../third_party/skia/include/encode -I../../third_party/skia/include/images 
-I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops 
-I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe 
-I../../third_party/skia/include/ports -I../../third_party/skia/include/utils 
-I../../third_party/skia/third_party/vulkan 
-I../../third_party/skia/include/gpu -I../../third_party/skia/src/gpu 
-I../../third_party/skia/src/sksl -I../../third_party/ced/src 
-I../../third_party/icu/source/common -I../../third_party/icu/source/i18n 
-I../../third_party/libwebm/source -Igen -I../../third_party/WebKit 
-Igen/third_party/WebKit -I../../v8/include -Igen/v8/include 
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector 
-Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= 
-funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall 
-Wno-unused-local-typedefs -Wno-maybe-uninitialized 
-Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident 
-fdata-sections -ffunction-sections -fomit-frame-pointer -g0 
-fvisibility=hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions 
-fvisibility-inlines-hidden -c 
../../headless/lib/browser/headless_browser_impl.cc -o 
obj/headless/headless/headless_browser_impl.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[18644/28481] CXX obj/headless/headless/network.o
[18649/28481] CXX obj/headless/headless/page.o
ninja: build stopped: subcommand failed.

Has anyone managed to compile chromium successfully using the latest source 
code and gcc7?

jb.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to