Created attachment 149701 [details] patch Trying to build vte3 to upgrade to gnome3, I'm receiving the following error: GISCAN Vte-2.91.gir CCLD testvte ./.libs/libvte-2.91.so: undefined reference to `__stack_chk_fail_local' linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/usr/ports/x11-toolkits/vte3/work/vte-0.38.0/src/tmp-introspectFWkmPB/Vte-2.91', '-export-dynamic', '-I/usr/local/include', '-O2', '-pipe', '-fno-strict-aliasing', '-march=prescott', '/usr/ports/x11-toolkits/vte3/work/vte-0.38.0/src/tmp-introspectFWkmPB/Vte-2.91.o', '-L.', 'libvte-2.91.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-L/usr/local/lib', '-lglib-2.0', '-lintl']' returned non-zero exit status 1 FreeBSD satanasso.local.net 9.3-STABLE FreeBSD 9.3-STABLE #0 r272192: Sat Sep 27 04:43:06 CEST 2014 root@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386 I've successfully built the port with the attached patch. I'm not sure if it builds on different ARCH and OSVERSION as I can't test right now.
Auto-assigned to maintainer gnome@FreeBSD.org
uname -a FreeBSD mbox 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 22:02:57 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 This patch works for my. Thanks. [...] ===>>> Installation of x11/gnome-terminal (gnome-terminal-3.14.1) complete
Importance: --- Affects Only Me Is an understatement :) Affects Many....
A commit references this bug: Author: kwm Date: Tue Nov 25 20:49:21 UTC 2014 New revision: 373430 URL: https://svnweb.freebsd.org/changeset/ports/373430 Log: Make sure vte doesn't enabled stack-protector on it own on i386 when OSVERSION < 1000036 (taken from bsd.ssp.mk). Else it fails to build with: libvte-2.91.so: undefined reference to `__stack_chk_fail_local'. PR: 195267 Submitted by: bar@ Changes: head/x11-toolkits/vte3/Makefile
A slightly diffrent fix committed, thanks for the report!