compiling pgo chromium with clang failed

51 views
Skip to first unread message

Cai Huan

unread,
Jan 18, 2018, 9:00:22 PM1/18/18
to Chromium-dev
chromium version:
MAJOR=64
MINOR=0
BUILD=3282
PATCH=71

os: win10
visual studio 2017
ninja: Entering directory `.\out\release\'                                                                                                                                       
[1/1] Regenerating ninja files                                                                                                                                                   
[2/8] LINK(DLL) chrome_child.dll chrome_child.dll.lib chrome_child.dll.pdb                                                                                                       
FAILED: chrome_child.dll chrome_child.dll.lib chrome_child.dll.pdb                                                                                                               
D:/Google/Chromium/DepotTools/win_tools-2_7_6_bin/python/bin/python.exe ../../build/toolchain/win/tool_wrapper.py link-wrapper environment.x86 False link.exe /nologo /IMPLIB:./c
hrome_child.dll.lib /DLL /OUT:./chrome_child.dll /PDB:./chrome_child.dll.pdb @./chrome_child.dll.rsp                                                                             
LINK : warning LNK4044: unrecognized option '//third_party/llvm-build/Release+Asserts/lib/clang/6.0.0/lib/windows/clang_rt.profile-i386.lib'; ignored                            
LINK : error LNK1218: warning treated as error; no output file generated                                                                                                         
ninja: build stopped: subcommand failed.                     

gn command is 
set GYP_DEFINES="buildtype=Official branding=Chrome target_arch=ia32"
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
gn gen out\release --sln=chrome --filters=//chrome --ide=vs2017 --no-deps --args="proprietary_codecs=true ffmpeg_branding=\"Chrome\" is_component_build=false is_debug=false is_chrome_branded=false is_official_build=true enable_nacl=false enable_remoting=false enable_print_preview=true target_cpu=\"x86\" use_libpci=false chrome_pgo_phase=1"     
Reply all
Reply to author
Forward
0 new messages