Date: Mon, 11 Feb 2019 08:21:04 -0800 From: Enji Cooper <yaneurabeya@gmail.com> To: sgk@troutmask.apl.washington.edu Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org, freebsd-x11@freebsd.org, kib@FreeBSD.org Subject: Re: drm2 removed? Message-ID: <845D3498-BB7E-4AB1-AF70-FE597EB9CD4F@gmail.com> In-Reply-To: <20190211161205.GB41262@troutmask.apl.washington.edu> References: <20190211161205.GB41262@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Steve, This looks like breakage from unifying PAE and non-PAE kernels in r34356= 7. CCing kib@ for context. Cheers, -Enji > On Feb 11, 2019, at 08:12, Steve Kargl <sgk@troutmask.apl.washington.edu> w= rote: >=20 > Anyone have any idea which recent change broke the > drm-legacy-kmod port. This is why I raised an issue > with removal of drm2 from src/sys. How is suppose > to be fixed? >=20 >=20 > --- ttm_bo_manager.o --- > cc -O2 -pipe -march=3Dcore2 -fno-strict-aliasing -march=3Dcore2 -Werror -= D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/graphics/drm-legacy-kmod/work/= drm-legacy-50ea058/drm2/../src/ -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck= /include -fno-common -MD -MF.depend.ttm_bo_manager.o -MTttm_bo_manager.= o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -W= all -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototy= pes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__f= reebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unkno= wn-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-= parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno= -error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx= -std=3Diso9899:1999 -c /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy= -50ea058/src/dev/drm2/ttm/ttm_bo_manager.c -o ttm_bo_manager.o > --- ttm_bo.o --- > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'NPGPTD' > 1, 0, VM_MAX_ADDRESS, PAGE_SIZE, 0, VM_MEMATTR_UNCACHEABLE); > ^ > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:19: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > ./machine/param.h:96:17: note: expanded from macro 'NBPTD' > #define NBPTD (NPGPTD << PAGE_SHIFT) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'pd_entry_t' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:34: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'NTRPPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:29: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1501:12: error: use of undeclared identifier 'NPGPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:39: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'NPGPTD' > 0, VM_MAX_ADDRESS, PAGE_SIZE, 0)) { > ^ > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:19: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > ./machine/param.h:96:17: note: expanded from macro 'NBPTD' > #define NBPTD (NPGPTD << PAGE_SHIFT) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'pd_entry_t' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:19: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > ./machine/param.h:98:34: note: expanded from macro 'NPDEPTD' > #define NPDEPTD (NBPTD / sizeof(pd_entry_t)) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'NTRPPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:29: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50ea058/src/dev/drm2/t= tm/ttm_bo.c:1505:10: error: use of undeclared identifier 'NPGPTD' > ./machine/vmparam.h:173:31: note: expanded from macro 'VM_MAX_ADDRESS' > #define VM_MAX_ADDRESS VADDR(PTDPTDI, 0) > ^ > ./machine/pmap.h:122:39: note: expanded from macro 'PTDPTDI' > #define PTDPTDI (NPDEPTD - NTRPPTD - NPGPTD) > ^ > 8 errors generated. > *** [ttm_bo.o] Error code 1 >=20 > make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2/drm2 > 1 error >=20 > make[4]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2/drm2 > *** [all_subdir_drm2/drm2] Error code 2 >=20 > make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2 > 1 error >=20 > make[3]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058/drm2 > *** [all_subdir_drm2] Error code 2 >=20 > make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058 > 1 error >=20 > make[2]: stopped in /usr/ports/graphics/drm-legacy-kmod/work/drm-legacy-50= ea058 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure= to > the maintainer. > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/graphics/drm-legacy-kmod > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/graphics/drm-legacy-kmod >=20 > =3D=3D=3D>>> make build failed for graphics/drm-legacy-kmod > =3D=3D=3D>>> Aborting update >=20 >=20 > =3D=3D=3D>>> You can restart from the point of failure with this command l= ine: > portmaster <flags> graphics/drm-legacy-kmod=20 >=20 > This command has been saved to /tmp/portmasterfail.txt >=20 > --=20 > Steve > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?845D3498-BB7E-4AB1-AF70-FE597EB9CD4F>