This problem happen when gcc is compiled with LTO support (even 
if is not used). Also in some manpage (I do not remember) is 
written that it depends on order of arguments for compiler/linker

Btw, you can add my Signed-off-by to commit message.

On Friday 08 August 2014 19:58:07 Ilia Mirkin wrote:
> The problem is that AC_CHECK_FUNCS would stick the LDFLAGS
> before the conftest.c arg while AC_CHECK_LIB sticks the -ldl
> after conftest.c. This apparently matters with newer gcc's.
> There's probably some correct autoconf way of dealing with
> it, but... this works :)
> 
> On Fri, Aug 8, 2014 at 1:55 PM, Matt Turner 
<matts...@gmail.com> wrote:
> > No idea why this was a problem, but the new code matches the
> > existing dlopen check.
> > 
> > Reviewed-by: Matt Turner <matts...@gmail.com>
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev@lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to