>>> xdriver_xf86-video-sis 0.12.0 Downloading --2020-03-21 01:49:48-- http://xorg.freedesktop.org/releases/individual/driver/xf86-video-sis-0.12.0.tar.bz2 Resolving xorg.freedesktop.org (xorg.freedesktop.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to xorg.freedesktop.org (xorg.freedesktop.org)|2610:10:20:722:a800:ff:feda:470f|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.x.org/releases/individual/driver/xf86-video-sis-0.12.0.tar.bz2 [following] --2020-03-21 01:49:48-- https://www.x.org/releases/individual/driver/xf86-video-sis-0.12.0.tar.bz2 Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving www.x.org (www.x.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to www.x.org (www.x.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 741069 (724K) [application/x-bzip2] Saving to: '/data/buildroot/buildroot-test/instance-0/output/build/.xf86-video-sis-0.12.0.tar.bz2.Elfci3/output' 0K .......... .......... .......... .......... .......... 6% 786K 1s 50K .......... .......... .......... .......... .......... 13% 1.56M 1s 100K .......... .......... .......... .......... .......... 20% 82.3M 0s 150K .......... .......... .......... .......... .......... 27% 59.4M 0s 200K .......... .......... .......... .......... .......... 34% 1.60M 0s 250K .......... .......... .......... .......... .......... 41% 84.4M 0s 300K .......... .......... .......... .......... .......... 48% 84.6M 0s 350K .......... .......... .......... .......... .......... 55% 115M 0s 400K .......... .......... .......... .......... .......... 62% 1.66M 0s 450K .......... .......... .......... .......... .......... 69% 59.0M 0s 500K .......... .......... .......... .......... .......... 75% 92.1M 0s 550K .......... .......... .......... .......... .......... 82% 107M 0s 600K .......... .......... .......... .......... .......... 89% 102M 0s 650K .......... .......... .......... .......... .......... 96% 112M 0s 700K .......... .......... ... 100% 107M=0.2s 2020-03-21 01:49:48 (4.39 MB/s) - '/data/buildroot/buildroot-test/instance-0/output/build/.xf86-video-sis-0.12.0.tar.bz2.Elfci3/output' saved [741069/741069] xf86-video-sis-0.12.0.tar.bz2: OK (md5: b8ec9c21758043b1480f11baec296f5d) xf86-video-sis-0.12.0.tar.bz2: OK (sha1: d22f0d0081e222a62f9e788f5e73246c6d339f80) xf86-video-sis-0.12.0.tar.bz2: OK (sha256: 119d3f17d53c862ec4bf891ed696a6f1d32cdf8bd11d944a9f0ad24625333a5b) xf86-video-sis-0.12.0.tar.bz2: OK (sha512: 5aa101e5217f15667f2c94f7a76f4afcf47717b61f5d206ce65efe35dc3f674ca294f98ca8586971c6467f31decdd94d8255ebfc7dc220fac0179afc61995952) >>> xdriver_xf86-video-sis 0.12.0 Extracting bzcat /data/buildroot/buildroot-test/instance-0/dl/xdriver_xf86-video-sis/xf86-video-sis-0.12.0.tar.bz2 | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0 -xf - >>> xdriver_xf86-video-sis 0.12.0 Patching >>> xdriver_xf86-video-sis 0.12.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xdriver_xf86-video-sis 0.12.0 Patching libtool patching file /data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8146 (offset 34 lines). Hunk #8 succeeded at 10778 (offset 68 lines). >>> xdriver_xf86-video-sis 0.12.0 Configuring (cd /data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0/ && rm -rf config.cache && PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ar" AS="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-as" LD="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ld" NM="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-nm" CC="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc" GCC="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc" CPP="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-cpp" CXX="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-g++" FC="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gfortran" F77="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gfortran" RANLIB="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ranlib" READELF="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-readelf" STRIP="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-strip" OBJCOPY="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-objcopy" OBJDUMP="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/data/buildroot/buildroot-test/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-as" DEFAULT_LINKER="/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" STAGING_DIR="/data/buildroot/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-gnu --host=riscv64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv64-buildroot-linux-gnu-strip... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for riscv64-buildroot-linux-gnu-gcc... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc accepts -g... yes checking for /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc option to accept ISO C89... none needed checking whether /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc understands -c and -o together... yes checking dependency style of /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc... none checking for /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=unknown-warning-option... no checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=unused-command-line-argument... no checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wall... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wpointer-arith... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wmissing-declarations... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wformat=2... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wstrict-prototypes... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wmissing-prototypes... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wnested-externs... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wbad-function-cast... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wold-style-definition... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wdeclaration-after-statement... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wunused... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wuninitialized... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wshadow... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wmissing-noreturn... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wmissing-format-attribute... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wredundant-decls... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Wlogical-op... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=implicit... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=nonnull... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=init-self... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=main... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=missing-braces... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=sequence-point... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=return-type... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=trigraphs... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=array-bounds... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=write-strings... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=address... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -pedantic... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ld checking if the linker (/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-nm checking the name lister (/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ld option to reload object files... -r checking for riscv64-buildroot-linux-gnu-objdump... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-gnu-ar... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-gnu-strip... (cached) /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-strip checking for riscv64-buildroot-linux-gnu-ranlib... /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ranlib checking command to parse /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-nm output from /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-buildroot-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc option to produce PIC... -fPIC -DPIC checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc static flag -static works... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -c -o file.o... yes checking if /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc supports -c -o file.o... (cached) yes checking whether the /data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-gcc linker (/data/buildroot/buildroot-test/instance-0/output/host/bin/riscv64-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if XINERAMA is defined... yes checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for XORG... yes checking for XEXT... yes checking whether to include DRI support... yes checking for DRI... yes checking xaa.h usability... no checking xaa.h presence... no checking for xaa.h... no checking whether to include XAA support... no checking whether XSERVER_LIBPCIACCESS is declared... yes checking for PCIACCESS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls >>> xdriver_xf86-video-sis 0.12.0 Building PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 -C /data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0/ make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0' /usr/bin/make all-recursive make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0' Making all in src make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0/src' CC init.lo CC init301.lo CC initextx.lo CC sis300_accel.lo CC sis310_accel.lo CC sis6326_video.lo CC sis_accel.lo CC sis_dac.lo CC sis_cursor.lo CC sis_dga.lo CC sis_driver.lo CC sis_memcpy.lo In file included from sis_cursor.c:50: sis_cursor.c: In function 'SiSHideCursor': sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_cursor.c:107:13: note: in expansion of macro 'inSISREG' sridx = inSISREG(SISSR); cridx = inSISREG(SISCR); ^~~~~~~~ sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:129:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_cursor.c:113:5: note: in expansion of macro 'andSISIDXREG' andSISIDXREG(SISSR, 0x06, 0xBF); ^~~~~~~~~~~~ In file included from sis_dac.c:80: sis_dac.c: In function 'SiSSave': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:108:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_dac.c:400:8: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, i, sisReg->sisRegs3C4[i]); ^~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_regs.h:109:15: note: in expansion of macro 'inSISREG' var = inSISREG((base)+1); \ ^~~~~~~~ sis_dac.c:400:8: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, i, sisReg->sisRegs3C4[i]); ^~~~~~~~~~~ initextx.c: In function 'SiSBuildBuiltInModeList': initextx.c:255:22: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(current->name, "%hu%hu", pSiS->SiS_Pr->SiS_RefIndex[i].XRes, ~~~~~~~^~~~~~ In file included from sis.h:36, from initextx.h:38, from initextx.c:36: /data/buildroot/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'const char *' extern int sprintf (char *__restrict __s, ~~~~~~~~~~~~~~~~~^~~ initextx.c:405:19: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strcpy(current->name, SiS_PlasmaMode[l].name); ~~~~~~~^~~~~~ In file included from sis.h:37, from initextx.h:38, from initextx.c:36: /data/buildroot/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'const char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ initextx.c:488:21: warning: passing argument 1 of 'sprintf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] sprintf(current->name, "%dx%d", pSiS->SiS_Pr->CP_HDisplay[i], ~~~~~~~^~~~~~ In file included from sis.h:36, from initextx.h:38, from initextx.c:36: /data/buildroot/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:334:38: note: expected 'char * restrict' but argument is of type 'const char *' extern int sprintf (char *__restrict __s, ~~~~~~~~~~~~~~~~~^~~ CC sis_opt.lo In file included from sis6326_video.c:52: sis6326_video.c: In function 'getvideoreg': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:108:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis6326_video.c:121:5: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISCR, reg, ret); ^~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_regs.h:109:15: note: in expansion of macro 'inSISREG' var = inSISREG((base)+1); \ ^~~~~~~~ sis6326_video.c:121:5: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISCR, reg, ret); ^~~~~~~~~~~ In file included from init.h:65, from init.c:61: init.c: In function 'SiS_SetReg': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ osdef.h:132:26: note: in expansion of macro 'outSISREG' #define OutPortByte(p,v) outSISREG((unsigned long)(p),(CARD8)(v)) ^~~~~~~~~ init.c:882:4: note: in expansion of macro 'OutPortByte' OutPortByte(port, index); ^~~~~~~~~~~ init.c: In function 'SiS_SetRegShort': sis_regs.h:91:33: warning: implicit declaration of function 'outw'; did you mean 'putw'? [-Wimplicit-function-declaration] #define outSISREGW(base,val) outw(base,val) ^~~~ osdef.h:133:26: note: in expansion of macro 'outSISREGW' #define OutPortWord(p,v) outSISREGW((unsigned long)(p),(CARD16)(v)) ^~~~~~~~~~ init.c:895:4: note: in expansion of macro 'OutPortWord' OutPortWord(port, data); ^~~~~~~~~~~ init.c: In function 'SiS_SetRegLong': sis_regs.h:92:33: warning: implicit declaration of function 'outl'; did you mean 'ioctl'? [-Wimplicit-function-declaration] #define outSISREGL(base,val) outl(base,val) ^~~~ osdef.h:134:26: note: in expansion of macro 'outSISREGL' #define OutPortLong(p,v) outSISREGL((unsigned long)(p),(CARD32)(v)) ^~~~~~~~~~ init.c:901:4: note: in expansion of macro 'OutPortLong' OutPortLong(port, data); ^~~~~~~~~~~ init.c: In function 'SiS_GetReg': sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ osdef.h:135:26: note: in expansion of macro 'inSISREG' #define InPortByte(p) inSISREG((unsigned long)(p)) ^~~~~~~~ init.c:908:11: note: in expansion of macro 'InPortByte' return(InPortByte(port + 1)); ^~~~~~~~~~ init.c: In function 'SiS_GetRegShort': sis_regs.h:87:33: warning: implicit declaration of function 'inw'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREGW(base) inw(base) ^~~ osdef.h:136:26: note: in expansion of macro 'inSISREGW' #define InPortWord(p) inSISREGW((unsigned long)(p)) ^~~~~~~~~ init.c:920:11: note: in expansion of macro 'InPortWord' return(InPortWord(port)); ^~~~~~~~~~ init.c: In function 'SiS_GetRegLong': sis_regs.h:88:33: warning: implicit declaration of function 'inl'; did you mean 'ynl'? [-Wimplicit-function-declaration] #define inSISREGL(base) inl(base) ^~~ osdef.h:137:26: note: in expansion of macro 'inSISREGL' #define InPortLong(p) inSISREGL((unsigned long)(p)) ^~~~~~~~~ init.c:926:11: note: in expansion of macro 'InPortLong' return(InPortLong(port)); ^~~~~~~~~~ CC sis_setup.lo CC sis_shadow.lo In file included from sis_driver.c:71: sis_driver.c: In function 'SISPreInit': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:108:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_driver.c:3590:8: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, 0x3d, tempreg); ^~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_regs.h:109:15: note: in expansion of macro 'inSISREG' var = inSISREG((base)+1); \ ^~~~~~~~ sis_driver.c:3590:8: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, 0x3d, tempreg); ^~~~~~~~~~~ sis_driver.c:6094:18: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] strcpy(newm->name, tempm->name); ~~~~^~~~~~ In file included from sis.h:37, from sis_driver.c:50: /data/buildroot/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:121:14: note: expected 'char * restrict' but argument is of type 'const char *' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ CC sis_utility.lo In file included from sis_setup.c:45: sis_setup.c: In function 'sisOldSetup': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:108:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_setup.c:251:2: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, 0x0F, temp); ^~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_regs.h:109:15: note: in expansion of macro 'inSISREG' var = inSISREG((base)+1); \ ^~~~~~~~ sis_setup.c:251:2: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, 0x0F, temp); ^~~~~~~~~~~ CC sis_vb.lo CC sis_vga.lo CC sis_video.lo CC sis_dri.lo In file included from sis_vb.c:43: sis_vb.c: In function 'SiS_SISDetectCRT1': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:108:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_vb.c:155:5: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR,0x1F,SR1F); ^~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_regs.h:109:15: note: in expansion of macro 'inSISREG' var = inSISREG((base)+1); \ ^~~~~~~~ sis_vb.c:155:5: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR,0x1F,SR1F); ^~~~~~~~~~~ In file included from sis_vga.c:48: sis_vga.c: In function 'SISInit': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:114:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_vga.c:232:5: note: in expansion of macro 'outSISIDXREG' outSISIDXREG(SISSR, 0x05, 0x86); ^~~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_vga.c:442:27: note: in expansion of macro 'inSISREG' pReg->sisRegs3C2 = inSISREG(SISMISCR) | 0x0C; ^~~~~~~~ In file included from sis_video.c:116: sis_video.c: In function 'getsrreg': sis_regs.h:90:33: warning: implicit declaration of function 'outb'; did you mean 'puts'? [-Wimplicit-function-declaration] #define outSISREG(base,val) outb(base,val) ^~~~ sis_regs.h:108:23: note: in expansion of macro 'outSISREG' outSISREG(base, idx); \ ^~~~~~~~~ sis_video.c:143:5: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, reg, ret); ^~~~~~~~~~~ sis_regs.h:86:33: warning: implicit declaration of function 'inb'; did you mean 'link'? [-Wimplicit-function-declaration] #define inSISREG(base) inb(base) ^~~ sis_regs.h:109:15: note: in expansion of macro 'inSISREG' var = inSISREG((base)+1); \ ^~~~~~~~ sis_video.c:143:5: note: in expansion of macro 'inSISIDXREG' inSISIDXREG(SISSR, reg, ret); ^~~~~~~~~~~ sis_dri.c:52:12: fatal error: xf86drmCompat.h: No such file or directory # include "xf86drmCompat.h" ^~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:525: sis_dri.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0/src' make[2]: *** [Makefile:444: all-recursive] Error 1 make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0' make[1]: *** [Makefile:376: all] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0' make: *** [package/pkg-generic.mk:269: /data/buildroot/buildroot-test/instance-0/output/build/xdriver_xf86-video-sis-0.12.0/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'