From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mail.openembedded.org (Postfix) with ESMTP id C5CEB60053 for ; Wed, 30 Dec 2015 15:26:03 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id f206so69386012wmf.0 for ; Wed, 30 Dec 2015 07:26:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; bh=3lZsr+OpefH7mNt6JzLoxiYxWUUC0Nr45jZNuzpggP0=; b=u6qLkFS3WObXgiMqVJWyK1J8NkUR2pO/tWTvQ71jTWdb8JB2MmUCGDraZggXXZs7Af N93sfHtK9UDohyUlXpRgWnabTYJUDbSQbrCB6j5DD2GpiCsQLbeA0DUny6NJyG+DEHjz hgI87ZNfHe7FdW3S5vlMP6iN5JaoiWG7KgOo/41QidJ+uhTkbWo4GnKF0Tbv7qAid07Z N4RqSLkEWb1oBgB3f8ablDhh8uAyKD3H9f7MWvQp3rcs7TLe9puyGTYJdupfKYVZ3kBV IIj7i0pALKMlbMxKMzSYIQiXSIv/HhxNyT2qMUuCohImey3xHkpxEW1iAeKqyFri+LOv 8JPQ== X-Received: by 10.194.119.232 with SMTP id kx8mr80240859wjb.94.1451489163646; Wed, 30 Dec 2015 07:26:03 -0800 (PST) Received: from Saturn.local.all (212-41-90-188.adsl.solnet.ch. [212.41.90.188]) by smtp.gmail.com with ESMTPSA id 17sm26746004wmy.15.2015.12.30.07.26.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Dec 2015 07:26:03 -0800 (PST) Message-ID: <1451489161.2176.12.camel@gmail.com> From: Max Krummenacher To: Trevor Woerner , "openembedded-devel@lists.openembedded.org" Date: Wed, 30 Dec 2015 16:26:01 +0100 In-Reply-To: <56837748.6020903@gmail.com> References: <56837748.6020903@gmail.com> X-Mailer: Evolution 3.16.5 Mime-Version: 1.0 Cc: Otavio Salvador Subject: Re: chromium 40.0.2214.91 doesn't like gcc5.3 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2015 15:26:04 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi Trevor Am Mittwoch, den 30.12.2015, 01:18 -0500 schrieb Trevor Woerner: > I noticed the recent gcc update from 5.2 to 5.3 in openembedded-core > seems to cause meta-browser's chromium build to fail with more > warnings being treated as errors. I tried to build master with GCC 5.3 for an armv7 target just now. The same error that you see pops up. I propose to lower the strict-overflow to a warning again to get rid of this errors once and for all. The following made the build work for me: diff --git a/build/common.gypi b/build/common.gypi index c87b1b3..5b0086e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -3573,6 +3573,7 @@ ], 'cflags': [ '<(werror)', # See note above about the werror variable. + '-Wno-error=strict-overflow', '-pthread', '-fno-strict-aliasing', # See http://crbug.com/32204 '-Wall', -- 2.6.2 > Is anyone looking at this? Will send a patch to the ML once tested on target. > Is there any talk about this upstream? I don't know. Regards Max > > > > Build Configuration: > BB_VERSION = "1.28.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "openSUSE-project-13.2" > TARGET_SYS = "x86_64-fortress-linux" > MACHINE = "intel-corei7-64" > DISTRO = "fortress" > DISTRO_VERSION = "0.1" > TUNE_FEATURES = "m64 corei7" > TARGET_FPU = "" > meta = "master:1568f4fa1c8f8abd9b365ecd264841cd4f6b66b1" > meta-yocto-bsp > meta-yocto = "master:9b392ef494f3fee9b85ee9e37ad700781e32e636" > meta-intel = "master:ac56397b913e9f2ccc7d6cf5a1a5a9002b619671" > meta-oe > meta-gnome > meta-python > meta-networking = > "contrib/twoerner/nodejs_v4:40b9f35fa3b4361ca53dbb91d2552f2eae6af460" > meta-browser = "master:bb799af123f1361767885d5b8f7e14b334d3fd7a" > > > > > FAILED: x86_64-fortress-linux-g++ -m64 -march=corei7 -mtune=corei7 > -mfpmath=sse -msse4.2 > --sysroot=/z/layerindex-master/minnowmax/tmp/sysroots/intel-corei7-64 > -MMD -MF obj/third_party/WebKit/Source/wtf/dtoa/wtf.bignum.o.d > -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL > -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT > -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 > -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 > -DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN > -DENABLE_PRE_SYNC_BACKUP -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 > -DENABLE_WEBRTC=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY > -DENABLE_NOTIFICATIONS -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA > -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1 > -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 > -DENABLE_AUTOFILL_DIALOG=1 > -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2 > -DCLD2_DATA_SOURCE=static -DENABLE_PRINTING=1 > -DENABLE_BASIC_PRINTING=1 > -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 > -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 > -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_MDNS=1 > -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_LOAD_COMPLETION_HACKS=1 > -DWTF_IMPLEMENTATION=1 -DENABLE_OPENTYPE_VERTICAL=1 > -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 > -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 > -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 -DENABLE_WEB_AUDIO=1 > -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 > -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 > -DU_STATIC_IMPLEMENTATION > -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS=1 -D__STDC_CONSTANT_MACROS > -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND > -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen > -I../../third_party/WebKit/Source -I../../third_party/WebKit > -I../../third_party/icu/source/i18n > -I../../third_party/icu/source/common -fstack-protector > --param=ssp-buffer-size=4 -Werror -pthread -fno-strict-aliasing -Wall > -Wno-unused-parameter -Wno-missing-field-initializers > -fvisibility=hidden -pipe -fPIC > -B/z/layerindex-master/minnowmax/tmp/work/corei7-64-fortress > -linux/chromium/40.0.2214.91-r0/chromium > -40.0.2214.91/third_party/binutils/Linux_x64/Release/bin > -Wno-unused-local-typedefs -m64 -march=x86-64 -O2 -fno-ident > -fdata-sections -ffunction-sections -funwind-tables > -Wno-error=unused-local-typedefs -O2 -pipe -g > -feliminate-unused-debug-types -fvisibility-inlines-hidden > -Wno-c++0x-compat -fno-exceptions -fno-rtti -fno-threadsafe-statics > -fvisibility-inlines-hidden -Wsign-compare -Wno-c++0x-compat > -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c > ../../third_party/WebKit/Source/wtf/dtoa/bignum.cc -o > obj/third_party/WebKit/Source/wtf/dtoa/wtf.bignum.o > > ../../third_party/WebKit/Source/wtf/dtoa/bignum.cc: In member > > function > 'void WTF::double_conversion::Bignum::Align(const > WTF::double_conversion::Bignum&)': > > ../../third_party/WebKit/Source/wtf/dtoa/bignum.cc:715:31: error: > assuming signed overflow does not occur when simplifying conditional > to > constant [-Werror=strict-overflow] > > for (int i = 0; i < zero_digits; ++i) { > > ^ > > ../../third_party/WebKit/Source/wtf/dtoa/bignum.cc:715:31: error: > assuming signed overflow does not occur when simplifying conditional > to > constant [-Werror=strict-overflow] > > ../../third_party/WebKit/Source/wtf/dtoa/bignum.cc: In member > > function > 'void > WTF::double_conversion::Bignum::AssignDecimalString(WTF::double_conve > rsion::Vector char>)': > > ../../third_party/WebKit/Source/wtf/dtoa/bignum.cc:105:10: error: > assuming signed overflow does not occur when assuming that (X + c) < > X > is always false [-Werror=strict-overflow] > > void Bignum::AssignDecimalString(Vector value) { > > ^ > > cc1plus: all warnings being treated as errors > > ninja: build stopped: subcommand failed. >