Sunday,  1 September 2013 at 14:43:24 +0300, George Liaskos said:
> On Sun, Sep 1, 2013 at 1:15 PM, Peter Harrison
> <four.harris...@googlemail.com> 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     
> > r...@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.


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to