From owner-freebsd-questions@FreeBSD.ORG Sun Sep 1 15:05:40 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 81876B83 for ; Sun, 1 Sep 2013 15:05:40 +0000 (UTC) (envelope-from four.harrisons@googlemail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 15ACF21DD for ; Sun, 1 Sep 2013 15:05:39 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id b12so1028739wgh.4 for ; Sun, 01 Sep 2013 08:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:date:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=EoteaIPyLZfbbfLGMoF/h9DaQlOAOvfaS7bK4Wed430=; b=i7sJAADSajv3d96151e/Zw4s0tH6WylQ+5kfbC9zxMqjB6aRqN6sfEdSqf7gkY0N7j qfl231F3eU+ff5eNc+qDI+TtrzK0mF3AkX/X5kAXqCcngJIiehszowibSDM/q8mT7ENo wIimEmlP8hZ++uP0V3Q5IEjxCZVbv9fCPX7nh1ETk6fzYeWTDUAIJzpBm8TGTMmzCNpm CxBtA5dFUkH4Df7yFTTUIjDB2cbKxLP8idplBgkQncmZcYqfLvemEhdzj2A5LX/V2p7N xIGRvzOcw8WvOzd2aTKUlyOxtRW26JaCRXvutMpyVQ7HjmjQtM5V3cT3Fe+42bLFMOJr S7Dw== X-Received: by 10.194.222.2 with SMTP id qi2mr19127287wjc.14.1378047938318; Sun, 01 Sep 2013 08:05:38 -0700 (PDT) Received: from localhost (client-82-26-129-67.pete-bam-1.adsl.virginmedia.com. [82.26.129.67]) by mx.google.com with ESMTPSA id ey2sm11098871wib.5.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 01 Sep 2013 08:05:38 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Sun, 01 Sep 2013 16:16:45 +0100 From: Peter Harrison Date: Sun, 1 Sep 2013 16:16:45 +0100 To: George Liaskos Subject: Re: Chromium build failure Message-ID: <20130901151645.GA84359@thinkpad.piggybox> References: <20130901101511.GA32996@thinkpad.piggybox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: questions@freebsd.org, Peter Harrison 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 15:05:40 -0000 Sunday, 1 September 2013 at 14:43:24 +0300, George Liaskos said: > 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 version 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=/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,--end-group > > obj/third_party/libvpx/source/libvpx/build/make/libvpx_obj_int_extract.obj_int_extract.o: In function `parse_elf': > > obj_int_extract.c:(.text.parse_elf+0x71a): undefined reference to `__stack_chk_fail_local' > > /usr/local/bin/ld: libvpx_obj_int_extract: hidden symbol `__stack_chk_fail_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 Chromium built fine on this machine. > > Hm, please try the following > > --- a/www/chromium/Makefile > +++ b/www/chromium/Makefile > @@ -18,6 +18,8 @@ COMMENT= Mostly BSD-licensed web browser based > on WebKit and Gtk+ > LICENSE= BSD LGPL21 MPL > LICENSE_COMB= multi > > +CFLAGS+= -fno-stack-protector > + > BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \ > bash:${PORTSDIR}/shells/bash \ > yasm:${PORTSDIR}/devel/yasm \ That sorted it - thanks! Peter.