On 17/05/15 02:23, Steven Chamberlain wrote:
I don't think any change in xserver-xorg-video-siliconmotion caused
this.
I agree (and stated so in my original mail), the failure first appeared
in a binnmu so whatever change triggered it was outside the
xserver-xorg-video-siliconmotion package.
Please could you compare output of:
$ gcc -I/usr/include/pixman-1 -E
xorg-server-1.16.4/hw/xfree86/common/compiler.h> a.txt
$ gcc -I/usr/include/pixman-1 -E
xorg-server-1.17.1/hw/xfree86/common/compiler.h> b.txt
on AArch64, with the sources from jessie and sid:
http://httpredir.debian.org/debian/pool/main/x/xorg-server/xorg-server_1.16.4-1.dsc
http://httpredir.debian.org/debian/pool/main/x/xorg-server/xorg-server_1.17.1-2.dsc
Testing in my (far from up to date) sid arm64 qemu chroot I get the
attatched diff.
There were changes in that header for arch-specific handling of outb()
and friends. This could be a regression; or possibly wrong definitions
were used before (allowing it to build when it should not have).
It looks like stub definitions (writes ignored, reads return 0) were
removed.
--- a.txt 2015-05-17 01:53:56.000000000 +0000
+++ b.txt 2015-05-17 01:54:02.000000000 +0000
@@ -1,12 +1,12 @@
-# 1 "xorg-server-1.16.4/hw/xfree86/common/compiler.h"
+# 1 "xorg-server-1.17.1/hw/xfree86/common/compiler.h"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
-# 1 "xorg-server-1.16.4/hw/xfree86/common/compiler.h"
-# 73 "xorg-server-1.16.4/hw/xfree86/common/compiler.h"
+# 1 "xorg-server-1.17.1/hw/xfree86/common/compiler.h"
+# 73 "xorg-server-1.17.1/hw/xfree86/common/compiler.h"
# 1 "/usr/include/X11/Xfuncproto.h" 1 3 4
-# 74 "xorg-server-1.16.4/hw/xfree86/common/compiler.h" 2
+# 74 "xorg-server-1.17.1/hw/xfree86/common/compiler.h" 2
# 1 "/usr/include/pixman-1/pixman.h" 1
@@ -1009,99 +1009,4 @@
const pixman_triangle_t *tris);
-# 77 "xorg-server-1.16.4/hw/xfree86/common/compiler.h" 2
-# 248 "xorg-server-1.16.4/hw/xfree86/common/compiler.h"
-struct __una_u64 {
- uint64_t x __attribute__ ((packed));
-};
-struct __una_u32 {
- uint32_t x __attribute__ ((packed));
-};
-struct __una_u16 {
- uint16_t x __attribute__ ((packed));
-};
-
-
-
-static __inline__ uint64_t
-ldq_u(uint64_t * p)
-{
- const struct __una_u64 *ptr = (const struct __una_u64 *) p;
-
- return ptr->x;
-}
-
-static __inline__ uint32_t
-ldl_u(uint32_t * p)
-{
- const struct __una_u32 *ptr = (const struct __una_u32 *) p;
-
- return ptr->x;
-}
-
-static __inline__ uint16_t
-ldw_u(uint16_t * p)
-{
- const struct __una_u16 *ptr = (const struct __una_u16 *) p;
-
- return ptr->x;
-}
-
-
-
-static __inline__ void
-stq_u(uint64_t val, uint64_t * p)
-{
- struct __una_u64 *ptr = (struct __una_u64 *) p;
-
- ptr->x = val;
-}
-
-static __inline__ void
-stl_u(uint32_t val, uint32_t * p)
-{
- struct __una_u32 *ptr = (struct __una_u32 *) p;
-
- ptr->x = val;
-}
-
-static __inline__ void
-stw_u(uint16_t val, uint16_t * p)
-{
- struct __una_u16 *ptr = (struct __una_u16 *) p;
-
- ptr->x = val;
-}
-# 1462 "xorg-server-1.16.4/hw/xfree86/common/compiler.h"
-static __inline__ void
-outb(unsigned short port, unsigned char val)
-{
-}
-
-static __inline__ void
-outw(unsigned short port, unsigned short val)
-{
-}
-
-static __inline__ void
-outl(unsigned short port, unsigned int val)
-{
-}
-
-static __inline__ unsigned int
-inb(unsigned short port)
-{
- return 0;
-}
-
-static __inline__ unsigned int
-inw(unsigned short port)
-{
- return 0;
-}
-
-static __inline__ unsigned int
-inl(unsigned short port)
-{
- return 0;
-}
+# 77 "xorg-server-1.17.1/hw/xfree86/common/compiler.h" 2