Date: Thu, 25 Feb 2010 15:57:39 GMT From: Rob Farmer <rfarmer@predatorlabs.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144287: [PATCH] graphics/libGL and friends: Fix build with new GCC Message-ID: <201002251557.o1PFvdj5046660@www.freebsd.org> Resent-Message-ID: <201002251600.o1PG09CN005784@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144287 >Category: ports >Synopsis: [PATCH] graphics/libGL and friends: Fix build with new GCC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Feb 25 16:00:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rob Farmer >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD coretwo.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r204251: Tue Feb 23 10:02:56 PST 2010 root@coretwo.predatorlabs.net:/usr/obj/usr/src/sys/CORETWO amd64 >Description: Fix the build with GCC 4.4 on AMD64 for ports that use bsd.mesalib.mk by adding -Wl,-Bsymbolic to the LDFLAGS >How-To-Repeat: >Fix: Patch attached with submission follows: Index: bsd.mesalib.mk =================================================================== RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v retrieving revision 1.16 diff -u -r1.16 bsd.mesalib.mk --- bsd.mesalib.mk 7 Feb 2010 11:51:05 -0000 1.16 +++ bsd.mesalib.mk 25 Feb 2010 15:52:19 -0000 @@ -43,7 +43,7 @@ MAKE_JOBS_SAFE= yes CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \ - LDFLAGS=-L${LOCALBASE}/lib + LDFLAGS="-L${LOCALBASE}/lib -Wl,-Bsymbolic" CONFIGURE_ARGS= --disable-gallium ALL_TARGET= default >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002251557.o1PFvdj5046660>