Commit Graph

12 Commits

Author SHA1 Message Date
jsg
9a42033959 stop building profile libs to save some space 2025-06-06 09:04:08 +00:00
jsg
452696b8cb Merge Mesa 25.0.7 2025-06-05 14:17:56 +00:00
jsg
1580297f05 link libgbm with xrandr-xcb
fixes graphics/clutter/cogl build failure reported by tb@
2023-11-03 00:58:54 +00:00
jsg
70e55f99c0 build libmesa_util_sse41 on all archs
swrast_dri.so had an undefined reference to util_streaming_load_memcpy
on non-x86 archs.

Part of streaming-load-memcpy.c / libmesa_util_sse41.
When USE_SSE41 is not defined, memcpy() is used.

problem noticed at runtime on arm64 by mlarkin@
with and ok tb@
2023-03-03 06:32:18 +00:00
jsg
d559c33fb8 link against libpthread where libmesa_util_c11 is used
OpenBSD doesn't have c11 threads.h functions.  Instead Mesa's
replacements are used.

fixes build of graphics/piglit reported by naddy@
2023-01-31 03:29:36 +00:00
jsg
286474af33 only link libmesa_util_sse41 when WITH_SSE41=yes
from deraadt@
2023-01-29 12:20:31 +00:00
jsg
b5d82fed48 Merge Mesa 22.3.4 2023-01-28 08:56:19 +00:00
jsg
e29638c5c2 build u_printf.cpp with -ffunction-sections -fdata-sections and
link libmesa_util.a users with --gc-sections

avoids unwanted external references in shared libraries:
_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm
_ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv
_ZdlPv
_Znwm
__gxx_personality_v0

follows what the meson build does

problem reported by sthen@ when building sd2-ttf on i386
2022-02-25 06:23:08 +00:00
jsg
75c717308a Merge Mesa 21.3.7 2022-02-24 02:29:36 +00:00
jsg
e8254d1b08 Avoid problems with undefined symbols on ld.bfd archs caused by order of
.a files.

problem reported by jca@ on sparc64 with ports which link libgbm
ok jca@
2020-09-03 11:29:42 +00:00
jsg
0167b90cd0 explicitly remove *.la files from old Mesa builds
While we no longer install .la files for Mesa naddy@ pointed out that
using libtool to build something like libGLU could result in .la files
which reference old Mesa .la files.

Remove Mesa .la files found in DESTDIR on install as suggested by
millert@

ok millert@ matthieu@ deraadt@
2020-08-28 16:07:18 +00:00
jsg
6cd42bcb24 Merge Mesa 20.1.6 2020-08-26 06:02:31 +00:00