ports/147646: [PATCH] graphics/libGL: fix linking with newer gcc and binutils

Dimitry Andric dim at FreeBSD.org
Thu Nov 18 23:40:12 UTC 2010


The following reply was made to PR ports/147646; it has been noted by GNATS.

From: Dimitry Andric <dim at FreeBSD.org>
To: bug-followup at FreeBSD.org, avg at icyb.net.ua
Cc:  
Subject: Re: ports/147646: [PATCH] graphics/libGL: fix linking with newer
 gcc and binutils
Date: Fri, 19 Nov 2010 00:39:56 +0100

 This is probably a better fix, since adding -Bsymbolic to *all* linker
 invocations is, ahem, just a little bit overkill:
 
 http://cgit.freedesktop.org/mesa/mesa/patch/?id=cb09d1ef60dae3b3c44f1370fd2f726c7044bc17
 
 They're simply using the incorrect relocation type in their hand-written
 assembly stubs...
 
 But how to get this patch into all ports that use the Mesa tarball?
 Some hack in graphics/libGL/bsd.mesalib.mk perhaps?


More information about the freebsd-x11 mailing list