Skip to content

Instantly share code, notes, and snippets.

@johalun
Created September 12, 2019 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johalun/362e6b1584c6adff8a680a76dd722ea3 to your computer and use it in GitHub Desktop.
Save johalun/362e6b1584c6adff8a680a76dd722ea3 to your computer and use it in GitHub Desktop.
Build results stable/12
johannes@jm:~/dev/freebsd/kms-drm % git status
On branch drm-v5.0-fbsd12.1
Your branch is up to date with 'origin/drm-v5.0-fbsd12.1'.
nothing to commit, working tree clean
johannes@jm:~/dev/freebsd/kms-drm % ./scripts/crossbuild.sh sysdir=/usr/src-stable12/sys
Got sysdir=/usr/src-stable12/sys
Building amd64 SYSDIR=/usr/src-stable12/sys...
Entering world for amd64:amd64
===> linuxkpi (all)
===> ttm (all)
===> drm (all)
===> vboxvideo (all)
===> vmwgfx (all)
===> i915 (all)
===> amd (all)
===> amd/amdgpu (all)
===> radeon (all)
Building i386 SYSDIR=/usr/src-stable12/sys...
Entering world for i386:i386
===> linuxkpi (all)
===> ttm (all)
===> drm (all)
===> vboxvideo (all)
===> vmwgfx (all)
===> i915 (all)
/usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/i915/i915_gem.c:2497:39: error: implicit conversion from 'loff_t' (aka 'unsigned long long') to 'pgoff_t' (aka 'unsigned long') changes value from 18446744073709551615 to 4294967295 [-Werror,-Wconstant-conversion]
invalidate_mapping_pages(mapping, 0, (loff_t)-1);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/src-stable12/sys/compat/linuxkpi/common/include/linux/fs.h:312:34: note: expanded from macro 'invalidate_mapping_pages'
linux_invalidate_mapping_pages(__VA_ARGS__)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~
1 error generated.
--- i915_gem.o ---
*** [i915_gem.o] Error code 1
make[3]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/i915
1 error
make[3]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/i915
--- all_subdir_i915 ---
*** [all_subdir_i915] Error code 2
make[2]: stopped in /usr/home/johannes/dev/freebsd/kms-drm
1 error
make[2]: stopped in /usr/home/johannes/dev/freebsd/kms-drm
*** Error code 2
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
Building powerpc64 SYSDIR=/usr/src-stable12/sys CROSS_TOOLCHAIN=powerpc64-gcc...
Entering world for powerpc64:powerpc
===> linuxkpi (all)
===> ttm (all)
===> drm (all)
===> amd (all)
===> amd/amdgpu (all)
In file included from /usr/home/johannes/dev/freebsd/kms-drm/linuxkpi/gplv2/include/linux/pci.h:10:0,
from /usr/src-stable12/sys/compat/linuxkpi/common/include/linux/interrupt.h:35,
from /usr/home/johannes/dev/freebsd/kms-drm/include/drm/drmP.h:136,
from /usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/amd/amdgpu/si.c:27:
/usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/amd/amdgpu/si.c: In function 'si_fix_pci_max_read_req_size':
/usr/src-stable12/sys/compat/linuxkpi/common/include/linux/pci.h:679:31: error: statement with no effect [-Werror=unused-value]
#define pcie_set_readrq(d, v) 0
^
/usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/amd/amdgpu/si.c:1962:3: note: in expansion of macro 'pcie_set_readrq'
pcie_set_readrq(adev->pdev, 512);
^~~~~~~~~~~~~~~
/usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/amd/amdgpu/si.c: In function 'si_common_hw_init':
/usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/amd/amdgpu/si.c:1884:16: warning: 'lnkcap' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (lnkcap & PCI_EXP_LNKCAP_CLKPM)
/usr/home/johannes/dev/freebsd/kms-drm/drivers/gpu/drm/amd/amdgpu/si.c:1880:9: note: 'lnkcap' was declared here
u32 lnkcap;
^~~~~~
cc1: all warnings being treated as errors
--- si.o ---
*** [si.o] Error code 1
make[4]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/amd/amdgpu
1 error
make[4]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/amd/amdgpu
--- all_subdir_amd/amdgpu ---
*** [all_subdir_amd/amdgpu] Error code 2
make[3]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/amd
1 error
make[3]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/amd
--- all_subdir_amd ---
*** [all_subdir_amd] Error code 2
make[2]: stopped in /usr/home/johannes/dev/freebsd/kms-drm
1 error
make[2]: stopped in /usr/home/johannes/dev/freebsd/kms-drm
*** Error code 2
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
Building aarch64 SYSDIR=/usr/src-stable12/sys...
Entering world for aarch64:arm64
===> linuxkpi (all)
/usr/home/johannes/dev/freebsd/kms-drm/linuxkpi/gplv2/src/linux_page.c:160:10: error: implicit declaration of function 'pmap_change_attr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (pmap_change_attr(addr, numpages, VM_MEMATTR_UNCACHEABLE));
^
/usr/home/johannes/dev/freebsd/kms-drm/linuxkpi/gplv2/src/linux_page.c:160:10: note: did you mean 'pmap_mapdev_attr'?
./machine/pmap.h:154:7: note: 'pmap_mapdev_attr' declared here
void *pmap_mapdev_attr(vm_offset_t pa, vm_size_t size, vm_memattr_t ma);
^
/usr/home/johannes/dev/freebsd/kms-drm/linuxkpi/gplv2/src/linux_page.c:160:10: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
return (pmap_change_attr(addr, numpages, VM_MEMATTR_UNCACHEABLE));
^
/usr/home/johannes/dev/freebsd/kms-drm/linuxkpi/gplv2/src/linux_page.c:175:10: error: implicit declaration of function 'pmap_change_attr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (pmap_change_attr(addr, numpages, VM_MEMATTR_WRITE_COMBINING));
^
/usr/home/johannes/dev/freebsd/kms-drm/linuxkpi/gplv2/src/linux_page.c:190:10: error: implicit declaration of function 'pmap_change_attr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
return (pmap_change_attr(addr, numpages, VM_MEMATTR_WRITE_BACK));
^
4 errors generated.
--- linux_page.o ---
*** [linux_page.o] Error code 1
make[3]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/linuxkpi
1 error
make[3]: stopped in /usr/home/johannes/dev/freebsd/kms-drm/linuxkpi
--- all_subdir_linuxkpi ---
*** [all_subdir_linuxkpi] Error code 2
make[2]: stopped in /usr/home/johannes/dev/freebsd/kms-drm
1 error
make[2]: stopped in /usr/home/johannes/dev/freebsd/kms-drm
*** Error code 2
Stop.
make[1]: stopped in /usr/src
*** Error code 1
Stop.
make: stopped in /usr/src
SUCCESS: amd64
FAIL: i386 powerpc64 aarch64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment