[Mesa-dev] [PATCH v2] automake: don't enable -Wl, --no-undefined on OpenBSD

Julien Cristau jcristau at debian.org
Mon May 12 17:06:32 PDT 2014


On Thu, Apr  3, 2014 at 15:46:01 +1100, Jonathan Gray wrote:

> OpenBSD does not have DT_NEEDED entries for libc by design,
> over concerns how the symbols would be referenced after
> changing the major version of the library.
> 
> So avoid -no-undefined checks on OpenBSD as they will fail.
> 
> v2: don't include the -no-undefined libtool option in the variable
>     and change -Wl,--no-undefined references in Automake.inc as well.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76856
> Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
> ---
>  configure.ac                                | 13 +++++++++++++
>  src/egl/main/Makefile.am                    |  2 +-
>  src/egl/wayland/wayland-egl/Makefile.am     |  2 +-
>  src/gallium/Automake.inc                    |  6 +++---
>  src/gallium/targets/egl-static/Makefile.am  |  2 +-
>  src/gallium/targets/gbm/Makefile.am         |  2 +-
>  src/gallium/targets/libgl-xlib/Makefile.am  |  2 +-
>  src/gallium/targets/opencl/Makefile.am      |  2 +-
>  src/gallium/targets/osmesa/Makefile.am      |  2 +-
>  src/gallium/targets/pipe-loader/Makefile.am |  2 +-
>  src/gallium/targets/xa/Makefile.am          |  2 +-
>  src/gbm/Makefile.am                         |  2 +-
>  src/glx/Makefile.am                         |  2 +-
>  src/mapi/es1api/Makefile.am                 |  2 +-
>  src/mapi/es2api/Makefile.am                 |  2 +-
>  src/mapi/shared-glapi/Makefile.am           |  2 +-
>  src/mapi/vgapi/Makefile.am                  |  2 +-
>  src/mesa/drivers/osmesa/Makefile.am         |  2 +-
>  src/mesa/drivers/x11/Makefile.am            |  2 +-
>  19 files changed, 33 insertions(+), 20 deletions(-)
> 
Hi,

it looks like the committed version of this change doesn't include the
configure.ac hunk.  That makes it rather less useful.  Did it get lost
somehow?

http://cgit.freedesktop.org/mesa/mesa/commit?id=11623be934f8573910484de2a5fb50c95f0a1d44

Cheers,
Julien


More information about the mesa-dev mailing list