From owner-freebsd-questions@FreeBSD.ORG Sun Sep 1 11:43:26 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C5D4C73D for ; Sun, 1 Sep 2013 11:43:26 +0000 (UTC) (envelope-from geo.liaskos@gmail.com) Received: from mail-ee0-x22a.google.com (mail-ee0-x22a.google.com [IPv6:2a00:1450:4013:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5D398274D for ; Sun, 1 Sep 2013 11:43:26 +0000 (UTC) Received: by mail-ee0-f42.google.com with SMTP id b45so1786538eek.15 for ; Sun, 01 Sep 2013 04:43:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=2tCaa6BKZEok0QJ/X8z3vU+Tu1BX9gI1Se2rxuBn2vs=; b=DKok0kZ3ZudDc0gKMkPGztLxmcUJSeBvdidiD3sHSylaqFbFslad6o4/4jli4FdkBj b/txB8B8z8oHoQMtKr5qJu2g3lF/KL4OD6WA0T+mqOGEcHlPQkVbi62ujvi1NOprEKXo E0GwgVa0hnKFYYSGTLxQPpDLTnNAW5VimRf6olKr0mJnDpS/1/lvLBeGeMiUSYrXTMhk PqBMzUltj4MuchqSrgxxZMgTiIrEesuKp2ayj6uuZrzzzMj54N7ABB8YhQ4H9atnhy0Q s1qEt9vbedl24Fbfamk+s+A8LWCXlV5wRgecJWx85Z9+P0XZvrXbiOgs6ZlnfuIHJubW MN2w== MIME-Version: 1.0 X-Received: by 10.14.198.72 with SMTP id u48mr304107een.55.1378035804317; Sun, 01 Sep 2013 04:43:24 -0700 (PDT) Received: by 10.223.72.5 with HTTP; Sun, 1 Sep 2013 04:43:24 -0700 (PDT) In-Reply-To: <20130901101511.GA32996@thinkpad.piggybox> References: <20130901101511.GA32996@thinkpad.piggybox> Date: Sun, 1 Sep 2013 14:43:24 +0300 Message-ID: Subject: Re: Chromium build failure From: George Liaskos To: Peter Harrison Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Sep 2013 11:43:26 -0000 On Sun, Sep 1, 2013 at 1:15 PM, Peter Harrison wrote: > Hi list, > > I'm getting a consistent build error when trying to build the latest vers= ion of Chromium in ports - here's the error: > > ninja: Entering directory `out/Release' > [65/11901] LINK libvpx_obj_int_extract > FAILED: g++46 -Wl,-rpath=3D/usr/local/lib/gcc46 -Wl,-z,now -Wl,-z,relro -= pthread -Wl,-z,noexecstack -fPIC -Wl,--no-keep-memory -m32 -Wl,-O1 -Wl,--as= -needed -o libvpx_obj_int_extract -Wl,--start-group obj/third_party/libvpx/= source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o -Wl,--en= d-group > obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.ob= j_int_extract.o: In function `parse_elf': > obj_int_extract.c:(.text.parse_elf+0x71a): undefined reference to `__stac= k_chk_fail_local' > /usr/local/bin/ld: libvpx_obj_int_extract: hidden symbol `__stack_chk_fai= l_local' isn't defined > /usr/local/bin/ld: final link failed: Bad value > collect2: ld returned 1 exit status > [65/11901] ACTION Generating resources from app/generated_resources.grd > ninja: build stopped: subcommand failed. > *** [do-build] Error code 1 > > Stop in /usr/ports/www/chromium. > > This is on: > > 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:30:17 UTC 2013 = root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > Anyone offer me some advice on how to fix? The previous version of Chromi= um built fine on this machine. Hm, please try the following --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -18,6 +18,8 @@ COMMENT=3D Mostly BSD-licensed web browser based on WebKit and Gtk+ LICENSE=3D BSD LGPL21 MPL LICENSE_COMB=3D multi +CFLAGS+=3D -fno-stack-protector + BUILD_DEPENDS=3D ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ bash:${PORTSDIR}/shells/bash \ yasm:${PORTSDIR}/devel/yasm \