Commit Graph

11 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
5f7ec4d460 Merge Mesa 22.3.7 2023-04-06 10:23:42 +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
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
d2e038dc42 put .a files in a linker group to avoid an undefined reference
to loader_dri_create_image with ld.bfd from binutils 2.17

reported and tested by visa@
2022-02-25 22:12:32 +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
3b974c2ba8 update Makefiles and generated files for Mesa 21.1.5 2021-07-22 11:10:08 +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