New issue
Advanced search Search tips

Issue 606414 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

GN: Simple Chrome fails to build browser_tests with board=x86-generic

Project Member Reported by steve...@chromium.org, Apr 25 2016

Issue description

I get the following error when attempting to build chrome for x86-generic:

(master) $ cros chrome-sdk --board=x86-generic

[8652/29312] CXX glibc_x86/obj/chrome/test/data/nacl/exit_status_test_nexe/pm_exit_status_test.o
FAILED: /usr/local/google/home/stevenjb/Work/chrome/.cros_cache/common/goma+2/gomacc ../../native_client/toolchain/linux_x86/nacl_x86_glibc/bin/x86_64-nacl-g++ -MMD -MF glibc_x86/obj/chrome/test/data/nacl/exit_status_test_nexe/pm_exit_status_test.o.d -DNACL_TC_REV=9ff1dc0c05b45941b86bed303a87a9eac17192ea -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DENABLE_NOTIFICATIONS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_OPENSSL_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DENABLE_WEBRTC=1 -DENABLE_EXTENSIONS=1 -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_AUTOFILL_DIALOG=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -DFIELDTRIAL_TESTING_ENABLED -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 -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -D__STDC_LIMIT_MACROS=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL_ -I../.. -Iglibc_x86/gen -fno-strict-aliasing -m32 -Wall -Werror -Wno-unused-local-typedefs -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g2 -gsplit-dwarf -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -Wno-narrowing -fno-rtti -fno-exceptions -c ../../chrome/test/data/nacl/exit_status/pm_exit_status_test.cc -o glibc_x86/obj/chrome/test/data/nacl/exit_status_test_nexe/pm_exit_status_test.o
cc1plus: error: unrecognised debug output level "split-dwarf"
cc1plus: warnings being treated as errors
cc1plus: error: unrecognized command line option "-Wno-narrowing"
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
[8652/29312] CXX clang_x86/obj/v8/v8_base/access-compiler-ia32.o
ninja: build stopped: subcommand failed.



 
Labels: -Pri-3 Proj-GN-Migration OS-Chrome Pri-1
ihf@ - I assume that the 'unrecognised debug output level "split-dwarf"' error is related to the recent changes related to 32 bit builds?

That appears to come from:
CXXFLAGS=-march=i686 -pipe -march=i686 -pipe -pipe -march=i686 -mfpmath=sse -mmmx -msse -msse2 -msse3 -D__google_stl_debug_vector=1 -gsplit-dwarf

Should we just remove that from CXXFLAGS in Simple Chrome?

Comment 2 by ihf@chromium.org, Apr 25 2016

Cc: llozano@chromium.org
AFAIK not directly related. Also notice this is running x86_64-nacl-g++. Also not directly related is  issue 599633 , but just in case. Adding Luis.
Labels: -Pri-1 Pri-2
Oh, this is only failing for browser_tests, which may not be that important for Simple Chrome.

Summary: GN: Simple Chrome fails to build browser_tests with board=x86-generic (was: GN: Simple Chrome failing with board=x86-generic)
I'm not sure if this ever worked? I don't think we have any cause for building browser_tests - the only targets we care about are chrome, chrome_sandbox, nacl_helper.
Status: WontFix (was: Assigned)
Yeah, OK, sorry for the confusion. Resolving WontFix.

Sign in to add a comment