Comment # 14 on bug 1133294 from
Tried with this patch:

--- xserver-1.20.10/test/Makefile.am.orig       2021-03-02 23:46:49.137916000
+0100
+++ xserver-1.20.10/test/Makefile.am    2021-03-02 23:47:48.691663000 +0100
@@ -3,7 +3,7 @@ SUBDIRS= .
 AM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@
 AM_CPPFLAGS = $(XORG_INCS)

-tests_CPPFLAGS=
+tests_CPPFLAGS= -fno-lto
 CLEANFILES=

 tests_SOURCES = \
@@ -105,6 +105,7 @@ tests_LDFLAGS = \
        -Wl,-wrap,XISetEventMask \
        -Wl,-wrap,AddResource \
        -Wl,-wrap,GrabButton \
+       -fno-lto \
        $()
 endif XORG

but this then resulted in

[...]
[  137s]
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld:
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../lib64/Scrt1.o: in function
`_start':
[  137s]
/home/abuild/rpmbuild/BUILD/glibc-2.33/csu/../sysdeps/x86_64/start.S:104:
undefined reference to `main'
[  137s] collect2: error: ld returned 1 exit status
[  137s] make[3]: *** [Makefile:1056: tests] Error 1
[  137s] make[3]: Leaving directory
'/home/abuild/rpmbuild/BUILD/xserver-1.20.10/test'


You are receiving this mail because: