[Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 5 16:59:51 UTC 2018


[Trimming down the CC list]

Hi Mike,

On 4 March 2018 at 00:20, Mike Lothian <mike at fireburn.co.uk> wrote:
> Hi
>
> Sorry to be a pain again
>
> I've just tested this with clang and the 32bit build still fails without
> -latomic
>
> libtool: link: /bin/true glsl/.libs/libstandalone.a
Eric has a point here - the patch brings meson up-to scratch, while
you're having some issues with autotools.

The link issue is in libstandalone, which pulls libmesautil/disk_cache.o
Yet libmesautil already has LIBATOMIC_LIBS (-latomic) so why things
fail is a bit fishy.

Can you isolate any funky LTO interactions?

If that doesn't cut it - please open a bug attaching the output of
make V=1. In particular the src/util and src/compiler bits.

Thanks
Emil


More information about the mesa-dev mailing list