From owner-freebsd-chromium@FreeBSD.ORG Fri Oct 5 14:41:12 2012 Return-Path: Delivered-To: freebsd-chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6A3E1065672 for ; Fri, 5 Oct 2012 14:41:11 +0000 (UTC) (envelope-from public@plane.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 929A68FC17 for ; Fri, 5 Oct 2012 14:41:11 +0000 (UTC) Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TK95X-0003gB-Q9 for freebsd-chromium@freebsd.org; Fri, 05 Oct 2012 16:41:15 +0200 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TK95P-0003ah-E1; Fri, 05 Oct 2012 16:41:07 +0200 Received: by mail-pa0-f44.google.com with SMTP id fb11so2283480pad.17 for ; Fri, 05 Oct 2012 07:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bbwuP08iOaBIrAd89spSs99lkO6SYecfihQmCTaaP2E=; b=Wg53YAhym3a5tnydN0e3ezoP2Ky/AJRkaPAoYYP6CgO3Ly7rV8fZMSiOvP+E4E94K6 Al3FTkNgEuA9mXDVUWnEJfHK0AKG0h4vJjP+Yp9O1vpuPs4PPaZH9bwa3x0vHiG8aYi4 SNrzzJueyYi+qnEwqTpoxQ2Hhn9phN5tig291J17xrDTK/KowaucNWYFbHhmjkKkd/uj bnQodm1sTqHz/Z+9OUmMYTOvJbPcsGPM1DVT8YNweJy6cLjBA7PhLKLZjLgLkUKCWJVp hmyloglmn/Swi+QschyII663jyxpGmBD0C6XOkCxqEExi51ahWXQLfkTfGkqSDQ9fhkK Zq4w== Received: by 10.68.136.138 with SMTP id qa10mr31495304pbb.142.1349448060474; Fri, 05 Oct 2012 07:41:00 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id pv9sm6147519pbb.67.2012.10.05.07.40.57 (version=SSLv3 cipher=OTHER); Fri, 05 Oct 2012 07:40:59 -0700 (PDT) Message-ID: <506EF175.3050107@gmail.com> Date: Fri, 05 Oct 2012 17:40:53 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120924 Thunderbird/15.0.1 MIME-Version: 1.0 To: Rene Ladan References: <506D43D7.3090704@gmail.com> <506ED373.8080201@freebsd.org> In-Reply-To: <506ED373.8080201@freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 05 Oct 2012 15:12:39 +0000 Cc: public-freebsd-chromium-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org Subject: Re: www/chromium build fails X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2012 14:41:12 -0000 05.10.2012 15:32, Rene Ladan wrote: >> I just tried to update chromium up to v22 and it fails with: >> >> TOUCH >> out/Release/obj.target/third_party/WebKit/Source/WebCore/WebCore.gyp/webcore_bindings_sources.stamp >> >> AR(target) out/Release/obj.target/ui/surface/libsurface.a >> AR(target) out/Release/obj.target/gpu/libcommand_buffer_service.a >> AR(target) out/Release/obj.target/webkit/support/libwebkit_user_agent.a >> RULE >> remoting_proto_chromotocol_gyp_chromotocol_proto_lib_target_genproto_0 >> out/Release/pyproto/remoting/proto/audio_pb2.py >> RULE >> remoting_proto_chromotocol_gyp_chromotocol_proto_lib_target_genproto_1 >> out/Release/pyproto/remoting/proto/control_pb2.py >> RULE >> remoting_proto_chromotocol_gyp_chromotocol_proto_lib_target_genproto_2 >> out/Release/pyproto/remoting/proto/event_pb2.py >> RULE >> remoting_proto_chromotocol_gyp_chromotocol_proto_lib_target_genproto_3 >> out/Release/pyproto/remoting/proto/internal_pb2.py >> RULE >> remoting_proto_chromotocol_gyp_chromotocol_proto_lib_target_genproto_4 >> out/Release/pyproto/remoting/proto/video_pb2.py >> RULE >> third_party_libvpx_libvpx_gyp_gen_asm_offsets_target_obj_int_extract_0 >> out/Release/obj/gen/third_party/libvpx/asm_com_offsets.asm >> Unable to open file: No such file or directory >> >> Building WITH CLANG, CODECS and GCONF. Mentioned file exists and is empty. >> >> # uname -a >> FreeBSD ar1l0u 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r241156M: Wed >> Oct 3 13:58:16 EEST 2012 arcade@ar1l0u:/usr/obj/usr/src/sys/MINIMAL >> amd64 >> >> Modifications: tmpfs rbtree patch, zfs feats patch. >> >> World is built WITH_CLANG_IS_CC, WITH_LIBCPLUSPLUS, WITH_BSD_GREP. >> > Maybe this is caused by WITH_CLANG_IS_CC or WITH_LIBCPLUSPLUS ? Chromium > should build fine with a vanilla CURRENT and its CLANG option. I doubt it as www/chromium tend to use clang/clang++ not cc/c++. I also haven't changed CFLAGS to make use of LIBCPLUSPLUS. I just don't know how can I correctly inspect what's going on. If I grep the build for 'vpx' I'll get: CC(target) out/Release/obj.target/libvpx_asm_offsets/third_party/libvpx/source/libvpx/vp8/common/asm_com_offsets.o CC(target) out/Release/obj.target/libvpx_asm_offsets/third_party/libvpx/source/libvpx/vp8/decoder/asm_dec_offsets.o CC(target) out/Release/obj.target/libvpx_asm_offsets/third_party/libvpx/source/libvpx/vp8/encoder/asm_enc_offsets.o CC(host) out/Release/obj.host/libvpx_obj_int_extract/third_party/libvpx/source/libvpx/build/make/obj_int_extract.o AR(target) out/Release/obj.target/third_party/libvpx/libvpx_asm_offsets.a LINK(host) out/Release/libvpx_obj_int_extract LINK(host) out/Release/libvpx_obj_int_extract: Finished ACTION third_party_libvpx_libvpx_gyp_gen_asm_offsets_target_unpack_lib_posix out/Release/obj.target/gen_asm_offsets/geni/asm_com_offsets.o RULE third_party_libvpx_libvpx_gyp_gen_asm_offsets_target_obj_int_extract_0 out/Release/obj/gen/third_party/libvpx/asm_com_offsets.asm If I restart the build after failure only last two targets are mentioned. This means that library is linked successfully. And yes: # file /tmp/ports/usr/ports/www/chromium/work/chromium-courgette-redacted-22.0.1229.79/out/Release/libvpx_obj_int_extract /tmp/ports/usr/ports/www/chromium/work/chromium-courgette-redacted-22.0.1229.79/out/Release/libvpx_obj_int_extract: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), not stripped # nm /tmp/ports/usr/ports/www/chromium/work/chromium-courgette-redacted-22.0.1229.79/out/Release/libvpx_obj_int_extract 0000000000601998 d _DYNAMIC 0000000000601b40 d _GLOBAL_OFFSET_TABLE_ w _Jv_RegisterClasses ... So the lib is created correctly, but generating asm offsets somehow fails resulting in a zero-length file. -- Sphinx of black quartz, judge my vow.