Re: [Mesa-dev] [PATCH] egl/wayland: Fix linking libEGL_common.la

2017-07-23 Thread Mike Lothian
If I try and compile mesa with clang (even using ld.bfd) I get these errors: libtool: link: clang++ -m32 -fvisibility=hidden -Werror=pointer-arith -Werror=vla -O2 -march=native -pipe -Wall -fno-math-errno -fno-trapping-math -Qunused-arguments -O2 -march=native -pipe -fuse-ld=bfd -o glsl_compiler g

Re: [Mesa-dev] [PATCH] egl/wayland: Fix linking libEGL_common.la

2017-07-23 Thread Mike Lothian
This is only an issue when using ld.gold, ld.bfd works fine which is probably why no one else has seen it. It only started being a problem when the dmabuff stuff landed and the makefiles were cleaned up I tried playing around with the dummy.cpp but I couldn't get it to trigger the c++ compiler On

Re: [Mesa-dev] [PATCH] egl/wayland: Fix linking libEGL_common.la

2017-07-21 Thread Emil Velikov
On 20 July 2017 at 21:25, Mike Lothian wrote: > Because libmesautil.la includes string_to_uint_map.o, -lstdc++ is > required for linking to succeed > It's a bit suspicious why not many others are seeing this issue. Suspecting the GCC version/build flags has something to do here. > Bugzilla: https

Re: [Mesa-dev] [PATCH] egl/wayland: Fix linking libEGL_common.la

2017-07-20 Thread Matt Turner
On Thu, Jul 20, 2017 at 1:25 PM, Mike Lothian wrote: > Because libmesautil.la includes string_to_uint_map.o, -lstdc++ is > required for linking to succeed > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101851 > > Signed-off-by: Mike Lothian > --- > src/egl/Makefile.am | 2 +- > 1 fil

[Mesa-dev] [PATCH] egl/wayland: Fix linking libEGL_common.la

2017-07-20 Thread Mike Lothian
Because libmesautil.la includes string_to_uint_map.o, -lstdc++ is required for linking to succeed Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101851 Signed-off-by: Mike Lothian --- src/egl/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/egl/Makefil