[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785491: xserver-xorg-video-siliconmotion FTBFS on arm64, implicit declarations of inb and outb



peter green wrote:
> In file included from ../../src/smi.h:317:0,
>                  from ../../src/smi_501.c:33:
> ../../src/regsmi.h: In function 'VGAIN8_INDEX':
> ../../src/regsmi.h:67:2: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration]
>   outb(pSmi->PIOBase + indexPort, index);
>   ^

I don't think any change in xserver-xorg-video-siliconmotion caused
this.  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

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).

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: